Package net.minecraft.client.model
Class PiglinHeadModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.SkullModelBase
net.minecraft.client.model.PiglinHeadModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
void
renderToBuffer
(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, int color) void
setupAnim
(float mouthAnimation, float yRot, float xRot) Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
head
-
leftEar
-
rightEar
-
-
Constructor Details
-
PiglinHeadModel
-
-
Method Details
-
createHeadModel
-
setupAnim
public void setupAnim(float mouthAnimation, float yRot, float xRot) - Specified by:
setupAnim
in classSkullModelBase
-
renderToBuffer
public void renderToBuffer(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBuffer
in classModel
-