/* * Decompiled with CFR 0.152. */ package net.minecraft.client.renderer.entity; import net.minecraft.client.model.EndermiteModel; import net.minecraft.client.model.geom.ModelLayers; import net.minecraft.client.renderer.entity.EntityRendererProvider; import net.minecraft.client.renderer.entity.MobRenderer; import net.minecraft.client.renderer.entity.state.LivingEntityRenderState; import net.minecraft.resources.Identifier; import net.minecraft.world.entity.monster.Endermite; public class EndermiteRenderer extends MobRenderer { private static final Identifier ENDERMITE_LOCATION = Identifier.withDefaultNamespace("textures/entity/endermite.png"); public EndermiteRenderer(EntityRendererProvider.Context context) { super(context, new EndermiteModel(context.bakeLayer(ModelLayers.ENDERMITE)), 0.3f); } @Override protected float getFlipDegrees() { return 180.0f; } @Override public Identifier getTextureLocation(LivingEntityRenderState state) { return ENDERMITE_LOCATION; } @Override public LivingEntityRenderState createRenderState() { return new LivingEntityRenderState(); } }