Class WolfArmorLayer
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<WolfRenderState,WolfModel>
net.minecraft.client.renderer.entity.layers.WolfArmorLayer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WolfModelprivate static final Map<Crackiness.Level, ResourceLocation> private final WolfModelprivate final EquipmentLayerRenderer -
Constructor Summary
ConstructorsConstructorDescriptionWolfArmorLayer(RenderLayerParent<WolfRenderState, WolfModel> pRenderer, EntityModelSet pEntityModels, EquipmentLayerRenderer pEquipmentRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidmaybeRenderCracks(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ItemStack pArmorItem, Model pModel) voidrender(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, WolfRenderState pRenderState, float pYRot, float pXRot) Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, renderColoredCutoutModel
-
Field Details
-
adultModel
-
babyModel
-
equipmentRenderer
-
ARMOR_CRACK_LOCATIONS
-
-
Constructor Details
-
WolfArmorLayer
public WolfArmorLayer(RenderLayerParent<WolfRenderState, WolfModel> pRenderer, EntityModelSet pEntityModels, EquipmentLayerRenderer pEquipmentRenderer)
-
-
Method Details
-
render
public void render(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, WolfRenderState pRenderState, float pYRot, float pXRot) - Specified by:
renderin classRenderLayer<WolfRenderState,WolfModel>
-
maybeRenderCracks
private void maybeRenderCracks(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ItemStack pArmorItem, Model pModel)
-