Class SlimeRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
-
- net.minecraft.client.renderer.entity.SlimeRenderer
-
- All Implemented Interfaces:
IEntityRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
public class SlimeRenderer extends MobRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
SLIME_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description SlimeRenderer(EntityRendererManager p_i47193_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(SlimeEntity p_110775_1_)
void
render(SlimeEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
protected void
scale(SlimeEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
SLIME_LOCATION
private static final ResourceLocation SLIME_LOCATION
-
-
Constructor Detail
-
SlimeRenderer
public SlimeRenderer(EntityRendererManager p_i47193_1_)
-
-
Method Detail
-
render
public void render(SlimeEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classMobRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
-
scale
protected void scale(SlimeEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(SlimeEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<SlimeEntity,SlimeModel<SlimeEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<SlimeEntity>
-
-