Class GhostPepperModel<T extends GhostPepper>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<T>
nokunami.floral_warfare.client.model.FWHierarchicalModel<T>
nokunami.floral_warfare.client.model.plants.basic.GhostPepperModel<T>
- All Implemented Interfaces:
IFloralWarfareModel<T>
- Direct Known Subclasses:
BabyGhostPepperModel
-
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.LayerDefinitionvoidextraAnim(T entity, FWModelProperties properties) voidoutlineOnly(boolean b) voidrenderToBuffer(com.mojang.blaze3d.vertex.PoseStack pPoseStack, com.mojang.blaze3d.vertex.VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, float pRed, float pGreen, float pBlue, float pAlpha) voidsetAlpha(double alpha) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) voidsetupInvertedAnim(T entity, FWModelProperties properties, float netHeadYaw, float headPitch) Methods inherited from class nokunami.floral_warfare.client.model.FWHierarchicalModel
blink, blinkParts, rootMethods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithNameMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Details
-
GhostPepperModel
public GhostPepperModel(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 T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnimin classnet.minecraft.client.model.EntityModel<T extends GhostPepper>
-
renderToBuffer
public void renderToBuffer(com.mojang.blaze3d.vertex.PoseStack pPoseStack, com.mojang.blaze3d.vertex.VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, float pRed, float pGreen, float pBlue, float pAlpha) - Overrides:
renderToBufferin classnet.minecraft.client.model.HierarchicalModel<T extends GhostPepper>
-
setupInvertedAnim
public void setupInvertedAnim(T entity, FWModelProperties properties, float netHeadYaw, float headPitch) -
extraAnim
- Specified by:
extraAnimin interfaceIFloralWarfareModel<T extends GhostPepper>- Overrides:
extraAnimin classFWHierarchicalModel<T extends GhostPepper>
-
outlineOnly
public void outlineOnly(boolean b) -
setAlpha
public void setAlpha(double alpha)
-