Class EndermanRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<EndermanEntity,EndermanModel<EndermanEntity>>
-
- net.minecraft.client.renderer.entity.EndermanRenderer
-
- All Implemented Interfaces:
IEntityRenderer<EndermanEntity,EndermanModel<EndermanEntity>>
public class EndermanRenderer extends MobRenderer<EndermanEntity,EndermanModel<EndermanEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
ENDERMAN_LOCATION
private java.util.Random
random
-
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 EndermanRenderer(EntityRendererManager p_i46182_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3d
getRenderOffset(EndermanEntity p_225627_1_, float p_225627_2_)
ResourceLocation
getTextureLocation(EndermanEntity p_110775_1_)
void
render(EndermanEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
-
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, scale, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
ENDERMAN_LOCATION
private static final ResourceLocation ENDERMAN_LOCATION
-
random
private final java.util.Random random
-
-
Constructor Detail
-
EndermanRenderer
public EndermanRenderer(EntityRendererManager p_i46182_1_)
-
-
Method Detail
-
render
public void render(EndermanEntity 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<EndermanEntity,EndermanModel<EndermanEntity>>
-
getRenderOffset
public Vector3d getRenderOffset(EndermanEntity p_225627_1_, float p_225627_2_)
- Overrides:
getRenderOffset
in classEntityRenderer<EndermanEntity>
-
getTextureLocation
public ResourceLocation getTextureLocation(EndermanEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<EndermanEntity,EndermanModel<EndermanEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<EndermanEntity>
-
-