xXProdigalXx/StaffDrops — pull request #2 by mathphreak (2012-12-03 21:41:36+00:00)
Title: All enchantments now work!

Item enchantments on the items they're supposed to be on have always worked. Non-legitimate item enchantments weren't working before, but they are now. It isn't ideal the way it works right now, but it works, which is good.

* fortune just re-breaks the block once for each level of fortune (so fortune 3 means it drops four times what it should)
* (NOTE: works for ALL ITEMS, not just ores. Mining dirt with Fortune III gives you four dirt.)
* silk touch just drops whatever was mined (WILL [probably] allow people to obtain bed blocks and piston heads)
* sharpness and smite just do extra damage
* fire aspect works THE FREAKING SAME as it would legitimately (MCP is wonderful)
* looting just spawns one extra animal per level and then kills it to get more drops