allPlayer

@NotNull
open fun allPlayer(): @NotNull Stream<PlayerChannelHandler>

Returns a stream of channel handlers for all players for whom the model is spawned.


pipeline.allPlayer().forEach(handler -> {
    // process player channel handler
});

Return

the stream of all spawned player channel handlers

Since

1.15.2