isCustomNameVisible

open fun isCustomNameVisible(@NotNull player: @NotNull PlatformLocation, @NotNull target: @NotNull PlatformLocation): Boolean

Checks if a target entity's custom name is visible to a player.

Return

true if the custom name is visible, false otherwise

Since

2.0.0

Parameters

player

the player's location

target

the target entity's location