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 143
    • Issues 143
    • 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
  • Audience

Audience · Changes

Page history
Create Skills/Audience authored Mar 06, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 0 deletions
+18 -0
  • Skills/Audience.md Skills/Audience.md +18 -0
  • No files found.
Skills/Audience.md 0 → 100644
View page @ 16725943
Audience attributes can be used to display an effect only to a specific group of players, rather than the entire server, by using the `audience=<audience type>` attribute in a mechanic that supports audiences 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.
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
- `nearby`: every nearby player
- `tracked`: every player who's clients can render the caster
- `@Targeter`: every player that the targeter targets
> The default value is `nearby`
Of particular relevance is the `audience=@Targeter` attribute, that allows any entity targeter to be used as the audience of the effect
```yaml
Skills:
- effect:particles{particle=reddust;y=2;audience=@Owner} @self
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
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
  • Effects
  • 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
Examples
Useful Tips