Deprecated&unused code

Replaced deprecated code. Removed unused code. Replaced enchantment ids
by names. Cleaned up the code.