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.AnchorCommandSourceStack.anchorMethods 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.AnchorModifierConstructorDescriptionprotectedCommandSourceStack(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_NAMEMethods in net.minecraft.commands.arguments that return EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionstatic EntityAnchorArgument.AnchorEntityAnchorArgument.getAnchor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static EntityAnchorArgument.AnchorEntityAnchorArgument.parse(com.mojang.brigadier.StringReader reader) static EntityAnchorArgument.AnchorReturns 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.AnchorClientboundPlayerLookAtPacket.fromAnchorprivate final EntityAnchorArgument.AnchorClientboundPlayerLookAtPacket.toAnchorMethods 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.AnchorTeleportCommand.LookAtEntity.anchorThe field for theanchorrecord component.Methods in net.minecraft.server.commands that return EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionTeleportCommand.LookAtEntity.anchor()Returns the value of theanchorrecord 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 aLookAtEntityrecord class. -
Uses of EntityAnchorArgument.Anchor in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type EntityAnchorArgument.AnchorModifier and TypeMethodDescriptionvoidServerPlayer.lookAt(EntityAnchorArgument.Anchor fromAnchor, Entity entity, EntityAnchorArgument.Anchor toAnchor) voidServerPlayer.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 TypeMethodDescriptionvoidEntity.lookAt(EntityAnchorArgument.Anchor anchor, Vec3 target) voidLivingEntity.lookAt(EntityAnchorArgument.Anchor anchor, Vec3 target)