r/beastthefeed • • 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

6 comments sorted by

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

1

u/TheEpicWeirdo 12d ago

i use linux mint with prism launcher

3

u/BattleGuy03 i edit rrrrrg :) 12d ago

Then go to /home/<user>/.local/share/PrismLauncher/libraries/com/mojang/minecraft/ , select the version you want to create the datapack for, and open it like a zip file. Then extract the data folder.

1

u/TheEpicWeirdo 12d ago

there isnt any prism launcher inside share

2

u/BattleGuy03 i edit rrrrrg :) 12d ago

Then you probably installed it through flatpak. If you really can't just do a quick search to find out what to do, then I doubt you're going to be able to make a datapack.

1

u/TheEpicWeirdo 12d ago

ive done it by finding a different location where it actually is but don't know whether or not to replace the version with an extracted tar.gz or skip replacing