Class TriggerDungeonStart
java.lang.Object
net.playavalon.mythicdungeons.api.parents.DungeonElement
net.playavalon.mythicdungeons.api.parents.DungeonTrigger
net.playavalon.mythicdungeons.dungeons.triggers.TriggerDungeonStart
- All Implemented Interfaces:
Cloneable
,org.bukkit.configuration.serialization.ConfigurationSerializable
,org.bukkit.event.Listener
-
Field Summary
Fields inherited from class net.playavalon.mythicdungeons.api.parents.DungeonTrigger
category
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Used to build a hotbar menu for this trigger.Creates and returns a button for use with the trigger browser menu.void
onDungeonStart
(DungeonStartEvent event) Methods inherited from class net.playavalon.mythicdungeons.api.parents.DungeonTrigger
addCondition, checkConditions, clone, disable, enable, init, initConditions, initConditionsMenu, onDisable, onEnable, onTrigger, removeCondition, setDisplayName, trigger, trigger, trigger, triggerParty, triggerPlayer
Methods inherited from class net.playavalon.mythicdungeons.api.parents.DungeonElement
initFields, serialize
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
Constructor Details
-
TriggerDungeonStart
-
TriggerDungeonStart
public TriggerDungeonStart()
-
-
Method Details
-
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 classDungeonTrigger
- Returns:
- The menu button that will be displayed in the menu.
- See Also:
-
onDungeonStart
-
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 classDungeonTrigger
- See Also:
-