<commit_before>package gigaherz.enderthing.blocks;

import com.mojang.blaze3d.matrix.MatrixStack;
import gigaherz.enderthing.KeyUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.Vector3f;
import net.minecraft.client.renderer.model.ItemCameraTransforms;
import net.minecraft.client.renderer.model.Material;
import net.minecraft.client.renderer.tileentity.ChestTileEntityRenderer;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.item.ItemStack;
import net.minecraft.state.properties.ChestType;

import static net.minecraft.client.renderer.Atlases.ENDER_CHEST_MATERIAL;


public class EnderKeyChestRenderer extends ChestTileEntityRenderer<EnderKeyChestTileEntity>
{
    public static EnderKeyChestRenderer INSTANCE = null;

    public EnderKeyChestRenderer(TileEntityRendererDispatcher dispatcher)
    {
        super(dispatcher);
        INSTANCE = this;
    }

    public void renderFromItem(ItemStack stack, EnderKeyChestTileEntity te, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
    {
        Minecraft minecraft = Minecraft.getInstance();
        ItemStack lock = KeyUtils.getLock(KeyUtils.getKey(stack), KeyUtils.isPrivate(stack), KeyUtils.getBound(stack));
        renderInternal(te, minecraft.getRenderPartialTicks(), matrixStackIn, bufferIn, combinedLightIn, combinedOverlayIn, 0, lock);
    }

    @Override
    public void render(EnderKeyChestTileEntity te, float partialTicks,<commit_msg>Small tweak.<commit_after>package gigaherz.enderthing.blocks;

import com.mojang.blaze3d.matrix.MatrixStack;
import gigaherz.enderthing.KeyUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.Vector3f;
import net.minecraft.client.renderer.model.ItemCameraTransforms;
import net.minecraft.client.renderer.model.Material;
import net.minecraft.client.renderer.tileentity.ChestTileEntityRenderer;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.item.ItemStack;
import net.minecraft.state.properties.ChestType;

import static net.minecraft.client.renderer.Atlases.ENDER_CHEST_MATERIAL;


public class EnderKeyChestRenderer extends ChestTileEntityRenderer<EnderKeyChestTileEntity>
{
    public static EnderKeyChestRenderer INSTANCE = null;

    public EnderKeyChestRenderer(TileEntityRendererDispatcher dispatcher)
    {
        super(dispatcher);
        INSTANCE = this;
    }

    public void renderFromItem(ItemStack stack, EnderKeyChestTileEntity te, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
    {
        ItemStack lock = KeyUtils.getLock(KeyUtils.getKey(stack), KeyUtils.isPrivate(stack), KeyUtils.getBound(stack));
        renderInternal(te, 0, matrixStackIn, bufferIn, combinedLightIn, combinedOverlayIn, 0, lock);
    }

    @Override
    public void render(EnderKeyChestTileEntity te, float partialTicks,
{'fraction_non_alphanumeric': 0.08042635658914729, 'fraction_numerical': 0.0022609819121447027, 'mean_word_length': 5.959550561797752, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5217914', 'n_tokens_mistral': 897, 'n_tokens_neox': 911, 'n_words': 157}