Class ElectroPeaModel<T extends ElectroPea>
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.abstractModel.AbstractBaseLeafModel<T>
nokunami.floral_warfare.client.model.plants.abstractModel.AbstractPeashooterModel<T>
nokunami.floral_warfare.client.model.plants.basic.ElectroPeaModel<T>
- All Implemented Interfaces:
net.minecraft.client.model.HeadedModel,IFloralWarfareModel<T>
- Direct Known Subclasses:
BabyElectroPeaModel
-
Nested Class Summary
Nested classes/interfaces inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractPeashooterModel
AbstractPeashooterModel.PeaPart -
Field Summary
Fields inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractPeashooterModel
backLeaf, barrel, barrelTrim, head, headBlink, neckBase, stem, stemPartFields inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractBaseLeafModel
bone, leaf1, leaf2, leaf3, leaf4, stemBaseFields 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 Supplier<net.minecraft.client.model.geom.builders.LayerDefinition>createBodyLayer(FWModelType type) voidkeyFramedAnim(T entity, float ageInTicks) voidmathAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, boolean invert) voidsetupInvertedAnim(T entity, FWModelProperties properties, float netHeadYaw, float headPitch) Methods inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractPeashooterModel
blinkParts, createMesh, createMeshBaby, getHead, walkAnimMethods inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractBaseLeafModel
baseLeafFallAnimation, extraAnimMethods inherited from class nokunami.floral_warfare.client.model.FWHierarchicalModel
blink, root, setupAnim, setupInvertedAnimMethods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithName, renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Details
-
ElectroPeaModel
public ElectroPeaModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createBodyLayer
public static Supplier<net.minecraft.client.model.geom.builders.LayerDefinition> createBodyLayer(FWModelType type) -
mathAnim
public void mathAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, boolean invert) - Overrides:
mathAnimin classAbstractPeashooterModel<T extends ElectroPea>
-
keyFramedAnim
- Overrides:
keyFramedAnimin classAbstractPeashooterModel<T extends ElectroPea>
-
setupInvertedAnim
public void setupInvertedAnim(@NotNull T entity, FWModelProperties properties, float netHeadYaw, float headPitch)
-