Class TriggerBlockDetector

All Implemented Interfaces:
Cloneable, org.bukkit.configuration.serialization.ConfigurationSerializable, org.bukkit.event.Listener

public class TriggerBlockDetector extends DungeonTrigger
  • Constructor Details

    • TriggerBlockDetector

      public TriggerBlockDetector(Map<String,Object> config)
    • TriggerBlockDetector

      public TriggerBlockDetector()
  • Method Details

    • init

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

      public void onBlockPlace(org.bukkit.event.block.BlockPlaceEvent event)
    • onBlockBreak

      public void onBlockBreak(org.bukkit.event.block.BlockBreakEvent event)
    • buildMenuButton

      public MenuButton buildMenuButton()
      Description copied from class: DungeonTrigger
      Creates and returns a button for use with the trigger browser menu. MenuButton can be initialized with a Spigot Material, and provided with a display name, lore, enchant effect, and amount.
      Specified by:
      buildMenuButton in class DungeonTrigger
      Returns:
      The menu button that will be displayed in the menu.
      See Also:
    • 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: