Uses of Enum Class
net.minecraft.command.argument.EntityAnchorArgumentType.EntityAnchor
Packages that use EntityAnchorArgumentType.EntityAnchor
Package
Description
-
Uses of EntityAnchorArgumentType.EntityAnchor in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type EntityAnchorArgumentType.EntityAnchorModifier and TypeFieldDescription(package private) static final Map<String,
EntityAnchorArgumentType.EntityAnchor> EntityAnchorArgumentType.EntityAnchor.ANCHORS
Methods in net.minecraft.command.argument that return EntityAnchorArgumentType.EntityAnchorModifier and TypeMethodDescriptionEntityAnchorArgumentType.getEntityAnchor
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) EntityAnchorArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Returns the enum constant of this class with the specified name.EntityAnchorArgumentType.EntityAnchor.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of EntityAnchorArgumentType.EntityAnchor in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type EntityAnchorArgumentType.EntityAnchorModifier and TypeMethodDescriptionvoid
Entity.lookAt
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget
.void
LivingEntity.lookAt
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget
. -
Uses of EntityAnchorArgumentType.EntityAnchor in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as EntityAnchorArgumentType.EntityAnchorModifier and TypeFieldDescriptionprivate final EntityAnchorArgumentType.EntityAnchor
LookAtS2CPacket.selfAnchor
private final EntityAnchorArgumentType.EntityAnchor
LookAtS2CPacket.targetAnchor
Methods in net.minecraft.network.packet.s2c.play that return EntityAnchorArgumentType.EntityAnchorConstructors in net.minecraft.network.packet.s2c.play with parameters of type EntityAnchorArgumentType.EntityAnchorModifierConstructorDescriptionLookAtS2CPacket
(EntityAnchorArgumentType.EntityAnchor selfAnchor, double targetX, double targetY, double targetZ) LookAtS2CPacket
(EntityAnchorArgumentType.EntityAnchor selfAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor targetAnchor) -
Uses of EntityAnchorArgumentType.EntityAnchor in net.minecraft.server.command
Fields in net.minecraft.server.command declared as EntityAnchorArgumentType.EntityAnchorModifier and TypeFieldDescriptionprivate final EntityAnchorArgumentType.EntityAnchor
ServerCommandSource.entityAnchor
private final EntityAnchorArgumentType.EntityAnchor
TeleportCommand.LookTarget.targetAnchor
Methods in net.minecraft.server.command that return EntityAnchorArgumentType.EntityAnchorMethods in net.minecraft.server.command with parameters of type EntityAnchorArgumentType.EntityAnchorModifier and TypeMethodDescriptionServerCommandSource.withEntityAnchor
(EntityAnchorArgumentType.EntityAnchor anchor) ServerCommandSource.withLookingAt
(Entity entity, EntityAnchorArgumentType.EntityAnchor anchor) Constructors in net.minecraft.server.command with parameters of type EntityAnchorArgumentType.EntityAnchorModifierConstructorDescriptionLookTarget
(Entity target, EntityAnchorArgumentType.EntityAnchor targetAnchor) protected
ServerCommandSource
(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String name, Text displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, @Nullable com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor, SignedCommandArguments signedArguments, FutureQueue messageChainTaskQueue) -
Uses of EntityAnchorArgumentType.EntityAnchor in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type EntityAnchorArgumentType.EntityAnchorModifier and TypeMethodDescriptionvoid
ServerPlayerEntity.lookAt
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget
.void
ServerPlayerEntity.lookAtEntity
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor)