Class DragonHeadEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.block.entity.SkullBlockEntityModel
net.minecraft.client.render.entity.model.DragonHeadEntityModel
@Environment(CLIENT) public class DragonHeadEntityModel extends SkullBlockEntityModel
-
Field Summary
Fields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description DragonHeadEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description static TexturedModelDatagetTexturedModelData()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
-
head
-
jaw
-
-
Constructor Details
-
DragonHeadEntityModel
-
-
Method Details
-
getTexturedModelData
-
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)
-