Class FunctionMythicLootTableRewards

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

public class FunctionMythicLootTableRewards extends FunctionReward
  • Constructor Details

    • FunctionMythicLootTableRewards

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

      public FunctionMythicLootTableRewards()
  • Method Details

    • buildMenuButton

      public MenuButton buildMenuButton()
      Description copied from class: DungeonFunction
      Creates and returns a button for use with the function browser menu. MenuButton can be initialized with a Spigot Material, and provided with a display name, lore, enchant effect, and amount.
      Overrides:
      buildMenuButton in class FunctionReward
      Returns:
      The menu button that will be displayed in the menu.
      See Also:
    • initRewardsGUI

      public void initRewardsGUI()
      Overrides:
      initRewardsGUI in class FunctionReward
    • onEnable

      public void onEnable()
      Description copied from class: DungeonFunction
      Override me if you have additional code to run when this function is ENABLED.
      Overrides:
      onEnable in class FunctionReward
    • buildHotbarMenu

      public void buildHotbarMenu()
      Description copied from class: DungeonFunction
      Used to build a hotbar menu for this function. Use `menu.addMenuItem()` to add buttons to the hotbar menu, creating a `new MenuItem()` and filling in the provided methods.
      Overrides:
      buildHotbarMenu in class FunctionReward
      See Also: