WorldGen Block Replacer is a mod that replaces blocks in your world with other blocks, which you can choose in the config. This happens when new chunks of the world are generated, and also works on preexisting worlds. By default, it does nothing. It also works with blocks added by mods.
I suggest that you do not replace any block with a block with a tile entity(furnace, piston, etc). If you do, your world will most likely become a lot slower. I am not responsible for broken worlds.
This mod can be run on a server without being installed on the client.
Configuration:
By default, the mod does nothing, and needs to be configured. To start off, from Minecraft's main menu, click Mods.
Next, find and click WorldGen Block Replacer, then click Config.
This brings you to the Config screen. By default, it has configuration to replace stone with stone (which does nothing). To change this, you can click any of these options to change the settings.
To read more about what an option is, mouse over the option's name.
Inside most of these options, you can set multiple options. This is because it can be configured for multiple blocks. Note that all of the options that accept multiple values must have the same number of options set, or the mod will not work.
In the above screenshot, there are 3 options set, because I am replacing 3 blocks.
On the Biome Filter and Dimension List options, each text box is a comma separated list. Do not include spaces before or after the comma. Both these options can act as a blacklist or a whitelist. If the list contains an asterisk (*), it is a blacklist. Without the asterisk, it is a whitelist. In the above example, the first replacement is set to allow all biomes (it is a blacklist with nothing blacklisted), the second replacement is set to only work in plains and forest (The start is cut off, but there is no asterisk in that option, and it only has those two biomes listed), and the third replacement will replace in all biomes except for plains.
The two options that are universal, regardless of how many blocks you are replacing, are Enable Risky Blocks and Biome Precision. Enable Risky Blocks allows the block replacer to use blocks that may cause an excessive amount of lag in the world. Biome Precision has to do with precisely detecting the edges of biomes. Enabled by default, disabling it might improve performance when loading new chunks, but the edges will be chunk-based, which is less accurate and typically looks bad if done on commonly generated blocks such as dirt, grass, or stone. This option only has an effect if your replacement is biome-restricted.
Contact
If you have a bug or crash to report, please use the issue tracker. For feature requests, I also encourage using the issue tracker, so others can easily see what has already been requested, and more importantly, because it makes it easier to keep track of the features that have been requested. That said, if you have questions about the mod or would like to ask me about a feature request before posting it, feel free to reach out on Discord or Twitter.
Want to support my mod and other development efforts? Check out my Patreon page!
Check out my other mods:
Server-Side Mods:
Client-Side Mods:
Other Mods:
Hi, maybe someone asked about it before. What are the possible options for replacementChunkKey? I have this problem with some chunks not doing the replacement and I want to retrogen it but I don't know how. Thanks!
In reply to buraczanykolo:
It can be anything.
In reply to The_Fireplace:
Right... Thanks for fast reply! Anyway, I just realised if I unload the chunk and then come back and load it again (essentially making the mod run replacing blocks again) then it works on the second attempt. If anyone knows why this could happen I'd be interested to hear. Thanks for your work The_Fireplace!
Hey does this work on 1.7.10
In reply to waterdragon7878:
No
Hello. I've been trying to use this mod alongside Rock Be Gone to recreate old Extreme Hills. My intention was to replace snow with air, but for testing purposes I was replacing it with netherrack instead. I've been... partially successful, ending up with netherrack-snow zebra, that you can see on the screenshot, but I'd prefer to be completely successful, replacing all snow with netherrack.
Could you help me out with that? Here's my config file:
# Configuration file
general {
# This is the Biome Black/Whitelist. If it contains *, it is a blacklist. Otherwise, it is a whitelist.
S:biomefilter <
minecraft:extreme_hills,minecraft:smaller_extreme_hills,minecraft:extreme_hills_with_trees,minecraft:mutated_extreme_hills,minecraft:mutated_extreme_hills_with_trees
>
# Increase the precision of the biome filter. This may reduce performance.
B:biomeprecision=true
# This is the Dimension Black/Whitelist. If it contains *, it is a blacklist. Otherwise, it is a whitelist.
S:dimension_list <
*
>
# Runs the replacement this many ticks after the chunk is generated. Use this if you're having issues with some blocks not being replaced. I strongly recommend that you do not set this above 10. 2-5 should be plenty.
I:lateReplacement=10
# The server's locale
S:locale=en_us
# The highest Y value the block should be replaced at
# Min: -1
# Max: 256
I:maxy <
256
>
# The lowest Y value the block should be replaced at
# Min: -1
# Max: 256
I:miny <
-1
>
# Multiplies the block removal chance by the block's y-value.
B:multiplychance <
false
>
# Prevent the world from loading if the mod is improperly configured. This is to prevent terrain from generating without the intended configuration.
B:preventLoadOnFailure=true
# The block id to replace.
S:replaceblock <
minecraft:snow_layer
>
# The block meta to replace. Use -1 for the block's default state.
I:replaceblockmeta <
-1
>
# Changing this will allow Block Replacer to run again on existing chunks. Useful for doing retrogen on world you've already run the mod on. Back up your world before changing this.
S:replacementChunkKey=DEFAULT_REPLACE_KEY
# What percentage of the blocks get replaced. 0.0D = 0%, 1.0D = 100%
# Min: 0.0
# Max: 1.0
D:replacepercent <
1.0
>
# The block id to replace the block with.
S:replacewith <
minecraft:netherrack
>
# The block meta for the replacement block. Use -1 for the block's default state.
I:replacewithmeta <
-1
>
# Enables using blocks that might crash/lag the game if used to replace other blocks. Enable at your own risk.
B:riskyblocks=false
}
In reply to FongsturionNythwyll:
Make sure you're using the latest version, and if it still happens please use the issue tracker and I will get to it at some point.
I can't tell if this is a problem on my end with the config or if this is some amount of mod incompatibility.Crash Report
EDIT: Nevermind. I was being stupid and messed up the config.Hi there, quick question:
Do you have plan to port this to Forge 1.16.4?
I'd very much like to be able to remove bedrock from the Nether, in a perfect world with BiomeMaterial(useful for modded biome like BiomeYouGo), otherwise simply with netherrack
Thank you for your hard work :)
In reply to drakray:
I plan to update to 1.16.4, but I no longer support Forge. Here's why. https://gist.github.com/The-Fireplace/d092f25e892a46902ecdec68dee2b938
In 1.12 would it be possible to use this to replace specific types of monster spawners with air? Or with other spawners?
In reply to critflaw:
No, it isn't possible to replace specific spawner types.
Hello ! Thank you for this excellent mod !
Does the Forge bug that stopped you from updating in 1.15.2 is solve in Forge 31.2.9 ?
In reply to solarblindfull:
I don't know. In any event, I am no longer supporting Forge. Here's why. https://gist.github.com/The-Fireplace/d092f25e892a46902ecdec68dee2b938
Hey! I was wondering if I could use this in my mod-pack. Once I create a website for it, I'll link it here and provide credit/a link to this page. Thank you! (Also thank you so much I can't believe nobody has made this mod before it is so useful.)
In reply to Florida_Men252:
dont work with replacewith minecraft:air ?
In reply to Forge_User_28621463:
It should. Post so ething on the issue tracker about it if it doesn't.
Trying to replace regular minecraft water with Tropicraft tropical water in 1.12.2. Risky Blocks are enabled. The Crash report doesn't say anything useful.
In reply to Forge_User_80436701:
I can look in to this once you open an issue on the issue tracker and provide the requested information.