Class ThreepeaterModel<T extends Threepeater>

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

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    @NotNull net.minecraft.client.model.geom.ModelPart
     
    void
    prepareMobModel(T entity, float pLimbSwing, float pLimbSwingAmount, float partialTick)
     
    void
    setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
     
    void
    setupHead(T entity, net.minecraft.client.model.geom.ModelPart head, float yBodyRotO, float yBodyRot, float yHeadRotO, float yHeadRot, float partialTick, boolean shouldSit)
     

    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, 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

    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

    • ThreepeaterModel

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

    • createBodyLayer

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

      public void setupAnim(@NotNull T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Overrides:
      setupAnim in class AbstractBaseLeafModel<T extends Threepeater>
    • prepareMobModel

      public void prepareMobModel(@NotNull T entity, float pLimbSwing, float pLimbSwingAmount, float partialTick)
      Overrides:
      prepareMobModel in class net.minecraft.client.model.EntityModel<T extends Threepeater>
    • getHead

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

      public void setupHead(T entity, net.minecraft.client.model.geom.ModelPart head, float yBodyRotO, float yBodyRot, float yHeadRotO, float yHeadRot, float partialTick, boolean shouldSit)