Class TriggerRemote
java.lang.Object
net.playavalon.mythicdungeons.api.parents.DungeonElement
net.playavalon.mythicdungeons.api.parents.DungeonTrigger
net.playavalon.mythicdungeons.dungeons.triggers.TriggerRemote
- 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
init()
void
initLegacyFields
(Map<String, Object> config) void
Methods inherited from class net.playavalon.mythicdungeons.api.parents.DungeonTrigger
addCondition, checkConditions, clone, disable, enable, 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
-
TriggerRemote
-
TriggerRemote
public TriggerRemote()
-
-
Method Details
-
init
public void init()- Overrides:
init
in classDungeonTrigger
-
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:
-
initLegacyFields
-
onTriggerReceive
-
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:
-