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 138
    • Issues 138
    • 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
Updated the common attributes - added the general common attributes and... authored Apr 27, 2023 by Lxlp's avatar Lxlp
Updated the common attributes - added the general common attributes and changed their location on the page
Hide whitespace changes
Inline Side-by-side
Showing with 32 additions and 24 deletions
+32 -24
  • Skills/Targeters.md Skills/Targeters.md +32 -24
  • No files found.
Skills/Targeters.md
View page @ 92dac7b1
...@@ -65,30 +65,6 @@ These targeters only work if the mob has Threat Tables enabled. ...@@ -65,30 +65,6 @@ These targeters only work if the mob has Threat Tables enabled.
Location Targeters Location Targeters
------------------ ------------------
### Common Attributes - Location Targeters
There are some common attributes that can be used in most of the Location Targeters
| Attribute | Shorthand | Description |
| ---------------------------------------- | ---------------- | ----------------------------------------- |
| Xoffset | xo, x | Centers the offset on the x axis |
| Yoffset | yo, y | Centers the offset on the y 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 |
| SideOffset | soffset, so | Centers left and right offset, based on the caster's viewing angle |
| Rotatex | rotx | Rotation on the x axis |
| Rotatey | roty | Rotation on the y axis |
| Rotatez | rotz | Rotation on the z axis |
| Coordinatex | cx | Sets the x axis coordinate |
| Coordinatey | cy | Sets the y axis coordinate |
| Coordinatez | cz | Sets the z axis coordinate |
| BlockTypes | blocktype | Only targets selected block types. 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 |
| CoordinatePitch | cpitch | Sets the pitch value |
| blockCentered | | Boolean value. If set to true, the center of the block at the target location will be targeted, instead of the target location itself |
| ignoretranslucent | it | Boolean value. If set to true, no translucent blocks will be targeted |
### Single-Location Targeters ### Single-Location Targeters
| Targeter | Shorthand | Description | | Targeter | Shorthand | Description |
...@@ -163,6 +139,38 @@ Some meta-targeters also allow the mechanic to be casted "fromOrigin". This will ...@@ -163,6 +139,38 @@ Some meta-targeters also allow the mechanic to be casted "fromOrigin". This will
| @BlocksNearOrigin{radius=#;radiusy=#;noise=#;shape=sphere/cube;onlyair=false;noair=true} | @BNO | Targets all blocks in a radius around the inherited target. | | @BlocksNearOrigin{radius=#;radiusy=#;noise=#;shape=sphere/cube;onlyair=false;noair=true} | @BNO | Targets all blocks in a radius around the inherited target. |
| @[**BlockVein**](/Skills/Targeters/BlockVein){blocktype=#;limit=#} | @vein<br>@bv | Target all adjancent blocks that match the blocktype, starting from the origin of the skill. | | @[**BlockVein**](/Skills/Targeters/BlockVein){blocktype=#;limit=#} | @vein<br>@bv | Target all adjancent blocks that match the blocktype, starting from the origin of the skill. |
# Common Attributes
There are some common attributes that can be used in most of the Targeters, depending on the targeter's returned value
## All Targeters
| Attribute | Shorthand | Description |
| ---------------------------------------- | ---------------- | ----------------------------------------- |
| sudoparent | fromparent, ofparent, asparent, parent, ofParent | Allows to obtain the targeter as if it was the parent casting the mechanic |
| sudoowner | fromowner, ofowner, asowner, owner, ofowner | Allows to obtain the targeter as if it was the owner casting the mechanic |
## Location Targeters
| Attribute | Shorthand | Description |
| ---------------------------------------- | ---------------- | ----------------------------------------- |
| Xoffset | xo, x | Centers the offset on the x axis |
| Yoffset | yo, y | Centers the offset on the y 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 |
| SideOffset | soffset, so | Centers left and right offset, based on the caster's viewing angle |
| Rotatex | rotx | Rotation on the x axis |
| Rotatey | roty | Rotation on the y axis |
| Rotatez | rotz | Rotation on the z axis |
| Coordinatex | cx | Sets the x axis coordinate |
| Coordinatey | cy | Sets the y axis coordinate |
| Coordinatez | cz | Sets the z axis coordinate |
| BlockTypes | blocktype | Only targets selected block types. 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 |
| CoordinatePitch | cpitch | Sets the pitch value |
| blockCentered | | Boolean value. If set to true, the center of the block at the target location will be targeted, instead of the target location itself |
| ignoretranslucent | it | Boolean value. If set to true, no translucent blocks will be targeted |
Targeter Options Targeter Options
================ ================
......
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples