BeerHuntor Posted June 25, 2020 Posted June 25, 2020 (edited) im following along with a tutorial and creating a basic slab block. However when I mine it, the item doesnt drop. can someone explain what these keywords mean in the loot table for the acacia_slab so i can modify it to suit my needs. { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "functions": [ { "function": "minecraft:set_count", "conditions": [ { "condition": "minecraft:block_state_property", "block": "minecraft:acacia_slab", "properties": { "type": "double" } } ], "count": 2 }, { "function": "minecraft:explosion_decay" } ], "name": "minecraft:acacia_slab" } ] } ] } I am trying to make slabs from oak logs however nothing is dropping for me. The tutorial I am following their loot table drop file isnt this in depth.. Edited June 25, 2020 by BeerHuntor Quote
poopoodice Posted June 25, 2020 Posted June 25, 2020 https://minecraft-el.gamepedia.com/Loot_table Quote
BeerHuntor Posted June 25, 2020 Author Posted June 25, 2020 (edited) Ok I think i understand what its doing, however it still isnt working for me. { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "functions": [ { "function": "minecraft:set_count", "conditions": [ { "condition": "minecraft:block_state_property", "block": "moreslabsmod:oak_log_slab", "properties": { "type": "double" } } ], "count": 2 }, { "function": "minecraft:explosion_decay" } ], "name": "moreslabsmod:oak_log_slab" } ] } ] } Im setting the double state model to minecraft:block/oak_log if that makes any difference. But even still nothing is dropping when its not a double. I do have everything set correctly right? I havent got it in a wierd place where it shouldn't be.. as this is how it is shown in the tutorial . Edited June 25, 2020 by BeerHuntor Quote
poopoodice Posted June 25, 2020 Posted June 25, 2020 (edited) "rolls": 1, you also need a name https://mcforge.readthedocs.io/en/1.13.x/items/loot_tables/#overview Edited June 25, 2020 by poopoodice Quote
Draco18s Posted June 25, 2020 Posted June 25, 2020 Data and Assets should be siblings: https://github.com/Draco18s/ReasonableRealism/tree/1.14.4/src/main/resources Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
BeerHuntor Posted June 26, 2020 Author Posted June 26, 2020 11 hours ago, Draco18s said: Data and Assets should be siblings: https://github.com/Draco18s/ReasonableRealism/tree/1.14.4/src/main/resources Thank You So Much... This was my issue. The tutorial was using eclipse, and they could make packages in the resources tree, so I must of misread something.. Thanks again, works perfectly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.