Class CattailModel<T extends Cattail>

java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<T>
All Implemented Interfaces:
net.minecraft.client.model.HeadedModel, IFloralWarfareModel<T>

public class CattailModel<T extends Cattail> extends AbstractBaseLeafModel<T>
  • Field Summary

    Fields inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractBaseLeafModel

    bone, leaf1, leaf2, leaf3, leaf4, stemBase

    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
    CattailModel(net.minecraft.client.model.geom.ModelPart root)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.minecraft.client.model.geom.ModelPart>
     
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    @NotNull net.minecraft.client.model.geom.ModelPart
     
    void
    keyFramedAnim(T entity, float ageInTicks)
     
    void
    mathAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, boolean invert)
     

    Methods inherited from class nokunami.floral_warfare.client.model.plants.abstractModel.AbstractBaseLeafModel

    baseLeafFallAnimation, createMesh, createMeshBaby, extraAnim, walkAnim

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

    blink, root, setupAnim, setupInvertedAnim

    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
  • Constructor Details

    • CattailModel

      public CattailModel(net.minecraft.client.model.geom.ModelPart root)
  • Method Details

    • createBodyLayer

      public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer()
    • mathAnim

      public void mathAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, boolean invert)
      Overrides:
      mathAnim in class FWHierarchicalModel<T extends Cattail>
    • keyFramedAnim

      public void keyFramedAnim(T entity, float ageInTicks)
      Overrides:
      keyFramedAnim in class AbstractBaseLeafModel<T extends Cattail>
    • getHead

      @NotNull public @NotNull net.minecraft.client.model.geom.ModelPart getHead()
    • blinkParts

      public List<net.minecraft.client.model.geom.ModelPart> blinkParts()
      Overrides:
      blinkParts in class FWHierarchicalModel<T extends Cattail>