Class ArmorStandRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<ArmorStandEntity,ArmorStandArmorModel>
-
- net.minecraft.client.renderer.entity.ArmorStandRenderer
-
- All Implemented Interfaces:
IEntityRenderer<ArmorStandEntity,ArmorStandArmorModel>
public class ArmorStandRenderer extends LivingRenderer<ArmorStandEntity,ArmorStandArmorModel>
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation
DEFAULT_SKIN_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 ArmorStandRenderer(EntityRendererManager p_i46195_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RenderType
getRenderType(ArmorStandEntity p_230496_1_, boolean p_230496_2_, boolean p_230496_3_, boolean p_230496_4_)
ResourceLocation
getTextureLocation(ArmorStandEntity p_110775_1_)
protected void
setupRotations(ArmorStandEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
protected boolean
shouldShowName(ArmorStandEntity p_177070_1_)
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getWhiteOverlayProgress, isBodyVisible, isShaking, render, scale
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender
-
-
-
-
Field Detail
-
DEFAULT_SKIN_LOCATION
public static final ResourceLocation DEFAULT_SKIN_LOCATION
-
-
Constructor Detail
-
ArmorStandRenderer
public ArmorStandRenderer(EntityRendererManager p_i46195_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(ArmorStandEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<ArmorStandEntity,ArmorStandArmorModel>
- Specified by:
getTextureLocation
in classEntityRenderer<ArmorStandEntity>
-
setupRotations
protected void setupRotations(ArmorStandEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<ArmorStandEntity,ArmorStandArmorModel>
-
shouldShowName
protected boolean shouldShowName(ArmorStandEntity p_177070_1_)
- Overrides:
shouldShowName
in classLivingRenderer<ArmorStandEntity,ArmorStandArmorModel>
-
getRenderType
@Nullable protected RenderType getRenderType(ArmorStandEntity p_230496_1_, boolean p_230496_2_, boolean p_230496_3_, boolean p_230496_4_)
- Overrides:
getRenderType
in classLivingRenderer<ArmorStandEntity,ArmorStandArmorModel>
-
-