spawnPlayerAt

open fun spawnPlayerAt(modPlayer: ModPlayer, x: Double, y: Double, z: Double)(source)

Spawns a player at the given location, clears inventory, and gives class items.

Parameters

modPlayer

The custom player wrapper

x

The x coordinate

y

The y coordinate

z

The z coordinate