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 pEntity, EntityAnchorArgument.Anchor pAnchor) CommandSourceStack.withAnchor
(EntityAnchorArgument.Anchor pAnchor) Constructors in net.minecraft.commands with parameters of type EntityAnchorArgument.AnchorModifierConstructorDescriptionprotected
CommandSourceStack
(CommandSource pSource, Vec3 pWorldPosition, Vec2 pRotation, ServerLevel pLevel, int pPermissionLevel, String pTextName, Component pDisplayName, MinecraftServer pServer, Entity pEntity, boolean pSilent, CommandResultCallback pResultCallback, EntityAnchorArgument.Anchor pAnchor, CommandSigningContext pSigningContext, TaskChainer pChatMessageChainer) -
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> 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
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 pFromAnchor, double pX, double pY, double pZ) ClientboundPlayerLookAtPacket
(EntityAnchorArgument.Anchor pFromAnchor, Entity pEntity, EntityAnchorArgument.Anchor pToAnchor) -
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 pFromAnchor, Entity pEntity, EntityAnchorArgument.Anchor pToAnchor) void
ServerPlayer.lookAt
(EntityAnchorArgument.Anchor pAnchor, Vec3 pTarget) -
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 pAnchor, Vec3 pTarget) void
LivingEntity.lookAt
(EntityAnchorArgument.Anchor pAnchor, Vec3 pTarget)