| Package | Description |
|---|---|
| net.risingworld.api.events.npc |
| Modifier and Type | Method and Description |
|---|---|
NpcSpawnEvent.Origin |
NpcSpawnEvent.getOrigin()
Gets the origin of this npc spawn, i.e. the reason why this npc spawns
(e.g. natural spawn, or spawned via command etc).
|
static NpcSpawnEvent.Origin |
NpcSpawnEvent.Origin.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NpcSpawnEvent.Origin[] |
NpcSpawnEvent.Origin.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
NpcSpawnEvent(Npc npc,
Player player,
NpcSpawnEvent.Origin origin) |