Class SkullEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.block.entity.SkullBlockEntityModel
net.minecraft.client.render.entity.model.SkullEntityModel
@Environment(CLIENT) public class SkullEntityModel extends SkullBlockEntityModel
-
Field Summary
Fields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description SkullEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description static TexturedModelDatagetHeadTexturedModelData()static ModelDatagetModelData()static TexturedModelDatagetSkullTexturedModelData()voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)voidsetHeadRotation(float animationProgress, float yaw, float pitch)
-
Field Details
-
root
-
head
-
-
Constructor Details
-
SkullEntityModel
-
-
Method Details
-
getModelData
-
getHeadTexturedModelData
-
getSkullTexturedModelData
-
setHeadRotation
public void setHeadRotation(float animationProgress, float yaw, float pitch)- Specified by:
setHeadRotationin classSkullBlockEntityModel
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
-