Package net.minecraft.command.argument
Enum EntityAnchorArgumentType.EntityAnchor
java.lang.Object
java.lang.Enum<EntityAnchorArgumentType.EntityAnchor>
net.minecraft.command.argument.EntityAnchorArgumentType.EntityAnchor
- All Implemented Interfaces:
Serializable
,Comparable<EntityAnchorArgumentType.EntityAnchor>
,java.lang.constant.Constable
- Enclosing class:
- EntityAnchorArgumentType
public static enum EntityAnchorArgumentType.EntityAnchor extends Enum<EntityAnchorArgumentType.EntityAnchor>
- Mappings:
Namespace Name official dj$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
Constructors Modifier Constructor Description private
EntityAnchor(String id, BiFunction<Vec3d,Entity,Vec3d> offset)
-
Method Summary
Modifier and Type Method Description static EntityAnchorArgumentType.EntityAnchor
fromId(String id)
Vec3d
positionAt(Entity entity)
Vec3d
positionAt(ServerCommandSource serverCommandSource)
static EntityAnchorArgumentType.EntityAnchor
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntityAnchorArgumentType.EntityAnchor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FEET
- Mappings:
Namespace Name Mixin selector official a
Ldj$a;a:Ldj$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
Ldj$a;b:Ldj$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
Ldj$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
Ldj$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
Ldj$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>
Ldj$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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromId
- Mappings:
Namespace Name Mixin selector official a
Ldj$a;a(Ljava/lang/String;)Ldj$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
Ldj$a;a(Laqv;)Ldiu;
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
Ldj$a;a(Ldb;)Ldiu;
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;
-