Class VexModel

All Implemented Interfaces:
ArmedModel

public class VexModel extends HierarchicalModel<Vex> implements ArmedModel
  • Field Details

  • Constructor Details

  • Method Details

    • createBodyLayer

      public static LayerDefinition createBodyLayer()
    • setupAnim

      public void setupAnim(Vex entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Sets this entity's model rotation angles
      Specified by:
      setupAnim in class EntityModel<Vex>
    • setArmsCharging

      private void setArmsCharging(ItemStack rightHandItem, ItemStack leftHandItem, float p_265125_)
    • root

      public ModelPart root()
      Specified by:
      root in class HierarchicalModel<Vex>
    • translateToHand

      public void translateToHand(HumanoidArm side, PoseStack poseStack)
      Specified by:
      translateToHand in interface ArmedModel
    • offsetStackPosition

      private void offsetStackPosition(PoseStack poseStack, boolean rightSide)