Class AbstractBaseLeafModel<T extends AbstractPlant>
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>
- All Implemented Interfaces:
net.minecraft.client.model.HeadedModel,IFloralWarfareModel<T>
- Direct Known Subclasses:
AbstractPeashooterModel,AmpliflowerModel,CabbagePultModel,CattailModel,ChomperModel,CurendulaModel,KernelPultModel,MelonPultModel,ScatterTailModel,SunflowerModel,ThreepeaterModel,TwinSunflowerModel
public abstract class AbstractBaseLeafModel<T extends AbstractPlant>
extends FWHierarchicalModel<T>
implements net.minecraft.client.model.HeadedModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.client.model.geom.ModelPartprotected final net.minecraft.client.model.geom.ModelPartprotected final net.minecraft.client.model.geom.ModelPartprotected final net.minecraft.client.model.geom.ModelPartprotected final net.minecraft.client.model.geom.ModelPartprotected final net.minecraft.client.model.geom.ModelPartFields 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 TypeMethodDescriptionprotected voidbaseLeafFallAnimation(T entity, FWModelProperties properties) static net.minecraft.client.model.geom.builders.MeshDefinitioncreateMesh(FWModelType type) static net.minecraft.client.model.geom.builders.MeshDefinitioncreateMeshBaby(FWModelType type) voidextraAnim(T entity, FWModelProperties properties) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) protected voidwalkAnim(T entity, FWModelProperties properties) 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, getAnyDescendantWithName, renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.model.HeadedModel
getHead
-
Field Details
-
bone
protected final net.minecraft.client.model.geom.ModelPart bone -
stemBase
protected final net.minecraft.client.model.geom.ModelPart stemBase -
leaf1
protected final net.minecraft.client.model.geom.ModelPart leaf1 -
leaf2
protected final net.minecraft.client.model.geom.ModelPart leaf2 -
leaf3
protected final net.minecraft.client.model.geom.ModelPart leaf3 -
leaf4
protected final net.minecraft.client.model.geom.ModelPart leaf4
-
-
Constructor Details
-
AbstractBaseLeafModel
public AbstractBaseLeafModel(net.minecraft.client.model.geom.ModelPart root)
-
-
Method Details
-
createMesh
-
createMeshBaby
public static net.minecraft.client.model.geom.builders.MeshDefinition createMeshBaby(FWModelType type) -
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 AbstractPlant>
-
extraAnim
- Specified by:
extraAnimin interfaceIFloralWarfareModel<T extends AbstractPlant>- Overrides:
extraAnimin classFWHierarchicalModel<T extends AbstractPlant>
-
walkAnim
-
baseLeafFallAnimation
-