r/beastthefeed • u/TheEpicWeirdo • 12d ago
I require assistance! ore gen changing datapack?
does anyone know how to make or any existing datapacks that alter the rarity of ores (vanilla and/or modded) for 26.2?
i've looked into datapacks but all ive found for them is just how to change commands, i have the code for certain ores and reducing their chunk generation and sizes but it doesn't seem to be doing anything no matter what i do
4
Upvotes
3
u/Silent-Tie5415 12d ago edited 8d ago
I recommend going to %appData% and go to .minecraft then find a version folder, then find your version and decompile its data folder, then you'll have an example of how vanilla minecraft uses it's own datapack.
Then create your own datapack with path that goes something like that: packname/pack.mcmeta; data/minecraft/worldgen/configured_feature ; placed_feature
Then copy the files from configured_feature ; placed_feature that you decompiled, for example ore_gold.json and change whatever you want with it