Class ConditionMythic
java.lang.Object
net.playavalon.mythicdungeons.api.parents.DungeonElement
net.playavalon.mythicdungeons.api.parents.TriggerCondition
net.playavalon.mythicdungeons.dungeons.conditions.ConditionMythic
- All Implemented Interfaces:
Cloneable
,org.bukkit.configuration.serialization.ConfigurationSerializable
,org.bukkit.event.Listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Used to build a hotbar menu for this condition.Creates and returns a button for use with the condition browser menu.boolean
check
(TriggerFireEvent event) CODE RELATING TO EXECUTIONvoid
onEnable()
Override me if you have additional code to run when this function is ENABLED.Methods inherited from class net.playavalon.mythicdungeons.api.parents.TriggerCondition
clone, disable, enable, init, onDisable
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
-
ConditionMythic
-
ConditionMythic
public ConditionMythic()
-
-
Method Details
-
onEnable
public void onEnable()Description copied from class:TriggerCondition
Override me if you have additional code to run when this function is ENABLED.- Overrides:
onEnable
in classTriggerCondition
-
check
Description copied from class:TriggerCondition
CODE RELATING TO EXECUTION- Specified by:
check
in classTriggerCondition
-
buildMenuButton
Description copied from class:TriggerCondition
Creates and returns a button for use with the condition 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 classTriggerCondition
- Returns:
- The menu button that will be displayed in the menu.
- See Also:
-
buildHotbarMenu
public void buildHotbarMenu()Description copied from class:TriggerCondition
Used to build a hotbar menu for this condition. Assign `menu` with a new HotbarMenu object and fill out the methods provided.- Specified by:
buildHotbarMenu
in classTriggerCondition
- See Also:
-