hideFilter

open fun hideFilter(@NotNull filter: @NotNull Predicate<PlatformPlayer>)

Adds a filter to determine if a player should be hidden from the model.

The given predicate is combined with the existing hide filter using logical OR.


pipeline.hideFilter(player -> player.isVanished());

Since

1.15.2

Parameters

filter

the predicate to hide players

Throws