viewFilter
Adds a filter to restrict which players can view the model.
The given predicate is combined with the existing view filter using logical AND.
pipeline.viewFilter(player -> player.hasPermission("model.view"));
Content copied to clipboard
Since
1.15.2
Parameters
filter
the predicate to filter players
Throws
if filter is null