Uses of Enum Class
io.papermc.paper.entity.LookAnchor
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of LookAnchor in io.papermc.paper.command.brigadier.argument
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.arguments.ArgumentType
<LookAnchor> ArgumentTypes.entityAnchor()
An entity anchor argument. -
Uses of LookAnchor in io.papermc.paper.entity
Modifier and TypeMethodDescriptionstatic LookAnchor
Returns the enum constant of this class with the specified name.static LookAnchor[]
LookAnchor.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of LookAnchor in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
Entity.lookAt
(double x, double y, double z, @NotNull LookAnchor entityAnchor) Causes the entity to look towards the given position.default void
Entity.lookAt
(Position position, @NotNull LookAnchor entityAnchor) Causes the entity to look towards the given position.void
Player.lookAt
(Entity entity, @NotNull LookAnchor playerAnchor, @NotNull LookAnchor entityAnchor) Causes the player to look towards the given entity.