Class CitizensEnabled

java.lang.Object
com.ryandw11.structure.citizens.CitizensEnabled
All Implemented Interfaces:
CitizensNpcHook

public class CitizensEnabled extends Object implements CitizensNpcHook
Spawns a Citizen NPC at the location of the sign.
  • Constructor Details

  • Method Details

    • spawnNpc

      public void spawnNpc(NpcHandler npcHandler, String name, org.bukkit.Location loc)
      Spawns a Citizen NPC.
      Specified by:
      spawnNpc in interface CitizensNpcHook
      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.