Class PuffShroomModel<T extends PuffShroom>

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>
Direct Known Subclasses:
BabyPuffShroomModel

public class PuffShroomModel<T extends PuffShroom> extends AbstractShroomModel<T>
  • Field Summary

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

    bone, 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
    PuffShroomModel(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
     
    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.AbstractShroomModel

    blink, createMesh, extraAnim, getHead

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

    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

    • PuffShroomModel

      public PuffShroomModel(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 PuffShroom>
    • keyFramedAnim

      public void keyFramedAnim(T entity, float ageInTicks)
      Overrides:
      keyFramedAnim in class FWHierarchicalModel<T extends PuffShroom>
    • blinkParts

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