Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 137
    • Issues 137
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
  • Targeters

Targeters · Changes

Page history
Update Targeters authored Oct 15, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 33 additions and 33 deletions
+33 -33
  • Skills/Targeters.md Skills/Targeters.md +33 -33
  • No files found.
Skills/Targeters.md
View page @ f946dd07
...@@ -189,16 +189,16 @@ There are some common attributes that can be used in most of the Targeters, depe ...@@ -189,16 +189,16 @@ There are some common attributes that can be used in most of the Targeters, depe
## All Targeters ## All Targeters
| Attribute | Shorthand | Description | | Attribute | Aliases | Description | Default |
| ---------------------------------------- | ---------------- | ----------------------------------------- |-----------|-----------|----------------------------------------------------------------------|---------|
| targetconditions | conditions, cond, c | [Inline Target Conditions](/Skills/Inline-Conditions#targetconditions) | | targetconditions | conditions, cond, c | [Inline Target Conditions](/Skills/Inline-Conditions#targetconditions) | |
### Sudo Attributes ### Sudo Attributes
| Attribute | Shorthand | Description | | Attribute | Aliases | Description | Default |
| ---------------------------------------- | ---------------- | ----------------------------------------- |-----------|-----------|----------------------------------------------------------------------|---------|
| sudoparent | fromparent, ofparent, asparent, parent, ofparent | If this attribute is set to `true`, the targeter will be parsed as if it was the [Parent][] of the casting entity executing the mechanic| | sudoparent | fromparent, ofparent, asparent, parent, ofparent | If this attribute is set to `true`, the targeter will be parsed as if it was the [Parent][] of the casting entity executing the mechanic | |
| sudoowner | fromowner, ofowner, asowner, owner, ofowner | If this attribute is set to `true`, the targeter will be parsed as if it was the [Owner][] of the casting entity executing the mechanic | | sudoowner | fromowner, ofowner, asowner, owner, ofowner | If this attribute is set to `true`, the targeter will be parsed as if it was the [Owner][] of the casting entity executing the mechanic | |
| sudotrigger | fromtrigger, oftrigger, astrigger, trigger, oftrigger | If this attribute is set to `true`, the targeter will be parsed as if it was the [Trigger][] of the skilltree executing the mechanic | | sudotrigger | fromtrigger, oftrigger, astrigger, trigger, oftrigger | If this attribute is set to `true`, the targeter will be parsed as if it was the [Trigger][] of the skilltree executing the mechanic | |
In this example, [the mob will keep getting teleported in front of its owner](https://cdn.discordapp.com/attachments/523443579574681600/1101186712174088253/a.gif), since the `Forward` targeter is using the `sudoowner` attribute, and is, as such, getting parsed as if it was the owner of the casting mob executing the mechanic In this example, [the mob will keep getting teleported in front of its owner](https://cdn.discordapp.com/attachments/523443579574681600/1101186712174088253/a.gif), since the `Forward` targeter is using the `sudoowner` attribute, and is, as such, getting parsed as if it was the owner of the casting mob executing the mechanic
```yaml ```yaml
...@@ -210,33 +210,33 @@ TestOwner: ...@@ -210,33 +210,33 @@ TestOwner:
``` ```
## Entity Targeters ## Entity Targeters
| Attribute | Shorthand | Description | | Attribute | Aliases | Description | Default |
| ---------------------------------------- | ---------------- | ----------------------------------------- | |-----------|-----------|----------------------------------------------------------------------|---------|
| useboundingbox | bb | If the targeter is performing a distance check, this option allows it to check against the bounding box of the target instead of the center of its hitbox | | useboundingbox | bb | If the targeter is performing a distance check, this option allows it to check against the bounding box of the target instead of the center of its hitbox | |
| unique | u | The maximum number of times an entity can be targeted. Defaults to 1, disable with 0. This is mostly used for meg models with multiple hitboxes | | unique | u | The maximum number of times an entity can be targeted. Defaults to 1, disable with 0. This is mostly used for meg models with multiple hitboxes | |
| nomegbb | nmb | Whether MEG sub hitboxes should be filtered out | | nomegbb | nmb | Whether MEG sub hitboxes should be filtered out | |
## Location Targeters ## Location Targeters
| Attribute | Shorthand | Description | | Attribute | Aliases | Description | Default |
| ---------------------------------------- | ---------------- | ----------------------------------------- | |-----------|-----------|----------------------------------------------------------------------|---------|
| xoffset | xo, x | Centers the offset on the x axis | | xoffset | xo, x | Centers the offset on the x axis | |
| yoffset | yo, y | Centers the offset on the y axis | | yoffset | yo, y | Centers the offset on the y axis | |
| zoffset | zo, z | Centers the offset on the z axis | | zoffset | zo, z | Centers the offset on the z axis | |
| forwardOffset | foffset, fo | Centers forward and backward offset, based on the caster's viewing angle | | forwardOffset | foffset, fo | Centers forward and backward offset, based on the caster's viewing angle | |
| sideOffset | soffset, so | Centers left and right offset, based on the caster's viewing angle | | sideOffset | soffset, so | Centers left and right offset, based on the caster's viewing angle | |
| rotatex | rotx | Rotation on the x axis | | rotatex | rotx | Rotation on the x axis | |
| rotatey | roty | Rotation on the y axis | | rotatey | roty | Rotation on the y axis | |
| rotatez | rotz | Rotation on the z axis | | rotatez | rotz | Rotation on the z axis | |
| coordinatex | cx | Sets the x axis coordinate | | coordinatex | cx | Sets the x axis coordinate | |
| coordinatey | cy | Sets the y axis coordinate | | coordinatey | cy | Sets the y axis coordinate | |
| coordinatez | cz | Sets the z axis coordinate | | coordinatez | cz | Sets the z axis coordinate | |
| length | | Multiplied the direction vector by the specified value | | length | | Multiplied the direction vector by the specified value | |
| blocktypes | blocktype, bt | Only targets selected block types. Multiple blocks can be listed by separating them using a `,`<br>You can add a `#` at the front of the type to indicate that the block only needs to match part of the type, add `@` to indicate that the block only needs to match the start of the type | | blocktypes | blocktype, bt | Only targets selected block types. Multiple blocks can be listed by separating them using a `,`<br>You can add a `#` at the front of the type to indicate that the block only needs to match part of the type, add `@` to indicate that the block only needs to match the start of the type | |
| blockignores | blockignore | Excludes selected block types from the targeter. Multiple blocks can be listed by separating them using a `,` | | blockignores | blockignore | Excludes selected block types from the targeter. Multiple blocks can be listed by separating them using a `,` | |
| coordinateyaw | cyaw | Sets the yaw value | | coordinateyaw | cyaw | Sets the yaw value | |
| coordinatepitch | cpitch | Sets the pitch value | | coordinatepitch | cpitch | Sets the pitch value | |
| blockcentered | centered | Boolean value. If set to true, the center of the block at the target location will be targeted, instead of the target location itself | | blockcentered | centered | Boolean value. If set to true, the center of the block at the target location will be targeted, instead of the target location itself | |
| faulty | | Whether the mechanic should use the old vector formula. Defaults to true | | faulty | | Whether the mechanic should use the old vector formula. Defaults to true | |
# Targeter Options # Targeter Options
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
Mythic Add-ons
Compatible Plugins
API Information
Guides
  • Troubleshooting
  • FAQ / Common Issues
  • Examples
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Other
  • Particles Types
  • Audience
  • Equipment Slots
  • Pins
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • SkillTree
  • Intratick Scheduling
  • Dynamic Metaskills