Class NpcHandler.NpcInfo

java.lang.Object
com.ryandw11.structure.NpcHandler.NpcInfo
Enclosing class:
NpcHandler

public static class NpcHandler.NpcInfo extends Object
NPC config information holder
  • Field Details

    • name

      public String name
      The name of the NPC.
    • skinUrl

      public String skinUrl
      The URL of the NPC.
    • movesAround

      public boolean movesAround
      If the NPC moves around.
    • looksAtPlayer

      public boolean looksAtPlayer
      If the NPC looks at the player.
    • isProtected

      public boolean isProtected
      If the NPC is protected.
    • entityType

      public String entityType
      The entity type of the NPC.

      Villager by default.

    • commandsOnCreate

      public List<String> commandsOnCreate
      The list of commands to execute on creation.
    • commandsOnClick

      public List<String> commandsOnClick
      The list of commands to execute on click.
    • commandsSequential

      public boolean commandsSequential
      If the commands should be executed sequentially.
  • Constructor Details

    • NpcInfo

      public NpcInfo()