Files

20 lines
593 B
Markdown

# IScriptWorld.spawnNpc
[← IScriptWorld](index.md) · [← Master](../../wiki.md)
spawnNpc(java.lang.String id, double x, double y, double z)
default IScriptNpc Spawn an NPC at given position with default state.
---
spawnNpc(java.lang.String id, java.lang.String state, double x, double y, double z)
IScriptNpc Spawn an NPC at given position with given state.
---
spawnNpc(java.lang.String id, java.lang.String state, double x, double y, double z, float yaw, float pitch, float headYaw)
IScriptNpc Spawn an NPC at given position with given state and rotation.