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
  • Effects

Effects · Changes

Page history
added TargeterAudience authored Mar 30, 2023 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 11 additions and 2 deletions
+11 -2
  • Skills/Effects.md Skills/Effects.md +11 -2
  • No files found.
Skills/Effects.md
View page @ 377c4ecf
...@@ -9,19 +9,28 @@ add them to your own skills and even combine them. ...@@ -9,19 +9,28 @@ add them to your own skills and even combine them.
Most effects are able to target both Entities and Locations. You control Most effects are able to target both Entities and Locations. You control
what your effect targets using a [Targeter][]. what your effect targets using a [Targeter][].
Audience arguments (`audience=World`, `audience=Target`, `audience=Caster`, Etc.) can be used to display the effect only to a specific group, rather than the entire server. This can be useful in preventing too many particles from being displayed to everyone which can cause lag.
### Syntax ### Syntax
A lot of effects don't have any options. To call them, you just call the A lot of effects don't have any options. To call them, you just call the
skill **effect:name**, for example: skill **effect:name**, for example:
```yaml
Skills: Skills:
- effect:flames @target - effect:flames @target
- effect:lightning @self - effect:lightning @self
- effect:ender @PlayersInRadius{r=20} - effect:ender @PlayersInRadius{r=20}
- effect:ender @PlayersInRadius{r=20} - effect:ender @PlayersInRadius{r=20}
- effect:particles{particle=reddust;color=#EE22CC;amount=10;speed=1;hS=0.15;vS=.15;audience=Target} @target - effect:particles{particle=reddust;color=#EE22CC;amount=10;speed=1;hS=0.15;vS=.15;audience=Target} @target
```
### Audience
Audience arguments (`audience=World`, `audience=Target`, `audience=Caster`, `audience=@Targeter`, Etc.) can be used to display the effect only to a specific group, rather than the entire server. This can be useful in preventing too many particles from being displayed to everyone which can cause lag.
Of particular relevance is the `audience=@Targeter` audience argument, that allows to use any entity targeter to be used as the audience of the effect
```yaml
Skills:
- effect:particles{particle=reddust;y=2;audience=@Owner} @self
```
### Effects ### Effects
......
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