public class SlimeRenderer extends MobRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
SLIME_TEXTURES |
entityModel, layerRenderers
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
SlimeRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getEntityTexture(SlimeEntity entity) |
protected void |
preRenderCallback(SlimeEntity entitylivingbaseIn,
MatrixStack matrixStackIn,
float partialTickTime) |
void |
render(SlimeEntity entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
addVertexPair, canRenderName, renderSide, shouldRender
addLayer, applyRotations, func_230042_a_, getDeathMaxRotation, getEntityModel, getOverlayProgress, getPackedOverlay, getSwingProgress, handleRotationFloat, isVisible
getBlockLight, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName
private static final ResourceLocation SLIME_TEXTURES
public SlimeRenderer(EntityRendererManager renderManagerIn)
public void render(SlimeEntity entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class MobRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
protected void preRenderCallback(SlimeEntity entitylivingbaseIn, MatrixStack matrixStackIn, float partialTickTime)
preRenderCallback
in class LivingRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
public ResourceLocation getEntityTexture(SlimeEntity entity)
getEntityTexture
in interface IEntityRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
getEntityTexture
in class EntityRenderer<SlimeEntity>