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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidspawnNpc(NpcHandler npcHandler, String name, org.bukkit.Location loc)Spawns a Citizen NPC.
-
Constructor Details
-
CitizensEnabled
-
-
Method Details
-
spawnNpc
Spawns a Citizen NPC.- Specified by:
spawnNpcin 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.
-