Started by
Tazgirl
on
Topic category: Help with Minecraft modding (Java Edition)
I'm working on an overhaul mod and I wanted to remove the generation of all vanilla structures for balance reasons. I know it's not possible with procedures but does anyone have any java code that does this?
Vanilla structures are pretty hard coded into the game- it may be possible, but you're right, definitely requires custom code. I've been trying to find a better way of doing this for my own structures mod, but it's complex enough I sorta just decided to advise people to disable vanilla structures when creating a new world. If you know of any other mods or datapacks that do this, you could try looking at their github repositories to see if you can figure out how they did it.
Though heads up, the built-in 'disable vanilla structures' option does not actually disable all structures- you can remove world-feature type structures, (dungeons, desert wells, strongholds, etc.) using a datapack, or by adding a 'minecraft' data file to your mod's src and putting the overriden NBT files in there. This method doesn't seem to work on non-feature structues, but if you wanted to disable or replace all the trees for some reason...