Uses of Enum Class
net.minecraft.command.argument.EntityAnchorArgumentType.EntityAnchor
Package
Description
-
Uses of EntityAnchorArgumentType.EntityAnchor in net.minecraft.command.argument
Modifier and TypeFieldDescription(package private) static final Map<String,
EntityAnchorArgumentType.EntityAnchor> EntityAnchorArgumentType.EntityAnchor.ANCHORS
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate final EntityAnchorArgumentType.EntityAnchor
LookAtS2CPacket.selfAnchor
private final EntityAnchorArgumentType.EntityAnchor
LookAtS2CPacket.targetAnchor
ModifierConstructorDescriptionLookAtS2CPacket
(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
Modifier and TypeFieldDescriptionprivate final EntityAnchorArgumentType.EntityAnchor
ServerCommandSource.entityAnchor
private final EntityAnchorArgumentType.EntityAnchor
TeleportCommand.LookTarget.targetAnchor
Modifier and TypeMethodDescriptionServerCommandSource.withEntityAnchor
(EntityAnchorArgumentType.EntityAnchor anchor) ServerCommandSource.withLookingAt
(Entity entity, EntityAnchorArgumentType.EntityAnchor anchor) ModifierConstructorDescriptionLookTarget
(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
Modifier 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)