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 132
    • Issues 132
    • 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
  • Rectangle

Last edited by Lxlp 6 months ago
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Rectangle

Targeter: Rectangle

Returns the # of points target locations that comprise a rectangle. Depending on the parameters, some elements of the rectangle can be modified, such as it being filled or not, if to target only its outline, its location and so on

Attributes

Attribute Aliases Description Default
x The size of the rectangle on the x axis
y The size of the rectangle on the y axis
z The size of the rectangle on the z axis
xOffset The offset of the rectangle on the x axis
yOffset The offset of the rectangle on the y axis
zOffset The offset of the rectangle on the z axis
points p Amount of points per cube 'line'
filled fill, f If the rectangle should be filled
outline edge, onlyEdge, e, onlyOutline, o If only the outline should be drawn
rotation r The 3D rotation of the rectangle
fromOrigin origin If the rectangle should be drawn from the origin of the metaskill

Examples

ExampleMob1:
  Type: ZOMBIE
  Skills:
  - e:p{p=FLAME;a=1} @Rectangle{d=12;f=false;r=45,45,0;yOffset=1.5;outline=true} ~onDamaged

ExampleMob2:
  Type: ZOMBIE
  Skills:
  - e:p{p=SOUL_FIRE_FLAME;a=1} @Rectangle{d=12;r=45,45,45;yOffset=3;fill=true} ~onDamaged
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