Class CrabModel<T extends Crab>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.frozenblock.wilderwild.entity.render.model.CrabModel<T>
-
Field Summary
FieldsFields 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 @NotNull net.minecraft.client.model.geom.builders.LayerDefinitionvoidprepareMobModel(T entity, float limbSwing, float limbSwingAmount, float partialTick) voidrenderToBuffer(@NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) @NotNull net.minecraft.client.model.geom.ModelPartroot()voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithNameMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesToMethods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
xRot
public float xRot -
scale
public float scale
-
-
Constructor Details
-
CrabModel
public CrabModel(@NotNull @NotNull net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
@NotNull public static @NotNull net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
prepareMobModel
public void prepareMobModel(@NotNull T entity, float limbSwing, float limbSwingAmount, float partialTick) -
setupAnim
public void setupAnim(@NotNull T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) -
renderToBuffer
public void renderToBuffer(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack poseStack, @NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) -
root
@NotNull public @NotNull net.minecraft.client.model.geom.ModelPart root()
-