
athy
Members-
Content Count
3 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout athy
-
Rank
Tree Puncher
-
How would I go about doing that?
-
I already have. It doesn't work. Read point 4 please
-
athy started following [1.14.4] Override vanilla loot tables
-
I cannot figure out how to override vanilla loot tables, I've been at this for hours, and I can't find anything online. Just very outdated tutorials. I added custom crops and seeds to my mod, now I need those seeds to drop from the in-world grass. The loot tables for my custom blocks are in data.modId.loot_tables.blocks and they work just fine. Now, when I try to override the grass to drop an item of my choosing, say, coal, I do this: 1) Make grass.json 2) Fill it: { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "item": "minecraft:shears" } } ], "name": "minecraft:grass" }, { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:random_chance", "chance": 0.125 } ], "functions": [ { "function": "minecraft:apply_bonus", "enchantment": "minecraft:fortune", "formula": "minecraft:uniform_bonus_count", "parameters": { "bonusMultiplier": 2 } }, { "function": "minecraft:explosion_decay" } ], "name": "minecraft:coal" } ] } ] } ] } 3) Place it in my project in data.minecraft.loot_tables.blocks When I test it in game, grass still drops wheat seeds and not coal. Why?