Class TriggerPlayerDeath

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

public class TriggerPlayerDeath extends DungeonTrigger
  • Constructor Details

    • TriggerPlayerDeath

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

      public TriggerPlayerDeath()
  • Method Details

    • onPlayerDeath

      public void onPlayerDeath(org.bukkit.event.entity.PlayerDeathEvent 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: