hide
abstract fun hide(@NotNull channel: @NotNull PlayerChannelHandler, @NotNull registry: @NotNull EntityTrackerRegistry)
Sends a hide packet for an entity to a player via their channel handler.
Since
1.15.2
Parameters
channel
the player's channel handler
registry
the entity tracker registry
open fun hide(@NotNull channel: @NotNull PlayerChannelHandler, @NotNull registry: @NotNull EntityTrackerRegistry, @NotNull condition: @NotNull BooleanSupplier)
Sends a hide packet for an entity to a player if a condition is met.
For players, the hide operation is delayed based on configuration.
Since
1.15.2
Parameters
channel
the player's channel handler
registry
the entity tracker registry
condition
the condition to check