spawnEntity

fun spawnEntity(location: Location): Entity

Creates and spawns an entity of this type at location, adding it to the tracking cache.


fun spawnEntity(location: Location, additionalArgs: List<String>): Entity

spawnEntity variant that also applies additionalArgs.