Class BoulderModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<BoulderConstruct>
com.binaris.wizardry.client.model.BoulderModel
-
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 vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) voidsetupAnim(@NotNull BoulderConstruct 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
renderType
-
Field Details
-
LAYER_LOCATION
public static final net.minecraft.client.model.geom.ModelLayerLocation LAYER_LOCATION
-
-
Constructor Details
-
BoulderModel
public BoulderModel(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 @NotNull BoulderConstruct entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnimin classnet.minecraft.client.model.EntityModel<BoulderConstruct>
-
renderToBuffer
public void renderToBuffer(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Specified by:
renderToBufferin classnet.minecraft.client.model.Model
-