Package | Description |
---|---|
org.inventivetalent.npclib | |
org.inventivetalent.npclib.event | |
org.inventivetalent.npclib.npc | |
org.inventivetalent.npclib.registry |
Modifier and Type | Method and Description |
---|---|
static NPCType |
NPCType.forEntityType(org.bukkit.entity.EntityType entityType) |
static NPCType |
NPCType.forNpcClass(Class<? extends NPCAbstract<?,?>> clazz) |
static NPCType |
NPCType.fromString(String string) |
static NPCType |
NPCType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NPCType[] |
NPCType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
NPCType |
NPCEvent.getNpcType()
Get the NPC's type
|
Modifier and Type | Method and Description |
---|---|
NPCType |
NPCAbstract.getNpcType() |
Modifier and Type | Method and Description |
---|---|
NPCAbstract<?,?> |
NPCRegistry.spawnNPC(org.bukkit.Location location,
NPCType npcType)
Creates and spawns the specified NPC Type
|
Copyright © 2018. All rights reserved.