Class WolfArmorLayer
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<Wolf,WolfModel<Wolf>>
net.minecraft.client.renderer.entity.layers.WolfArmorLayer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWolfArmorLayer
(RenderLayerParent<Wolf, WolfModel<Wolf>> renderer, EntityModelSet models) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
maybeRenderColoredLayer
(PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack armorStack, AnimalArmorItem armorItem) private void
maybeRenderCracks
(PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack armorStack) void
render
(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, Wolf livingEntity, float limbSwing, float limbSwingAmount, float partialTick, float ageInTicks, float netHeadYaw, float headPitch) Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Field Details
-
model
-
ARMOR_CRACK_LOCATIONS
-
-
Constructor Details
-
WolfArmorLayer
-
-
Method Details
-
render
public void render(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, Wolf livingEntity, float limbSwing, float limbSwingAmount, float partialTick, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
render
in classRenderLayer<Wolf,
WolfModel<Wolf>>
-
maybeRenderColoredLayer
private void maybeRenderColoredLayer(PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack armorStack, AnimalArmorItem armorItem) -
maybeRenderCracks
private void maybeRenderCracks(PoseStack poseStack, MultiBufferSource buffer, int packedLight, ItemStack armorStack)
-