Class GuardianModel


public class GuardianModel extends HierarchicalModel<Guardian>
  • Field Details

    • SPIKE_X_ROT

      private static final float[] SPIKE_X_ROT
    • SPIKE_Y_ROT

      private static final float[] SPIKE_Y_ROT
    • SPIKE_Z_ROT

      private static final float[] SPIKE_Z_ROT
    • SPIKE_X

      private static final float[] SPIKE_X
    • SPIKE_Y

      private static final float[] SPIKE_Y
    • SPIKE_Z

      private static final float[] SPIKE_Z
    • EYE

      private static final String EYE
      See Also:
    • TAIL_0

      private static final String TAIL_0
      See Also:
    • TAIL_1

      private static final String TAIL_1
      See Also:
    • TAIL_2

      private static final String TAIL_2
      See Also:
    • root

      private final ModelPart root
    • eye

      private final ModelPart eye
    • spikeParts

      private final ModelPart[] spikeParts
    • tailParts

      private final ModelPart[] tailParts
  • Constructor Details

    • GuardianModel

      public GuardianModel(ModelPart p_170600_)
  • Method Details

    • createSpikeName

      private static String createSpikeName(int p_170603_)
    • createBodyLayer

      public static LayerDefinition createBodyLayer()
    • root

      public ModelPart root()
      Specified by:
      root in class HierarchicalModel<Guardian>
    • setupAnim

      public void setupAnim(Guardian p_102719_, float p_102720_, float p_102721_, float p_102722_, float p_102723_, float p_102724_)
      Specified by:
      setupAnim in class EntityModel<Guardian>
    • setupSpikes

      private void setupSpikes(float p_102709_, float p_102710_)
    • getSpikeOffset

      private static float getSpikeOffset(int p_170605_, float p_170606_, float p_170607_)
    • getSpikeX

      private static float getSpikeX(int p_170610_, float p_170611_, float p_170612_)
    • getSpikeY

      private static float getSpikeY(int p_170614_, float p_170615_, float p_170616_)
    • getSpikeZ

      private static float getSpikeZ(int p_170618_, float p_170619_, float p_170620_)