Update Functions authored by Taiyou06's avatar Taiyou06
Functions perform various actions and events in the dungeon. To those familiar with Mythic Mobs, these are similar to mechanics. This includes spawning mobs, sending messages, playing sounds, running commands, and even performing Mythic skills! Functions perform various actions and events in the dungeon. To those familiar with Mythic Mobs, these are similar to mechanics. This includes spawning mobs, sending messages, playing sounds, running commands, and even performing Mythic skills!
Common Function Options Common Function Options
---------------- ----------------
All functions have a set of configurable options when you create or edit them. Common options that are seen across many different functions are listed here. Their default values are often different depending on the function in question. All functions have a set of configurable options when you create or edit them. Common options that are seen across many different functions are listed here. Their default values are often different depending on the function in question.
* **Trigger: [Trigger Name]** * **Trigger: [Trigger Name]**
*Applies to all functions.* Opens the trigger's hotbar menu. *Applies to all functions.* Opens the trigger's hotbar menu.
* **Target Type** * **Target Type**
*Only available on select functions.* Cycles through target options. Options are: `PLAYER`, `PARTY`, `NONE`. *Only available on select functions.* Cycles through target options. Options are: `PLAYER`, `PARTY`, `NONE`.
`PLAYER` - If the function is targeted and the trigger is activated by a specific player, the function will target that player. *(Not available if the selected trigger doesn't have a player associated with it.)* `PLAYER` - If the function is targeted and the trigger is activated by a specific player, the function will target that player. *(Not available if the selected trigger doesn't have a player associated with it.)*
`PARTY` - If the function is targeted, the function will target all players in the party. `PARTY` - If the function is targeted, the function will target all players in the party.
`NONE` - The function targets nobody. *(Not available if the function requires a target.)* `NONE` - The function targets nobody. *(Not available if the function requires a target.)*
Functions List Functions List
---------------- ----------------
| Icon | Name | Category | Description | | Icon | Name | Category | Description |
| ------ | :----: | ------ | ------ | | ------ | :----: | ------ | ------ |
| ![](https://i.imgur.com/SQbt5pf.png) | **Start Dungeon** | *Dungeon* | Starts the dungeon. *Required if your dungeon has a lobby!* | | ![](https://i.imgur.com/SQbt5pf.png) | **Start Dungeon** | *Dungeon* | Starts the dungeon. *Required if your dungeon has a lobby!* |
| ![](https://i.imgur.com/JHmLnxm.png) | **Finish Dungeon** | *Dungeon* | **RECOMMENDED** Formally finishes the dungeon for the player or players. | | ![](https://i.imgur.com/JHmLnxm.png) | **Finish Dungeon** | *Dungeon* | **RECOMMENDED** Formally finishes the dungeon for the player or players. |
| ![](https://i.imgur.com/snDmE1k.png) | **Leave Dungeon** | *Dungeon* | Sends the player or players out of the dungeon without completing it. | | ![](https://i.imgur.com/snDmE1k.png) | **Leave Dungeon** | *Dungeon* | Sends the player or players out of the dungeon without completing it. |
| ![](https://i.imgur.com/14ymqFg.png) | **Checkpoint** | *Dungeon* | Sets a respawn checkpoint for the player or players. | | ![](https://i.imgur.com/14ymqFg.png) | **Checkpoint** | *Dungeon* | Sets a respawn checkpoint for the player or players. |
| ![](https://i.imgur.com/feyEUwC.png) | **Signal Sender** | *Dungeon* | Broadcasts a silent, configured signal to all "Signal Receiver" triggers. | | ![](https://i.imgur.com/feyEUwC.png) | **Signal Sender** | *Dungeon* | Broadcasts a silent, configured signal to all "Signal Receiver" triggers. |
| ![](https://i.imgur.com/QqZIQ15.png) | **Lives Editor** | *Dungeon* | Modifies the player or players lives. | | ![](https://i.imgur.com/QqZIQ15.png) | **Lives Editor** | *Dungeon* | Modifies the player or players lives. |
| ![](https://i.imgur.com/xyGGseB.png) | **Reviver** | *Dungeon* | Allows bringing another player back from death. | | ![](https://i.imgur.com/xyGGseB.png) | **Reviver** | *Dungeon* | Allows bringing another player back from death. |
| ![](https://i.imgur.com/1BxYZ26.png) | **Chunk Loader** | *Dungeon* | When triggered, forces the chunk this function is in to remain loaded. Trigger again to allow the chunk to unload. | | ![](https://i.imgur.com/1BxYZ26.png) | **Chunk Loader** | *Dungeon* | When triggered, forces the chunk this function is in to remain loaded. Trigger again to allow the chunk to unload. |
| ![](https://i.imgur.com/MKlkBRh.png) | **Dungeon Status** | *Dungeon* | Sets the dungeons "status" to a configurable text. Similar to Mythic Mobs stances. | | ![](https://i.imgur.com/MKlkBRh.png) | **Dungeon Status** | *Dungeon* | Sets the dungeons "status" to a configurable text. Similar to Mythic Mobs stances. |
| ![](https://i.imgur.com/3eKOgeL.png) | **Difficulty** | *Dungeon* | Allows changing the difficulty of the dungeon on the fly. | | ![](https://i.imgur.com/3eKOgeL.png) | **Difficulty** | *Dungeon* | Allows changing the difficulty of the dungeon on the fly. |
| ![](https://i.imgur.com/ICSGaqm.png) | **Message Sender** | *Player* | Sends a configured message to the player or players. | | ![](https://i.imgur.com/ICSGaqm.png) | **Message Sender** | *Player* | Sends a configured message to the player or players. |
| ![](https://i.imgur.com/cS4n7C7.png) | **Teleporter** | *Player* | Teleports the player or players to a configured location. | | ![](https://i.imgur.com/cS4n7C7.png) | **Teleporter** | *Player* | Teleports the player or players to a configured location. |
| ![](https://i.imgur.com/hHbHJ0K.png) | **Title Sender** | *Player* | Sends a configured title message to the player or players. | | ![](https://i.imgur.com/hHbHJ0K.png) | **Title Sender** | *Player* | Sends a configured title message to the player or players. |
| ![](https://i.imgur.com/9JyLFHO.png) | **Item Dispenser** | *Player* | Gives or drops a configured item at the function's location. | | ![](https://i.imgur.com/9JyLFHO.png) | **Item Dispenser** | *Player* | Gives or drops a configured item at the function's location. |
| ![](https://i.imgur.com/vQcqJ9i.png) | **Key Dispenser** | *Player* | Gives one player a configured key item. Defaults to a dungeon key item. *Note: Similar to Item Dispenser, however it reports a key being found to the players and gives the key to the party leader if the function is set to target the party.* | | ![](https://i.imgur.com/vQcqJ9i.png) | **Key Dispenser** | *Player* | Gives one player a configured key item. Defaults to a dungeon key item. *Note: Similar to Item Dispenser, however it reports a key being found to the players and gives the key to the party leader if the function is set to target the party.* |
| ![](https://i.imgur.com/1idXCEF.png) | **Rewards** | *Player* | Opens a rewards inventory the player can take items from. | | ![](https://i.imgur.com/1idXCEF.png) | **Rewards** | *Player* | Opens a rewards inventory the player can take items from. |
| ![](https://i.imgur.com/2lBYrfD.png) | **Random Rewards** | *Player* | Opens a rewards inventory that randomizes its contents. | | ![](https://i.imgur.com/2lBYrfD.png) | **Random Rewards** | *Player* | Opens a rewards inventory that randomizes its contents. |
| ![](https://i.imgur.com/8F95xsI.png) | **Loot Table Rewards** | *Player* | Opens a rewards inventory that randomizes its contents based on a loot table. | | ![](https://i.imgur.com/8F95xsI.png) | **Loot Table Rewards** | *Player* | Opens a rewards inventory that randomizes its contents based on a loot table. |
| ![](https://i.imgur.com/KlJTbgy.png) | **Mob Spawner** | *Location* | Spawns configured mobs at the function's location. | | ![](https://i.imgur.com/KlJTbgy.png) | **Mob Spawner** | *Location* | Spawns configured mobs at the function's location. |
| ![](https://i.imgur.com/QqZIQ15.png) | **NPC Spawner** | *Location* | Spawns configured NPC at the function's location. _Only available with Citizens installed. Experimental feature! Stable, but not reliable as of yet!_ | | ![](https://i.imgur.com/QqZIQ15.png) | **NPC Spawner** | *Location* | Spawns configured NPC at the function's location. _Only available with Citizens installed. Experimental feature! Stable, but not reliable as of yet!_ |
| ![](https://i.imgur.com/AoWkosU.png) | **Block Editor** | *Location* | Places or removes a block at the function's location. | | ![](https://i.imgur.com/AoWkosU.png) | **Block Editor** | *Location* | Places or removes a block at the function's location. |
| ![](https://i.imgur.com/bDfRRNX.png) | **Sound Player** | *Location* | Plays a configured sound. | | ![](https://i.imgur.com/bDfRRNX.png) | **Sound Player** | *Location* | Plays a configured sound. |
| ![](https://i.imgur.com/lKfaM32.png) | **Redstone Block** | *Location* | Places a redstone block at the function's location. | | ![](https://i.imgur.com/lKfaM32.png) | **Redstone Block** | *Location* | Places a redstone block at the function's location. |
| ![](https://i.imgur.com/WlMoWZQ.png) | **Door Controller** | *Location* | Makes a door lockable and unlockable with triggers. | | ![](https://i.imgur.com/WlMoWZQ.png) | **Door Controller** | *Location* | Makes a door lockable and unlockable with triggers. |
| ![](https://i.imgur.com/4PYBkKZ.png) | **Block Controller** | *Location* | Allows placing or breaking blocks at the function's location. | | ![](https://i.imgur.com/4PYBkKZ.png) | **Block Controller** | *Location* | Allows placing or breaking blocks at the function's location. |
| ![](https://i.imgur.com/MKlkBRh.png) | **Hologram** | *Location* | _(1.3.0+)_ Displays a text hologram at a specified location. | | ![](https://i.imgur.com/MKlkBRh.png) | **Hologram** | *Location* | _(1.3.0+)_ Displays a text hologram at a specified location. |
| ![](https://i.imgur.com/Vx2qiqp.png) | **Moving Block** | *Location* | Turns the block at this location into a moving block, which can be configured to slowly move somewhere else when triggered. | | ![](https://i.imgur.com/Vx2qiqp.png) | **Moving Block** | *Location* | Turns the block at this location into a moving block, which can be configured to slowly move somewhere else when triggered. |
| ![](https://i.imgur.com/NzC5MMy.png) | **Moving Block Cluster** | *Location* | Turns a group of blocks into a group of moving blocks. Works similarly to moving block, but allows selecting many blocks. | | ![](https://i.imgur.com/NzC5MMy.png) | **Moving Block Cluster** | *Location* | Turns a group of blocks into a group of moving blocks. Works similarly to moving block, but allows selecting many blocks. |
| ![](https://i.imgur.com/sWvmSgq.png) | **Mythic Skill** | *Meta* | Executes a Mythic Skill from the function's location. | | | **Room Door Controller** | *Room* | _(Procedural dungeons only)_ Opens, closes, or toggles named doors in the room this function is placed in. Pairs with the [Room Door trigger](Triggers#room-door) and the [`roomdoor` mythic mechanic](Mythic-Mobs-Integration/Mechanics#room-door). |
| ![](https://i.imgur.com/feyEUwC.png) | **Mythic Signal** | *Meta* | Sends a Mythic Mobs signal to nearby mobs. (For use with the ~onSignal MM trigger.) | | ![](https://i.imgur.com/sWvmSgq.png) | **Mythic Skill** | *Meta* | Executes a Mythic Skill from the function's location. |
| ![](https://i.imgur.com/C7h6Uq6.png) | **Command Sender** | *Meta* | Sends a command either from the player/players or console. | | ![](https://i.imgur.com/feyEUwC.png) | **Mythic Signal** | *Meta* | Sends a Mythic Mobs signal to nearby mobs. (For use with the ~onSignal MM trigger.) |
| ![](https://i.imgur.com/l34PTuS.png) | **Multi Function** | *Meta* | Allows running multiple functions at the same location and from the same trigger. | | ![](https://i.imgur.com/C7h6Uq6.png) | **Command Sender** | *Meta* | Sends a command either from the player/players or console. |
| ![](https://i.imgur.com/4U25SOy.png) | **Function Repeater** | *Meta* | Runs a function a configured number of times on an interval. | | ![](https://i.imgur.com/l34PTuS.png) | **Multi Function** | *Meta* | Allows running multiple functions at the same location and from the same trigger. |
| ![](https://i.imgur.com/av1WoSb.png) | **Delayed Function** | *Meta* | Runs a function after a specified number of ticks have passed. | | ![](https://i.imgur.com/4U25SOy.png) | **Function Repeater** | *Meta* | Runs a function a configured number of times on an interval. |
| ![](https://i.imgur.com/1BxYZ26.png) | **Function Randomizer** | *Meta* | Randomly chooses from a list of functions provided to run. | | ![](https://i.imgur.com/av1WoSb.png) | **Delayed Function** | *Meta* | Runs a function after a specified number of ticks have passed. |
| ![](https://i.imgur.com/AlCRfHe.png) | **Function Sequencer** | *Meta* | Runs a list of functions one at a time in order each time it's triggered. | | | **Instance Variable** | *Meta* | Sets, adds, or subtracts an instance-scoped variable. The variable is readable from triggers via the "Instance Variable" trigger condition and from Mythic skills via `<dungeon.var.X>`. See [Variables](Mythic-Mobs-Integration/Variables). |
| | **Random Function** | *Meta* | Picks one of several configured functions at random and runs it. |
| ![](https://i.imgur.com/1BxYZ26.png) | **Function Randomizer** | *Meta* | Randomly chooses from a list of functions provided to run. |
| ![](https://i.imgur.com/AlCRfHe.png) | **Function Sequencer** | *Meta* | Runs a list of functions one at a time in order each time it's triggered. |
| ![](https://i.imgur.com/YRJ3W56.png) | **Dungeon Variable** | *Meta* | Allows setting and modifying a custom variable. Best used with the Variable Comparison condition. Variables can be used in message senders with the following format: <my_variable_here> | | ![](https://i.imgur.com/YRJ3W56.png) | **Dungeon Variable** | *Meta* | Allows setting and modifying a custom variable. Best used with the Variable Comparison condition. Variables can be used in message senders with the following format: <my_variable_here> |
\ No newline at end of file