spawn
@ApiStatus.Internal
Spawns the model for a player and bundles initial packets.
pipeline.spawn(player, bundler, spawned -> {
spawned.load();
});
Content copied to clipboard
Return
true if spawned successfully, false if the player is not registered in player manager
Since
1.15.2
Parameters
player
the player to spawn for
bundler
the packet bundler to receive spawn packets
consumer
a consumer accepting the newly created SpawnedPlayer
Throws
if player, bundler, or consumer is null