Class ArmorStandRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<ArmorStand>
net.minecraft.client.renderer.entity.LivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
net.minecraft.client.renderer.entity.ArmorStandRenderer
- All Implemented Interfaces:
RenderLayerParent<ArmorStand,
ArmorStandArmorModel>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceLocation
A constant instance of the armor stand texture, wrapped inside a ResourceLocation wrapper.Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RenderType
getRenderType
(ArmorStand pLivingEntity, boolean pBodyVisible, boolean pTranslucent, boolean pGlowing) getTextureLocation
(ArmorStand pEntity) Returns the location of an entity's texture.protected void
setupRotations
(ArmorStand pEntity, PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick, float pScale) protected boolean
shouldShowName
(ArmorStand pEntity) Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getShadowRadius, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, render, scale
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender
-
Field Details
-
DEFAULT_SKIN_LOCATION
A constant instance of the armor stand texture, wrapped inside a ResourceLocation wrapper.
-
-
Constructor Details
-
ArmorStandRenderer
-
-
Method Details
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in interfaceRenderLayerParent<ArmorStand,
ArmorStandArmorModel> - Specified by:
getTextureLocation
in classEntityRenderer<ArmorStand>
-
setupRotations
protected void setupRotations(ArmorStand pEntity, PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick, float pScale) - Overrides:
setupRotations
in classLivingEntityRenderer<ArmorStand,
ArmorStandArmorModel>
-
shouldShowName
- Overrides:
shouldShowName
in classLivingEntityRenderer<ArmorStand,
ArmorStandArmorModel>
-
getRenderType
@Nullable protected RenderType getRenderType(ArmorStand pLivingEntity, boolean pBodyVisible, boolean pTranslucent, boolean pGlowing) - Overrides:
getRenderType
in classLivingEntityRenderer<ArmorStand,
ArmorStandArmorModel>
-