Package com.ryandw11.structure.citizens
Class CitizensEnabled
java.lang.Object
com.ryandw11.structure.citizens.CitizensEnabled
- All Implemented Interfaces:
CitizensNpcHook
Spawns a Citizen NPC at the location of the sign.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
spawnNpc(NpcHandler npcHandler, String name, org.bukkit.Location loc)
Spawns a Citizen NPC.
-
Constructor Details
-
CitizensEnabled
-
-
Method Details
-
spawnNpc
Spawns a Citizen NPC.- Specified by:
spawnNpc
in interfaceCitizensNpcHook
- Parameters:
npcHandler
- The handler for the NPC config.name
- The alias of the NPC in the "npc" configuration file.loc
- The location where to spawn the NPC.
-