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 ResourceLocationA constant instance of the armor stand texture, wrapped inside a ResourceLocation wrapper.Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, modelFields 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 RenderTypegetRenderType(ArmorStand pLivingEntity, boolean pBodyVisible, boolean pTranslucent, boolean pGlowing) getTextureLocation(ArmorStand pEntity) Returns the location of an entity's texture.protected voidsetupRotations(ArmorStand pEntity, PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick, float pScale) protected booleanshouldShowName(ArmorStand pEntity) Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getShadowRadius, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, render, scaleMethods 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:
getTextureLocationin interfaceRenderLayerParent<ArmorStand,ArmorStandArmorModel> - Specified by:
getTextureLocationin classEntityRenderer<ArmorStand>
-
setupRotations
protected void setupRotations(ArmorStand pEntity, PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick, float pScale) - Overrides:
setupRotationsin classLivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
-
shouldShowName
- Overrides:
shouldShowNamein classLivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
-
getRenderType
@Nullable protected RenderType getRenderType(ArmorStand pLivingEntity, boolean pBodyVisible, boolean pTranslucent, boolean pGlowing) - Overrides:
getRenderTypein classLivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
-