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 151
    • Issues 151
    • 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

Rectangle · Changes

Page history
updated layout and informations authored Apr 18, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 22 additions and 16 deletions
+22 -16
  • Skills/Targeters/Rectangle.md Skills/Targeters/Rectangle.md +22 -16
  • No files found.
Skills/Targeters/Rectangle.md
View page @ f934aa8f
## Targeter: Rectangle ## Description
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 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 | ## 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 | | | x | | The size of the rectangle on the **x** axis | 1 |
| z | | The size of the rectangle on the **z** axis | | | y | | The size of the rectangle on the **y** axis | 1 |
| xOffset | | The offset of the rectangle on the **x** axis | | | z | | The size of the rectangle on the **z** axis | 1 |
| yOffset | | The offset of the rectangle on the **y** axis | | | xOffset | | The offset of the rectangle on the **x** axis | 0 |
| zOffset | | The offset of the rectangle on the **z** axis | | | yOffset | | The offset of the rectangle on the **y** axis | 0 |
| points | p, density, d | Amount of points per cube 'line' | | | zOffset | | The offset of the rectangle on the **z** axis | 0 |
| filled | fill, f | If the rectangle should be filled | | | points | p, density, d | Amount of points per cube 'line' | 10 |
| outline | edge, onlyEdge, e, onlyOutline, o | If only the outline should be drawn | | | filled | fill, f | If the rectangle should be filled | false |
| rotation | r | The 3D rotation of the rectangle | | | outline | edge, onlyEdge, e, onlyOutline, o | If only the outline should be drawn | false |
| fromOrigin | origin | If the rectangle should be drawn from the origin of the metaskill | | | rotation | r | The 3D rotation of the rectangle | 0,0,0 |
| fromOrigin| origin | If the rectangle should be drawn from the origin of the metaskill | false |
## Examples ## Examples
```yaml ```yaml
...@@ -28,4 +29,9 @@ ExampleMob2: ...@@ -28,4 +29,9 @@ ExampleMob2:
Type: ZOMBIE Type: ZOMBIE
Skills: Skills:
- e:p{p=SOUL_FIRE_FLAME;a=1} @Rectangle{d=12;r=45,45,45;yOffset=3;fill=true} ~onDamaged - e:p{p=SOUL_FIRE_FLAME;a=1} @Rectangle{d=12;r=45,45,45;yOffset=3;fill=true} ~onDamaged
``` ```
\ No newline at end of file
## Aliases
- [x] cube
- [x] cuboid
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Guides
Troubleshooting
Mythic Add-ons
Compatible Plugins
API Information
Packs
  • Pins
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
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
  • Equipment Slots
Examples
Useful Tips