Uses of Enum Class
net.minecraft.commands.arguments.EntityAnchorArgument.Anchor
Packages that use EntityAnchorArgument.Anchor
Package
Description
-
Uses of EntityAnchorArgument.Anchor in net.minecraft.commands
Fields in net.minecraft.commands declared as EntityAnchorArgument.AnchorModifier and TypeFieldDescriptionprivate final EntityAnchorArgument.Anchor
CommandSourceStack.anchor
Methods in net.minecraft.commands that return EntityAnchorArgument.AnchorMethods in net.minecraft.commands with parameters of type EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionCommandSourceStack.facing
(Entity entity, EntityAnchorArgument.Anchor anchor) CommandSourceStack.withAnchor
(EntityAnchorArgument.Anchor anchor) Constructors in net.minecraft.commands with parameters of type EntityAnchorArgument.AnchorModifierConstructorDescriptionprotected
CommandSourceStack
(CommandSource source, Vec3 worldPosition, Vec2 rotation, ServerLevel level, int permissionLevel, String textName, Component displayName, MinecraftServer server, Entity entity, boolean silent, CommandResultCallback resultCallback, EntityAnchorArgument.Anchor anchor, CommandSigningContext signingContext, TaskChainer chatMessageChainer) -
Uses of EntityAnchorArgument.Anchor in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type EntityAnchorArgument.AnchorModifier and TypeFieldDescription(package private) static final Map
<String, EntityAnchorArgument.Anchor> EntityAnchorArgument.Anchor.BY_NAME
Methods in net.minecraft.commands.arguments that return EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionstatic EntityAnchorArgument.Anchor
EntityAnchorArgument.getAnchor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static EntityAnchorArgument.Anchor
EntityAnchorArgument.parse
(com.mojang.brigadier.StringReader reader) 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
Fields in net.minecraft.network.protocol.game declared as EntityAnchorArgument.AnchorModifier and TypeFieldDescriptionprivate final EntityAnchorArgument.Anchor
ClientboundPlayerLookAtPacket.fromAnchor
private final EntityAnchorArgument.Anchor
ClientboundPlayerLookAtPacket.toAnchor
Methods in net.minecraft.network.protocol.game that return EntityAnchorArgument.AnchorConstructors in net.minecraft.network.protocol.game with parameters of type EntityAnchorArgument.AnchorModifierConstructorDescriptionClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor fromAnchor, double x, double y, double z) ClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor fromAnchor, Entity entity, EntityAnchorArgument.Anchor toAnchor) -
Uses of EntityAnchorArgument.Anchor in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as EntityAnchorArgument.AnchorModifier and TypeFieldDescriptionprivate final EntityAnchorArgument.Anchor
TeleportCommand.LookAtEntity.anchor
The field for theanchor
record component.Methods in net.minecraft.server.commands that return EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionTeleportCommand.LookAtEntity.anchor()
Returns the value of theanchor
record component.Constructors in net.minecraft.server.commands with parameters of type EntityAnchorArgument.AnchorModifierConstructorDescription(package private)
LookAtEntity
(Entity entity, EntityAnchorArgument.Anchor anchor) Creates an instance of aLookAtEntity
record class. -
Uses of EntityAnchorArgument.Anchor in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionvoid
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor fromAnchor, Entity entity, EntityAnchorArgument.Anchor toAnchor) void
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor anchor, Vec3 target) -
Uses of EntityAnchorArgument.Anchor in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionvoid
Entity.lookAt
(EntityAnchorArgument.Anchor anchor, Vec3 target) void
LivingEntity.lookAt
(EntityAnchorArgument.Anchor anchor, Vec3 target)