Extra entity drops for Numismatic coins?
Is there a simple way to add coin drops without messing up the vanilla loot tables?
I started by making a datapack for drops, but it simply replaced all the loot instead of adding onto it, but I need to find a better solution.
Basically, in addition to what normally drops from (say) a zombie, it might also have a chance of dropping a coin as well.
Any help is appreciated.
19 Replies
Hello @roracle! Someone will help you shortly, please do not ping moderators or other people and just wait for someone to come help.
hm, intresting idea
if your loot table file has the same name as the vanilla one, it'll replace it, mc doesn't pull from both the original and modified. you should add it as an additional drop to the vanilla file then put that in your datapack
where are the vanilla files located? i've been looking but i can't seem to find them anywhere
lemme check
data/minecraft/loot_tables
, data/minecraft/loot_tables/entities
specifically is probably what you wantarg... see there is not
minecraft
directory in the data
directorywhere are you looking?
myserver/world/data
well for one it's not gonna be in your world data
it's a game thing not world based
you should be looking in the minecraft jar
ooooh, hmm... so i just need to extract a jar and take what i need from there?
mhm
alrighty, thank you
the jar should be in your installation folder, under versions, e.g. the 1.21 jar would be
.minecraft/versions/1.21/1.21.jar
i think
might have the filename wrong but the location should be right
you have to have installed that version though, in other words launched it at least oncesi
okay, found all the ones i want to edit (hostiles, mainly).
Now to just figure out how to do it lol
Shouldn't be too difficult, but once i get a few done i'll likely have the whole thing down
Alright, something is odd... i just want to make it where the player has to kill the entity, but it seems to always drop the item intead.
![No description](https://cdn.answeroverflow.com/1251270252071882832/image.png)