Class SunShroomModel<T extends SunShroom>

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:
BabySunShroomModel

public class SunShroomModel<T extends SunShroom> extends AbstractShroomModel<T>
  • 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
     
    protected final net.minecraft.client.model.geom.ModelPart
     
    protected final net.minecraft.client.model.geom.ModelPart
     

    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
    SunShroomModel(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
  • Field Details

    • boneBig

      protected final net.minecraft.client.model.geom.ModelPart boneBig
    • headBig

      protected final net.minecraft.client.model.geom.ModelPart headBig
    • headBlinkBig

      protected final net.minecraft.client.model.geom.ModelPart headBlinkBig
    • capBig

      protected final net.minecraft.client.model.geom.ModelPart capBig
    • boneSmall

      protected final net.minecraft.client.model.geom.ModelPart boneSmall
    • headSmall

      protected final net.minecraft.client.model.geom.ModelPart headSmall
    • headBlinkSmall

      protected final net.minecraft.client.model.geom.ModelPart headBlinkSmall
    • capSmall

      protected final net.minecraft.client.model.geom.ModelPart capSmall
  • Constructor Details

    • SunShroomModel

      public SunShroomModel(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 SunShroom>
    • keyFramedAnim

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

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