Class FunctionRandom
java.lang.Object
net.playavalon.mythicdungeons.api.parents.DungeonElement
net.playavalon.mythicdungeons.api.parents.DungeonFunction
net.playavalon.mythicdungeons.dungeons.functions.meta.FunctionMulti
net.playavalon.mythicdungeons.dungeons.functions.meta.FunctionRandom
- All Implemented Interfaces:
Cloneable
,org.bukkit.configuration.serialization.ConfigurationSerializable
,org.bukkit.event.Listener
-
Field Summary
Fields inherited from class net.playavalon.mythicdungeons.api.parents.DungeonFunction
category, requiresTarget
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a button for use with the function browser menu.void
runFunction
(TriggerFireEvent triggerEvent, List<MythicPlayer> targets) Methods inherited from class net.playavalon.mythicdungeons.dungeons.functions.meta.FunctionMulti
addFunction, buildHotbarMenu, clone, init, onDisable, onEnable, removeFunction, setInstance, setLocation
Methods inherited from class net.playavalon.mythicdungeons.api.parents.DungeonFunction
disable, enable, execute, executeForParty, executeForPlayer, onExecute, setCategory, setDisplayName, setTrigger
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
-
FunctionRandom
-
FunctionRandom
public FunctionRandom()
-
-
Method Details
-
runFunction
- Overrides:
runFunction
in classFunctionMulti
-
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 classFunctionMulti
- Returns:
- The menu button that will be displayed in the menu.
- See Also:
-