Get drop of block at procedure block

Published by LeNanic0 on Fri, 07/05/2019 - 07:37
Upvotes: 6
Issue description

This procedures can help to make more advanced technology mods, helping to make  a quarry, for example, that breaks a block and put the equivalent item or the drop in an internal inventory rather than break a block and drop it on the world

Issue comments

Get the equivalent item of block at [x,y,z] is already possible. Get drop of block at is not possible yet and we will consider adding this.

I don't know how to get the equivalent item of block at [x,y,z], Can you show me how this is possible?

Did you add this feature meanwhile? I would like to drop a different Item of a custom ore when broken with a different Level of a Harvest tool. (Drop Nugget with Stone Pickaxe, drop ore itself with iron pickaxe)

Blocks can drop multiple items so for now "Get the equivalent item of block at [x,y,z]" will need to be used.

We would need to add support for lists which is planned but not for upcoming updates yet.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.