When breaking a grass block, you get a grass block in the inventory instead of dirt.
When breaking stone, you get stone instead of cobblestone
When breaking coal ore, you get the coal ore block instead of just the coal.
Etc. See: http://minecraft.gamepedia.com/Drops#Block_drops
Related: #4 (item pickup entities)
Needs handling for:
[X] Generic getDrops() for Bukkit API.
[x] Only dropping when correct tool is used.
[ ] Dropping bonus loot for Fortune enchantments.
[ ] Dropping the original block for Silk Touch enchantments.
[ ] Dropping the correct items for blocks (1.8 blocks, for example)
Some kind of unit test should be done to test this however
When breaking a grass block, you get a grass block in the inventory instead of dirt. When breaking stone, you get stone instead of cobblestone When breaking coal ore, you get the coal ore block instead of just the coal. Etc. See: http://minecraft.gamepedia.com/Drops#Block_drops
Related: #4 (item pickup entities)
Needs handling for:
getDrops()
for Bukkit API.