Skip to main content

World Mechanics

These mechanics allow your mobs to interact with their surroundings, from breaking blocks to changing the environment.

Block Manipulation

setblock

Changes a block at the target location.
  • Attributes:
    • material (string): The block type.
    • data (string): Optional block data (e.g., facing=north).
- setblock{material=OBSIDIAN} @targetblock ~onDeath

breakblock

Destroys a block at the target location.
  • Attributes:
    • drop (boolean): Whether the block should drop items.
    • force (boolean): Whether to bypass protection.

Advanced Block FX

MechanicDescriptionExample Use
blockwaveSends a wave of blocks outward from the center.Earthquake skill, stomping.
blockmaskTemporarily masks a block type with another.Hiding traps, illusions.
blockphysicsToggles physics on a block (e.g., falling sand).Structural collapses.
geyserShoots a column of blocks into the air.Steam vents, water eruptions.

Environmental Control

weather

Changes the weather in the world.
  • Attributes:
    • type (string): CLEAR, RAIN, or THUNDER.
    • duration (ticks): How long the weather lasts.

time

Changes the world time.
  • Attributes:
    • value (number): Time in ticks (0-24000).

setbiome

Changes the biome at the target location.
  • Attributes:
    • biome (string): The biome ID (e.g., PLAINS, DESERT).

Advanced Integrations (FAWE)

If FastAsyncWorldEdit (FAWE) is present, these mechanics allow for massive world changes.

fawepaste

Pastes a schematic at the target location.
  • Attributes:
    • schematic (string): The filename of the schematic.
    • origin (boolean): Whether to use the schematic’s origin.

undopaste

Undo the last schematic paste.