New Procedure - Get item result of breaking block

Started by BloxyMath on

Topic category: Feature requests and ideas for MCreator

Last seen on 21:59, 12. Oct 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
New Procedure - Get item result of breaking block

Would be very useful. The procedure would check the targeted block, it can do so with coords (XYZ)
Heres an example. The procedure checks the block at xyz, the block at those coords is an Iron Ore, then the procedure would return Raw Iron as that's what Iron Ore drops.
You could also make it work similiar to how the "Get smelting result of item" so instead it would be "Get item result of breaking block"

This would be useful for making easier Fortune logic, especially when it's dependent on tools using procedures instead of loottables that only checks for enchantments.

There is a similiar procedure block, that's called "Remove block at xyz drop at xyz" This is useful, but has it's limitations that it HAS to break the block meaning it can't be repeated as it breaks the block so you can no longer get the block at the same coords as now it's just air.