Package net.minecraft.command.argument
Enum Class EntityAnchorArgumentType.EntityAnchor
java.lang.Object
java.lang.Enum<EntityAnchorArgumentType.EntityAnchor>
net.minecraft.command.argument.EntityAnchorArgumentType.EntityAnchor
- All Implemented Interfaces:
Serializable
,Comparable<EntityAnchorArgumentType.EntityAnchor>
,Constable
- Enclosing class:
EntityAnchorArgumentType
public static enum EntityAnchorArgumentType.EntityAnchor
extends Enum<EntityAnchorArgumentType.EntityAnchor>
- Mappings:
Namespace Name official dx$a
intermediary net/minecraft/class_2183$class_2184
named net/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
EntityAnchor
(String id, BiFunction<Vec3d, Entity, Vec3d> offset) -
Method Summary
Modifier and TypeMethodDescriptionpositionAt
(Entity entity) positionAt
(ServerCommandSource source) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FEET
- Mappings:
Namespace Name Mixin selector official a
Ldx$a;a:Ldx$a;
intermediary field_9853
Lnet/minecraft/class_2183$class_2184;field_9853:Lnet/minecraft/class_2183$class_2184;
named FEET
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;FEET:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
EYES
- Mappings:
Namespace Name Mixin selector official b
Ldx$a;b:Ldx$a;
intermediary field_9851
Lnet/minecraft/class_2183$class_2184;field_9851:Lnet/minecraft/class_2183$class_2184;
named EYES
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;EYES:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
-
Field Details
-
ANCHORS
- Mappings:
Namespace Name Mixin selector official c
Ldx$a;c:Ljava/util/Map;
intermediary field_9852
Lnet/minecraft/class_2183$class_2184;field_9852:Ljava/util/Map;
named ANCHORS
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;ANCHORS:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector official d
Ldx$a;d:Ljava/lang/String;
intermediary field_9849
Lnet/minecraft/class_2183$class_2184;field_9849:Ljava/lang/String;
named id
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;id:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector official e
Ldx$a;e:Ljava/util/function/BiFunction;
intermediary field_9848
Lnet/minecraft/class_2183$class_2184;field_9848:Ljava/util/function/BiFunction;
named offset
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;offset:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
EntityAnchor
- Mappings:
Namespace Name Mixin selector official <init>
Ldx$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)V
intermediary <init>
Lnet/minecraft/class_2183$class_2184;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)V
named <init>
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromId
- Mappings:
Namespace Name Mixin selector official a
Ldx$a;a(Ljava/lang/String;)Ldx$a;
intermediary method_9296
Lnet/minecraft/class_2183$class_2184;method_9296(Ljava/lang/String;)Lnet/minecraft/class_2183$class_2184;
named fromId
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;fromId(Ljava/lang/String;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
positionAt
- Mappings:
Namespace Name Mixin selector official a
Ldx$a;a(Lbdr;)Leae;
intermediary method_9302
Lnet/minecraft/class_2183$class_2184;method_9302(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;
named positionAt
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;positionAt(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
-
positionAt
- Mappings:
Namespace Name Mixin selector official a
Ldx$a;a(Ldn;)Leae;
intermediary method_9299
Lnet/minecraft/class_2183$class_2184;method_9299(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;
named positionAt
Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;positionAt(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;
-