Started by
DTGamer
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to get Cod to drop an item. Currently, I have it set to where it should drop the "Golden Fish" item every time I kill one, but it won't work. I've tried Data Merges, but it could be outdated. Here's the generated code: (Keep in mind, I'm fairly new to MCCreator, and I don't really get loot tables.) Thank you!
{
"type": "minecraft:entity",
"pools": [
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:item",
"name": "megaminecraft:golden_fish",
"weight": 400,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:fire_coral",
"weight": 35,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
]
}
]
}
(By the way: I'm on 1.17.1! Sorry, forgot to mention)
UPDATE: I Fixed the Issue, and it's working just fine now!
how did you fix it?