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).
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
| Mechanic | Description | Example Use |
|---|---|---|
blockwave | Sends a wave of blocks outward from the center. | Earthquake skill, stomping. |
blockmask | Temporarily masks a block type with another. | Hiding traps, illusions. |
blockphysics | Toggles physics on a block (e.g., falling sand). | Structural collapses. |
geyser | Shoots 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, orTHUNDER.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.