Class PlanternModel<T extends Plantern>

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.basic.PlanternModel<T>
All Implemented Interfaces:
net.minecraft.client.model.HeadedModel, IFloralWarfareModel<T>

public class PlanternModel<T extends Plantern> extends FWHierarchicalModel<T> implements net.minecraft.client.model.HeadedModel
  • Field Summary

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

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    @NotNull net.minecraft.client.model.geom.ModelPart
     
    void
    setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
     

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

    blink, blinkParts, extraAnim, 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
  • Constructor Details

    • PlanternModel

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

    • createBodyLayer

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

      public static net.minecraft.client.model.geom.builders.LayerDefinition createInvertLayer()
    • 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 Plantern>
    • getHead

      @NotNull public @NotNull net.minecraft.client.model.geom.ModelPart getHead()
      Specified by:
      getHead in interface net.minecraft.client.model.HeadedModel