Enum Class HumanoidModel.ArmPose

java.lang.Object
java.lang.Enum<HumanoidModel.ArmPose>
net.minecraft.client.model.HumanoidModel.ArmPose
All Implemented Interfaces:
Serializable, Comparable<HumanoidModel.ArmPose>, Constable, net.neoforged.fml.common.asm.enumextension.IExtensibleEnum
Enclosing class:
HumanoidModel<T extends LivingEntity>

public static enum HumanoidModel.ArmPose extends Enum<HumanoidModel.ArmPose> implements net.neoforged.fml.common.asm.enumextension.IExtensibleEnum
  • Enum Constant Details

  • Field Details

    • twoHanded

      private final boolean twoHanded
    • forgeArmPose

      @Nullable private final IArmPoseTransformer forgeArmPose
  • Constructor Details

    • ArmPose

      private ArmPose(boolean p_102896_)
    • ArmPose

      private ArmPose(boolean twoHanded, IArmPoseTransformer forgeArmPose)
  • Method Details

    • values

      public static HumanoidModel.ArmPose[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HumanoidModel.ArmPose valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isTwoHanded

      public boolean isTwoHanded()
    • applyTransform

      public <T extends LivingEntity> void applyTransform(HumanoidModel<T> model, T entity, HumanoidArm arm)
    • getExtensionInfo

      public static net.neoforged.fml.common.asm.enumextension.ExtensionInfo getExtensionInfo()