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
Steam 'n' Rails Bot
Steam 'n' Rails Bot•3mo ago
Hello @roracle! Someone will help you shortly, please do not ping moderators or other people and just wait for someone to come help.
bangetto
bangetto•3mo ago
hm, intresting idea
kurocat471
kurocat471•3mo ago
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
roracle
roracle•3mo ago
where are the vanilla files located? i've been looking but i can't seem to find them anywhere
kurocat471
kurocat471•3mo ago
lemme check data/minecraft/loot_tables, data/minecraft/loot_tables/entities specifically is probably what you want
roracle
roracle•3mo ago
arg... see there is not minecraft directory in the data directory
kurocat471
kurocat471•3mo ago
where are you looking?
roracle
roracle•3mo ago
myserver/world/data
kurocat471
kurocat471•3mo ago
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
roracle
roracle•3mo ago
ooooh, hmm... so i just need to extract a jar and take what i need from there?
kurocat471
kurocat471•3mo ago
mhm
roracle
roracle•3mo ago
alrighty, thank you
kurocat471
kurocat471•3mo ago
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 once
roracle
roracle•3mo ago
si 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
roracle
roracle•3mo ago
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
Want results from more Discord servers?
Add your server