Hello everybody I am trying to create a mod with custom mob drops. I want add custom mob drops to my mod. But for some reason the mob drop overrides the custom mob drop. Can somebody explain to me on how to add a custom loot table without overriding a loot table.
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "examplemod:infected_ingot"
}
],
"conditions": [
{
"condition": "minecraft:random_chance_with_looting",
"chance": 0.5,
"looting_multiplier": 0.01
},
{
"condition": "minecraft:killed_by_player"
}
]
}
]
}
This file is located in src/main/resources/minecraft/loot_tables/entities/zombie.json
This mod is for 1.20.1