All Implemented Interfaces:
Cloneable, org.bukkit.configuration.serialization.ConfigurationSerializable, org.bukkit.event.Listener
Direct Known Subclasses:
TriggerGateAnd, TriggerGateOr

public abstract class TriggerGate extends DungeonTrigger
  • Constructor Details

  • Method Details

    • init

      public void init()
      Overrides:
      init in class DungeonTrigger
    • onEnable

      public void onEnable()
      Description copied from class: DungeonTrigger
      Override me if you have additional code to run when this trigger is ENABLED (I.e. Starting a timer to perform a check every X ticks instead of via Event Listener.)
      Overrides:
      onEnable in class DungeonTrigger
    • onDisable

      public void onDisable()
      Description copied from class: DungeonTrigger
      Override me if you have additional code to run when this trigger is DISABLED (I.e. Canceling the timer mentioned in the `onEnable()` override.)
      Overrides:
      onDisable in class DungeonTrigger
    • addTrigger

      public void addTrigger(DungeonTrigger trigger)
    • removeTrigger

      public void removeTrigger(DungeonTrigger trigger)
    • buildHotbarMenu

      public void buildHotbarMenu()
      Description copied from class: DungeonTrigger
      Used to build a hotbar menu for this trigger. Assign `menu` with a new HotbarMenu object and fill out the methods provided.
      Specified by:
      buildHotbarMenu in class DungeonTrigger
      See Also:
    • clone

      public TriggerGate clone()
      Overrides:
      clone in class DungeonTrigger