Trobibot Posted November 4, 2020 Posted November 4, 2020 Hi, I'm currently learning how to make mods for minecraft. To go further than the tutorial that I'm following, I decided to make a loot table with one condition : if the block is broken with a fortune tool, it drops its block item; If not the block breaks into two different items; I've understood how to create the condition that allows a block to drop one item or another depending on whether the player breaks it with an enchanted tool, but I'm struggling to make a block drop two different item at the same time. If you could help me do that, it would be super nice. Quote
Draco18s Posted November 4, 2020 Posted November 4, 2020 https://minecraft.gamepedia.com/Predicate 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.
Trobibot Posted November 5, 2020 Author Posted November 5, 2020 Thank for the answer but I don't think you understood my question. I already figured out how to create a condition (I've already looked your link). What i'm looking for is how to make a block drop different items at same time when the player breaks it; For exemple: the player broke my custom block and it drops a wooden plank and a stick at the same time. Maybe I can do this with Predicate but if so, I haven't understand how. Quote
poopoodice Posted November 5, 2020 Posted November 5, 2020 you can create multiple pools, for every item you want to drop 1 Quote
Draco18s Posted November 5, 2020 Posted November 5, 2020 1 hour ago, Trobibot said: Thank for the answer but I don't think you understood my question. I already figured out how to create a condition (I've already looked your link). What i'm looking for is how to make a block drop different items at same time when the player breaks it; For exemple: the player broke my custom block and it drops a wooden plank and a stick at the same time. Maybe I can do this with Predicate but if so, I haven't understand how. All of the vanilla loot tables use a predicate for silk touch. Its the same thing. 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.
Trobibot Posted November 5, 2020 Author Posted November 5, 2020 Thank you @poopoodice this is exactly what I wanted. I hadn't thought that the key "pools" was an array. 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.