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 livingEntity, boolean bodyVisible, boolean translucent, boolean glowing) getTextureLocation(ArmorStand entity) Returns the location of an entity's texture.protected voidsetupRotations(ArmorStand entity, PoseStack poseStack, float bob, float yBodyRot, float partialTick, float scale) protected booleanshouldShowName(ArmorStand entity) 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 entity, PoseStack poseStack, float bob, float yBodyRot, float partialTick, float scale) - Overrides:
setupRotationsin classLivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
-
shouldShowName
- Overrides:
shouldShowNamein classLivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
-
getRenderType
@Nullable protected RenderType getRenderType(ArmorStand livingEntity, boolean bodyVisible, boolean translucent, boolean glowing) - Overrides:
getRenderTypein classLivingEntityRenderer<ArmorStand,ArmorStandArmorModel>
-