Targeters
Part of Mythic Mobs Integration.
Dungeon Targeters resolve to the players, mobs, or locations inside the caster's dungeon instance. They can be used anywhere Mythic Mobs accepts a targeter (the @target slot of a mechanic). Click a targeter for its full attributes and examples.
Note: these targeters only load when Mythic Mobs is installed alongside Mythic Dungeons. Entries marked Procedural only require a generated (procedural) dungeon; they resolve to nothing in classic dungeons, and they do work in procedural dungeons running under one-world. Every targeter below except
@playersinworldresolves to nothing when the caster is not in a dungeon;@playersinworldfalls back to the caster's whole world.
| Targeter | Kind | Description | Added |
|---|---|---|---|
@dungeonplayers |
Entity | Every player in the caster's instance | v2.0.1 |
@dungeonalive |
Entity | Every player still counted as alive in the instance | v2.0.1 |
@dungeonspectators |
Entity | Every spectating player in the instance | v2.0.1 |
@dungeonparty |
Entity | The dungeon party present in the instance | v2.0.1 |
@dungeonmobs |
Entity | Every Mythic mob in the instance world | v2.0.1 |
@playersinworld |
Entity | Every player in the caster's world (or instance under one-world) | v2.0.1 |
@room |
Entity | Entities or players inside a room (procedural only) | v2.0.0 |
@roomspawn |
Location | The spawn point or random points inside a room (procedural only) | v2.0.1 |
Mythic filters apply on top
Every targeter on this page is registered through Mythic's custom-targeter API, so Mythic wraps it and runs its own selector filters over the result. Two defaults surprise people most often:
- The caster is excluded. Mythic's
TargetSelfdefault isfalse, so a player casting a skill with@dungeonplayersis not in their own target list. Addtargetself=trueto the targeter to include them. - Spectators and creative-mode players are dropped by most mechanics. Mechanics that opt in keep them (
message,messagejson,sendtitle,sendactionmessage,speak,sendtoast,metaskill,randommessage,randomskill,setgamemode, and similar). For any other mechanic, addtargetcreative=trueto the mechanic to keep them, for example- damage{amount=5;targetcreative=true} @dungeonspectators.
Armor stands, markers, and Citizens NPCs are also excluded by default (targetarmorstands, targetmarkers, targetnpcs).
All of these defaults come from Mythic Mobs' own config under Targeters.DefaultEntityFilters, so a server owner can change them globally.
Entity targeters additionally accept Mythic's standard selector options, including limit, sort, skipTargetsUpToIndex, ignore, ignoretype, unique, conditions, and fallback. @roomspawn accepts Mythic's standard location options instead, including xoffset/yoffset/zoffset, centered, surface, blocktypes, blockignores, limit, and sort.
Do not use
target=on@room.targetis a reserved Mythic selector key and Mythic parses it off the same line. Use thetgalias instead.