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

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.client.model.geom.ModelPart
     
    protected final net.minecraft.client.model.geom.ModelPart
     
    protected final net.minecraft.client.model.geom.ModelPart
     
    protected final net.minecraft.client.model.geom.ModelPart
     
    protected final net.minecraft.client.model.geom.ModelPart
     
    protected final net.minecraft.client.model.geom.ModelPart
     

    Fields inherited from class net.minecraft.client.model.EntityModel

    attackTime, riding, young

    Fields inherited from class net.minecraft.client.model.Model

    renderType
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractBaseLeafModel(net.minecraft.client.model.geom.ModelPart root)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    static net.minecraft.client.model.geom.builders.MeshDefinition
     
    static net.minecraft.client.model.geom.builders.MeshDefinition
     
    void
    extraAnim(T entity, FWModelProperties properties)
     
    void
    setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
     
    protected void
    walkAnim(T entity, FWModelProperties properties)
     

    Methods inherited from class nokunami.floral_warfare.client.model.FWHierarchicalModel

    blink, blinkParts, root

    Methods inherited from class net.minecraft.client.model.HierarchicalModel

    animate, animate, animateWalk, applyStatic, getAnyDescendantWithName, renderToBuffer

    Methods inherited from class net.minecraft.client.model.EntityModel

    copyPropertiesTo, prepareMobModel

    Methods inherited from class net.minecraft.client.model.Model

    renderType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public static net.minecraft.client.model.geom.builders.MeshDefinition createMesh(FWModelType type)
    • 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:
      setupAnim in class net.minecraft.client.model.EntityModel<T extends AbstractPlant>
    • extraAnim

      public void extraAnim(T entity, FWModelProperties properties)
      Specified by:
      extraAnim in interface IFloralWarfareModel<T extends AbstractPlant>
      Overrides:
      extraAnim in class FWHierarchicalModel<T extends AbstractPlant>
    • walkAnim

      protected void walkAnim(T entity, FWModelProperties properties)
    • baseLeafFallAnimation

      protected void baseLeafFallAnimation(T entity, FWModelProperties properties)