Class KernelProjectileModel<T extends KernelProjectile>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
nokunami.floral_warfare.client.model.projectile.KernelProjectileModel<T>
public class KernelProjectileModel<T extends KernelProjectile>
extends net.minecraft.client.model.EntityModel<T>
-
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(@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(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) voidsetVisible(boolean kernel, boolean butter) Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Details
-
KernelProjectileModel
public KernelProjectileModel(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 KernelProjectile>
-
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
-
setVisible
public void setVisible(boolean kernel, boolean butter)
-