Function: spawnSimulatedPlayer() experimental
playerspawnSimulatedPlayer(
location,name,gameMode):SimulatedPlayer
World Mutation Beta
Parameters
location
DimensionLocation
生成玩家的位置。 The location in which to spawn the player.
name
string
玩家的名称。 The name for the player.
gameMode
GameMode
玩家的游戏模式。 The game mode for the player.
Returns
Remarks
生成一个未与特定 Test 关联的模拟玩家。 你可以使用 SimulatedPlayer.remove 将玩家移出世界。
Spawns a simulated player that isn't associated to a specific Test. You can use SimulatedPlayer.remove to remove the player from the world.
Throws
This function can throw errors.
