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
updated audiences authored May 15, 2023 by Lxlp's avatar Lxlp
Show whitespace changes
Inline Side-by-side
Showing with 9 additions and 2 deletions
+9 -2
  • Skills/Effects.md Skills/Effects.md +9 -2
  • No files found.
Skills/Effects.md
View page @ 46558313
...@@ -24,9 +24,16 @@ skill **effect:name**, for example: ...@@ -24,9 +24,16 @@ skill **effect:name**, for example:
``` ```
### Audience ### 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. Audience arguments can be used to display the effect only to a specific group of players, rather than the entire server, by using the `audience=<audience type>` attribute in an effect mechanic and specifying an audience type to use. This can be useful in preventing too many particles from being displayed to everyone unnecessarily, and can reduce client-side lag to some extent.
Of particular relevance is the `audience=@Targeter` audience argument, that allows any entity targeter to be used as the audience of the effect The audience types are:
- `self`/`caster`: the caster of the mechanic
- `nonSelfWorld`/`nonSelf`: every player in the world other than the caster of the mechanic
- `target`: the target of the mechanic
- `world`: every player in the world
- `@Targeter`: every player that the targeter targets
Of particular relevance is the `audience=@Targeter` attribute, that allows any entity targeter to be used as the audience of the effect
```yaml ```yaml
Skills: Skills:
- effect:particles{particle=reddust;y=2;audience=@Owner} @self - effect:particles{particle=reddust;y=2;audience=@Owner} @self
......
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
  • Templates
  • 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