Class ModelCropSupport
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<CropSupportEntity>
me.desht.pneumaticcraft.client.model.entity.semiblocks.ModelCropSupport
-
Field Summary
Fields 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(com.mojang.blaze3d.vertex.PoseStack matrixStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) voidsetRotationAngle(net.minecraft.client.model.geom.ModelPart modelRenderer, float x, float y, float z) voidsetupAnim(CropSupportEntity entityIn, 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
-
Constructor Details
-
ModelCropSupport
public ModelCropSupport(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
setupAnim
public void setupAnim(CropSupportEntity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnimin classnet.minecraft.client.model.EntityModel<CropSupportEntity>
-
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack matrixStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Specified by:
renderToBufferin classnet.minecraft.client.model.Model
-
setRotationAngle
public void setRotationAngle(net.minecraft.client.model.geom.ModelPart modelRenderer, float x, float y, float z)
-