Class GrandfatherWillisModel<T extends GrandfatherWillis>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
dev.tophatcat.sprucewillisthexmastree.client.models.GrandfatherWillisModel<T>
public class GrandfatherWillisModel<T extends GrandfatherWillis>
extends net.minecraft.client.model.EntityModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.model.geom.ModelLayerLocationFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.model.geom.builders.LayerDefinitionvoidrenderToBuffer(@NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
LAYER_LOCATION
public static final net.minecraft.client.model.geom.ModelLayerLocation LAYER_LOCATION
-
-
Constructor Details
-
GrandfatherWillisModel
public GrandfatherWillisModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
setupAnim
public void setupAnim(@NotNull T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnimin classnet.minecraft.client.model.EntityModel<T extends GrandfatherWillis>
-
renderToBuffer
public void renderToBuffer(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBufferin classnet.minecraft.client.model.Model
-