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.remove to remove the player from the world.
This function can't be called in read-only mode.
This function can throw errors.
minecraftcommon.EngineError
The location in which to spawn the player.