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 named net/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchorintermediary net/minecraft/class_2183$class_2184official ep$a
-
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 TypeMethodDescriptionstatic @Nullable EntityAnchorArgumentType.EntityAnchorpositionAt(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 named FEETLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;FEET:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;intermediary field_9853Lnet/minecraft/class_2183$class_2184;field_9853:Lnet/minecraft/class_2183$class_2184;official aLep$a;a:Lep$a;
-
EYES
- Mappings:
Namespace Name Mixin selector named EYESLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;EYES:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;intermediary field_9851Lnet/minecraft/class_2183$class_2184;field_9851:Lnet/minecraft/class_2183$class_2184;official bLep$a;b:Lep$a;
-
-
Field Details
-
ANCHORS
- Mappings:
Namespace Name Mixin selector named ANCHORSLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;ANCHORS:Ljava/util/Map;intermediary field_9852Lnet/minecraft/class_2183$class_2184;field_9852:Ljava/util/Map;official cLep$a;c:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;id:Ljava/lang/String;intermediary field_9849Lnet/minecraft/class_2183$class_2184;field_9849:Ljava/lang/String;official dLep$a;d:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector named offsetLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;offset:Ljava/util/function/BiFunction;intermediary field_9848Lnet/minecraft/class_2183$class_2184;field_9848:Ljava/util/function/BiFunction;official eLep$a;e:Ljava/util/function/BiFunction;
-
-
Constructor Details
-
EntityAnchor
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;<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;)Vofficial <init>Lep$a;<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 named fromIdLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;fromId(Ljava/lang/String;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;intermediary method_9296Lnet/minecraft/class_2183$class_2184;method_9296(Ljava/lang/String;)Lnet/minecraft/class_2183$class_2184;official aLep$a;a(Ljava/lang/String;)Lep$a;
-
positionAt
- Mappings:
Namespace Name Mixin selector named positionAtLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;positionAt(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;intermediary method_9302Lnet/minecraft/class_2183$class_2184;method_9302(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;official aLep$a;a(Lcgi;)Lfse;
-
positionAt
- Mappings:
Namespace Name Mixin selector named positionAtLnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;positionAt(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;intermediary method_9299Lnet/minecraft/class_2183$class_2184;method_9299(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;official aLep$a;a(Led;)Lfse;
-