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$aintermediary net/minecraft/class_2183$class_2184named 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
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEntityAnchor(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 aLdx$a;a:Ldx$a;intermediary field_9853Lnet/minecraft/class_2183$class_2184;field_9853:Lnet/minecraft/class_2183$class_2184;named FEETLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;FEET:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
EYES
- Mappings:
Namespace Name Mixin selector official bLdx$a;b:Ldx$a;intermediary field_9851Lnet/minecraft/class_2183$class_2184;field_9851:Lnet/minecraft/class_2183$class_2184;named EYESLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;EYES:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
-
Field Details
-
ANCHORS
- Mappings:
Namespace Name Mixin selector official cLdx$a;c:Ljava/util/Map;intermediary field_9852Lnet/minecraft/class_2183$class_2184;field_9852:Ljava/util/Map;named ANCHORSLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;ANCHORS:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector official dLdx$a;d:Ljava/lang/String;intermediary field_9849Lnet/minecraft/class_2183$class_2184;field_9849:Ljava/lang/String;named idLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;id:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector official eLdx$a;e:Ljava/util/function/BiFunction;intermediary field_9848Lnet/minecraft/class_2183$class_2184;field_9848:Ljava/util/function/BiFunction;named offsetLnet/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;)Vintermediary <init>Lnet/minecraft/class_2183$class_2184;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)Vnamed <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 aLdx$a;a(Ljava/lang/String;)Ldx$a;intermediary method_9296Lnet/minecraft/class_2183$class_2184;method_9296(Ljava/lang/String;)Lnet/minecraft/class_2183$class_2184;named fromIdLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;fromId(Ljava/lang/String;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
positionAt
- Mappings:
Namespace Name Mixin selector official aLdx$a;a(Lbdr;)Leae;intermediary method_9302Lnet/minecraft/class_2183$class_2184;method_9302(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;named positionAtLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;positionAt(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
-
positionAt
- Mappings:
Namespace Name Mixin selector official aLdx$a;a(Ldn;)Leae;intermediary method_9299Lnet/minecraft/class_2183$class_2184;method_9299(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;named positionAtLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;positionAt(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;
-