Download Block Replacement — Minecraft Mods — MetaMods

Block Replacement

Active

Downloads

0

Last update

8 months ago
Client
Utils
World generators

Block Replacement

Flexible block replacement settings

The modification provides full control over the automatic block replacement process through flexible configuration.

Basic replacement configuration

All customization settings are made through the blockreplace.cfg file. The rule recording format is quite simple:

S:replaceMap <
modid:block_to_replace=modid:new_block
...
>

For example, you can configure the following parameters:

S:replaceMap <
minecraft:dirt=minecraft:stone
minecraft:grass=minecraft:stone
Magneticraft:thorium_ore=IC2:blockOreCopper
minecraft:red_flower:3=minecraft:red_flower
>

Application to specific dimensions

The system supports restricting block replacement to certain world dimensions:

S:dimensionMap <
modid:block_to_replace=dimension_ids
...
>

Suppose you need to replace dirt blocks only in the Nether:

S:dimensionMap <
minecraft:dirt=-1
>

Or simultaneously in two dimensions - the Nether and the End:

S:dimensionMap <
minecraft:dirt=-1,1
>

Important to note: any blocks not included in the dimensionMap parameter will be replaced in all dimensions of your world.

Working with already generated regions

To update zones that have already been generated previously, activate the special parameter:

B:replaceBlocksInGeneratedChunks=true

This function guarantees that the replacement will occur throughout the entire game world, including previously created territories.

Project members
RagexPrince683

RagexPrince683

Created: 18 Feb 2025

ID: 77536