No Tree Punching

No Tree Punching

14M Downloads

(Forge) Loose rock generation does not check config value

Spoghet99 opened this issue ยท 3 comments

commented

I try to turn off loose rock generation but the rocks still generate no matter what i do. In the config i set "enableLooseRocksWorldGen = false" but rocks generate regardless
Minecraft version: 1.20.1
Forge version: 42.2.20

commented

I'm also having this issue on these exact versions. No matter what, these little rocks still generate.

commented

nolooserocks.zip
You can just make a datapack that removes the rocks from generating for now until this issue is patched.
I attached the datapack that i made for this

commented

N.B. on Forge,

forge.data(('forge', 'biome_modifier', 'add_loose_rocks'), {
'type': 'forge:add_features',
'biomes': '#minecraft:is_overworld',
'features': 'notreepunching:loose_rocks',
'step': 'top_layer_modification'
})

and on Fabric,

if (Config.INSTANCE.enableLooseRocksWorldGen.getAsBoolean())
{
BiomeModifications.addFeature(
BiomeSelectors.foundInOverworld(),
GenerationStep.Decoration.TOP_LAYER_MODIFICATION,
ModFeatures.LOOSE_ROCKS_KEY
);
}

Fabric appears to be correctly checking the config value; Forge does not.