Call loot table procedure

Published by Nosferatu8 on
Issue description

Hi. I've just wondering around with the random lucky block procedure to make some special items for my mod and think about it should be great
to have a "Call loot table" procedure so we can call down a loot table instead of using the lucky block random % procedures whos taking too many space in the editor.

For example: If the player right click in the air with a treasure chest ITEM it should call down the loot table.

I hope other people are interested too in this idea. Anyways i've found this article https://mcreator.net/forum/57588/pick-item-loot-table-procedure and seen that the owner didn't opened a feature request about it so i did it :)

 

Issue comments

I did not try this yet, but checking getDrops method of a Block class would be a good starting point.