Beta
The location in which to spawn the player.
The name for the player.
The game mode for the player.
Spawns a simulated player that isn't associated to a specific Test. You can use SimulatedPlayer.disconnect to remove the player from the world.
no-restricted-execution - This function can't be called in restricted-execution mode.
This function can throw errors.
minecraftcommon.EngineError
The location in which to spawn the player.