Uses of Enum Class
net.minecraft.commands.arguments.EntityAnchorArgument.Anchor
Package
Description
-
Uses of EntityAnchorArgument.Anchor in net.minecraft.commands
Modifier and TypeFieldDescriptionprivate final EntityAnchorArgument.Anchor
CommandSourceStack.anchor
Modifier and TypeMethodDescriptionCommandSourceStack.facing
(Entity p_81332_, EntityAnchorArgument.Anchor p_81333_) CommandSourceStack.withAnchor
(EntityAnchorArgument.Anchor p_81351_) ModifierConstructorDescriptionprotected
CommandSourceStack
(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of EntityAnchorArgument.Anchor in net.minecraft.commands.arguments
Modifier and TypeFieldDescription(package private) static final Map
<String, EntityAnchorArgument.Anchor> EntityAnchorArgument.Anchor.BY_NAME
Modifier and TypeMethodDescriptionstatic EntityAnchorArgument.Anchor
EntityAnchorArgument.getAnchor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_90354_, String p_90355_) static EntityAnchorArgument.Anchor
EntityAnchorArgument.parse
(com.mojang.brigadier.StringReader p_90352_) static EntityAnchorArgument.Anchor
Returns the enum constant of this class with the specified name.static EntityAnchorArgument.Anchor[]
EntityAnchorArgument.Anchor.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of EntityAnchorArgument.Anchor in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final EntityAnchorArgument.Anchor
ClientboundPlayerLookAtPacket.fromAnchor
private final EntityAnchorArgument.Anchor
ClientboundPlayerLookAtPacket.toAnchor
ModifierConstructorDescriptionClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor p_132777_, double p_132778_, double p_132779_, double p_132780_) ClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor p_132782_, Entity p_132783_, EntityAnchorArgument.Anchor p_132784_) -
Uses of EntityAnchorArgument.Anchor in net.minecraft.server.commands
Modifier and TypeFieldDescriptionprivate final EntityAnchorArgument.Anchor
TeleportCommand.LookAtEntity.anchor
The field for theanchor
record component.Modifier and TypeMethodDescriptionTeleportCommand.LookAtEntity.anchor()
Returns the value of theanchor
record component.ModifierConstructorDescription(package private)
LookAtEntity
(Entity entity, EntityAnchorArgument.Anchor anchor) Creates an instance of aLookAtEntity
record class. -
Uses of EntityAnchorArgument.Anchor in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor p_9108_, Entity p_9109_, EntityAnchorArgument.Anchor p_9110_) void
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor p_9112_, Vec3 p_9113_) -
Uses of EntityAnchorArgument.Anchor in net.minecraft.world.entity
Modifier and TypeMethodDescriptionvoid
Entity.lookAt
(EntityAnchorArgument.Anchor p_20033_, Vec3 p_20034_) void
LivingEntity.lookAt
(EntityAnchorArgument.Anchor p_21078_, Vec3 p_21079_)