Class CreeperRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<CreeperEntity,CreeperModel<CreeperEntity>>
-
- net.minecraft.client.renderer.entity.CreeperRenderer
-
- All Implemented Interfaces:
IEntityRenderer<CreeperEntity,CreeperModel<CreeperEntity>>
public class CreeperRenderer extends MobRenderer<CreeperEntity,CreeperModel<CreeperEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
CREEPER_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 CreeperRenderer(EntityRendererManager p_i46186_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(CreeperEntity p_110775_1_)
protected float
getWhiteOverlayProgress(CreeperEntity p_225625_1_, float p_225625_2_)
protected void
scale(CreeperEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, isBodyVisible, isShaking, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
CREEPER_LOCATION
private static final ResourceLocation CREEPER_LOCATION
-
-
Constructor Detail
-
CreeperRenderer
public CreeperRenderer(EntityRendererManager p_i46186_1_)
-
-
Method Detail
-
scale
protected void scale(CreeperEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<CreeperEntity,CreeperModel<CreeperEntity>>
-
getWhiteOverlayProgress
protected float getWhiteOverlayProgress(CreeperEntity p_225625_1_, float p_225625_2_)
- Overrides:
getWhiteOverlayProgress
in classLivingRenderer<CreeperEntity,CreeperModel<CreeperEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(CreeperEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<CreeperEntity,CreeperModel<CreeperEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<CreeperEntity>
-
-