Topic category: Minecraft mod ideas exchange
Hi. I'm making a "Realistic Start" mod that makes it to where you need a tool to get wood from trees. I don't know how to do this though, so I have an idea for two new procedure blocks; "If Block Destroyed By Tool," and "Loot Table" The "If Block Destroyed By Tool" block would have two blanks, one for a block, and one for a tool/item. The "Loot Table" block would have a drop-down piece for a loot table that you created, or that's already in the game. Here's an example:
If > block (your choice) destroyed by tool (your choice)
Do > loot table (your choice)
If you could find a way to add this, that would be greatly appreciated.
Edit: Also, a "Disable Loot table" block would be nice too. It would work similarly to the "Loot Table" block, but opposite.
This post belongs in the help with modding group
anyway
Top Left is the main procedure (50% chance drop something)
Second left - Drop one item one or two
Third left - 33% chance to drop something
Right - First item has a 50% chance to drop, second and third both have a 25% chance to drop
Remove the spawn gem if you want a chance to not drop an item
It basically asks if a random number from 0 - 1 is higher than 0.5, it means that it will only have a 50% chance to drop.
Hope i was helpful
-Fred
Even though I'm not trying to make a random chance for something to happen, I can remake this with some adjustments and see if that will work. Thank you very much.
I was just looking around for ways to use procedure blocks to roll loot tables and this came up on my search engine, but it is the most helpful thing I've found, and I don't need to set up loot tables!