Change Blocks in Radius
Changes all blocks of a certain type within a radius.
This action changes multiple blocks within a spherical radius around a central point.
Configuration
- Center: The center location for the radius check.
- Radius: The radius in blocks.
- Target Types: A list of block materials to be replaced. If empty, all blocks will be replaced.
- New Type: The material to change the target blocks into.
- Invert Target: If
true, it will replace all blocks that are not in the target list.
Example
Create an "infection" effect that slowly turns grass to mycelium.
- Event: A
Player Enter Regionevent. - Action:
Change Blocks in Radius- Center: The
Player's location. - Radius:
5. - Target Types:
GRASS_BLOCK. - New Type:
MYCELIUM.
- Center: The