Class CannonballModel<T extends CannonballEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
tech.anonymoushacker1279.immersiveweapons.client.model.CannonballModel<T>
public class CannonballModel<T extends CannonballEntity>
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(com.mojang.blaze3d.vertex.PoseStack poseStack, 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
-
CannonballModel
public CannonballModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer() -
setupAnim
public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnimin classnet.minecraft.client.model.EntityModel<T extends CannonballEntity>
-
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBufferin classnet.minecraft.client.model.Model
-