Enum Class EntityAttachmentType

java.lang.Object
java.lang.Enum<EntityAttachmentType>
net.minecraft.entity.EntityAttachmentType
All Implemented Interfaces:
Serializable, Comparable<EntityAttachmentType>, Constable

public enum EntityAttachmentType extends Enum<EntityAttachmentType>
Mappings:
Namespace Name
named net/minecraft/entity/EntityAttachmentType
intermediary net/minecraft/class_9064
official bsx
  • Enum Constant Details

    • PASSENGER

      public static final EntityAttachmentType PASSENGER
      Mappings:
      Namespace Name Mixin selector
      named PASSENGER Lnet/minecraft/entity/EntityAttachmentType;PASSENGER:Lnet/minecraft/entity/EntityAttachmentType;
      intermediary field_47743 Lnet/minecraft/class_9064;field_47743:Lnet/minecraft/class_9064;
      official a Lbsx;a:Lbsx;
    • VEHICLE

      public static final EntityAttachmentType VEHICLE
      Mappings:
      Namespace Name Mixin selector
      named VEHICLE Lnet/minecraft/entity/EntityAttachmentType;VEHICLE:Lnet/minecraft/entity/EntityAttachmentType;
      intermediary field_47744 Lnet/minecraft/class_9064;field_47744:Lnet/minecraft/class_9064;
      official b Lbsx;b:Lbsx;
    • NAME_TAG

      public static final EntityAttachmentType NAME_TAG
      Mappings:
      Namespace Name Mixin selector
      named NAME_TAG Lnet/minecraft/entity/EntityAttachmentType;NAME_TAG:Lnet/minecraft/entity/EntityAttachmentType;
      intermediary field_47745 Lnet/minecraft/class_9064;field_47745:Lnet/minecraft/class_9064;
      official c Lbsx;c:Lbsx;
    • WARDEN_CHEST

      public static final EntityAttachmentType WARDEN_CHEST
      Mappings:
      Namespace Name Mixin selector
      named WARDEN_CHEST Lnet/minecraft/entity/EntityAttachmentType;WARDEN_CHEST:Lnet/minecraft/entity/EntityAttachmentType;
      intermediary field_48320 Lnet/minecraft/class_9064;field_48320:Lnet/minecraft/class_9064;
      official d Lbsx;d:Lbsx;
  • Field Details

    • point

      private final EntityAttachmentType.Point point
      Mappings:
      Namespace Name Mixin selector
      named point Lnet/minecraft/entity/EntityAttachmentType;point:Lnet/minecraft/entity/EntityAttachmentType$Point;
      intermediary field_47746 Lnet/minecraft/class_9064;field_47746:Lnet/minecraft/class_9064$class_9065;
      official e Lbsx;e:Lbsx$a;
  • Constructor Details

    • EntityAttachmentType

      private EntityAttachmentType(EntityAttachmentType.Point point)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/EntityAttachmentType;<init>(Ljava/lang/String;ILnet/minecraft/entity/EntityAttachmentType$Point;)V
      intermediary <init> Lnet/minecraft/class_9064;<init>(Ljava/lang/String;ILnet/minecraft/class_9064$class_9065;)V
      official <init> Lbsx;<init>(Ljava/lang/String;ILbsx$a;)V
  • Method Details

    • values

      public static EntityAttachmentType[] 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 EntityAttachmentType 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
    • createPoint

      public List<Vec3d> createPoint(float width, float height)
      Mappings:
      Namespace Name Mixin selector
      named createPoint Lnet/minecraft/entity/EntityAttachmentType;createPoint(FF)Ljava/util/List;
      intermediary method_55670 Lnet/minecraft/class_9064;method_55670(FF)Ljava/util/List;
      official a Lbsx;a(FF)Ljava/util/List;