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
official bri
intermediary net/minecraft/class_9064
named net/minecraft/entity/EntityAttachmentType
  • Enum Constant Details

    • PASSENGER

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

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

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

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

    • point

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

    • EntityAttachmentType

      private EntityAttachmentType(EntityAttachmentType.Point point)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbri;<init>(Ljava/lang/String;ILbri$a;)V
      intermediary <init> Lnet/minecraft/class_9064;<init>(Ljava/lang/String;ILnet/minecraft/class_9064$class_9065;)V
      named <init> Lnet/minecraft/entity/EntityAttachmentType;<init>(Ljava/lang/String;ILnet/minecraft/entity/EntityAttachmentType$Point;)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
      official a Lbri;a(FF)Ljava/util/List;
      intermediary method_55670 Lnet/minecraft/class_9064;method_55670(FF)Ljava/util/List;
      named createPoint Lnet/minecraft/entity/EntityAttachmentType;createPoint(FF)Ljava/util/List;