Mechanics
Other WikisDonate
  • Home
  • Examples
  • Placeholders
  • ⚙️Mechanics
    • Action Bar
    • Boss Bar
    • Command
    • Custom Sound
    • Damage
    • Drop Item
    • Fake Item
    • Firework
    • Flinch
    • Ignite
    • Leap
    • Lightning
    • Message
    • Particle
    • Potion
    • Push
    • Sculk Bloom
    • Sculk Shriek
    • Sound
    • Title
    • Warden Disturbance
  • 🎯Targeters
    • ServerPlayers
    • Shapes
      • Box
      • Scatter
    • Source
    • Target
    • World
  • ❔Conditions
    • Biome
    • Custom Biome
    • Entity Type
    • Gliding
    • Has Permission
    • InCone
    • Light Level
    • Material Category
    • On Ground
    • Range
    • Riding
    • Sneaking
    • Sprinting
  • 🔌Integrations
    • 🌊GeyserMC
    • 🌎MechanicsEverywhere
    • 👽MythicMobs
    • 🔫WeaponMechanics
Powered by GitBook
On this page
  1. Targeters

World

Selects all entities in the world

The @World{} targeter selects all entities in the current world (or the selected world).

Argument
Description
Default Value

world

The world

The current world

Scatter is technically a Shapes targeter. This may seem counter-intuitive, but all that means is that @Scatter{} can be used in the Particle mechanic.

Mechanics:
  - "Command{command=summon creeper <target_x> <target_y> <target_z>, console=true} @World{}"

Spawns a Creeper on every entity in the current world. If you want to use this to prank your friends, you might want to add ?EntityType{entity=PLAYER} to the mechanic. Like this:

Mechanics:
  - "Command{command=summon creeper <target_x> <target_y> <target_z>, console=true} @World{} ?EntityType{entity=PLAYER}"
Mechanics:
  - "Potion{potion=STRENGTH} @World{world=world_nether}"

Applies strength to all entities in the nether.

Last updated 1 year ago

🎯