Class ConditionMobWithin
java.lang.Object
net.playavalon.mythicdungeons.api.parents.DungeonElement
net.playavalon.mythicdungeons.api.parents.TriggerCondition
net.playavalon.mythicdungeons.dungeons.conditions.ConditionMobWithin
- 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 EXECUTIONMethods inherited from class net.playavalon.mythicdungeons.api.parents.TriggerCondition
clone, disable, enable, init, onDisable, onEnable
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
-
ConditionMobWithin
-
ConditionMobWithin
public ConditionMobWithin()
-
-
Method Details
-
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:
-