EntityUtil

@ApiStatus.Internal
class EntityUtil

Entity

Properties

Link copied to clipboard
Entity model view radius.
Link copied to clipboard
Default render distance.

Functions

Link copied to clipboard
open fun canSee(@NotNull player: @NotNull Location, @NotNull target: @NotNull Location): Boolean
Checks this player can see that entity
Link copied to clipboard
open fun isCustomNameVisible(@NotNull player: @NotNull Location, @NotNull target: @NotNull Location): Boolean
Checks this target's custom name is visible at player
Link copied to clipboard
open fun isInPoint(@NotNull player: @NotNull Location, @NotNull target: @NotNull Location): Boolean
Checks this target is in player's point