forEachAllPlayer

open fun forEachAllPlayer(@NotNull consumer: @NotNull Consumer<PlayerChannelHandler>)

Performs the given action for each player channel handler for whom the model is spawned.


pipeline.forEachAllPlayer(handler -> bundler.send(handler));

Since

3.6.0

Parameters

consumer

the action to perform on each player channel handler

Throws