r/MinecraftHelp • • 22h ago

Waiting for OP [Java] [26.1.2 Fabric] How would I remove a specific block from the whole world?

I'm sick of leaf litter clogging up literally everything I do in my world. I don't use it for decoration and only use it as fuel in furnaces because I have enough to last three generations.

I've started to avoid building in or working with forests all together just because of how much of a mess they are to clean up. Is there any way I could replace all of the blocks with air? Mods that remove it from world generation don't affect pre-existing worlds.

Is there a mod or other tool I could use to just remove all placed leaf litter blocks?

1 Upvotes

4 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 22h ago

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules

1

u/Available-Squash1021 Apprentice II 20h ago

vanilla can do it without a mod. stand in the area and run /fill ~-15 ~-10 ~-15 ~15 ~10 ~15 air replace leaf_litter. it only works in loaded chunks and one fill is capped at 32768 blocks, so you'd repeat it as you walk through the forests. leaf_litter is the block id on the wiki.

1

u/Coswade 19h ago

That might work. I just don't want to use commands in my survival world. I probably should've mentioned that it was hardcore.

It feels cheesier than using a mod, plus it's manual and it'll take forever due to the command limitations. I'll keep this suggestion in mind if I don't find a better solution.

1

u/ODF4 Expert V 7h ago

since I'm assuming you tested it already, did the No Littering mod remove leaf litter from newly generated chunks?

if so, you could use an external tool like Amulet Editor or Mass-Replacer to remove the remaining leaf litter, or alternatively, you could install a data pack that uses a repeating fill command around you like u/Available-Squash1021 suggested (but I haven't been able to find an existing one at the moment), and then you can uninstall it once you're done getting rid of all the leaf litter from existing chunks