Add PlayerTimeHandler,PlayerSpawnPositionHandler

Signed-off-by: L5D <L5D@L5D-PC>
Rename EntityInteract to PlayerUseEntity

Signed-off-by: L5D <L5D@L5D-PC>
Merge pull request #577 from L5D/master

Add PlayerTimeHandler
Begining of minecraft authentification for the client.
Doesnt connect to the server yet, but pretty close :D

Signed-off-by: Karang <arthur.hennequin@free.fr>
Continuation of client connection to server
Merge pull request #576 from Karang/master

Begining of minecraft authentification for the client.
Add PlayerHealthHandler

Signed-off-by: L5D <L5D@L5D-PC>
Merge pull request #578 from L5D/master

Add PlayerHealthHandler
Add PlayerRespawnHandler

Signed-off-by: L5D <L5D@L5D-PC>
Merge pull request #579 from L5D/master

Add PlayerRespawnHandler
More client protocol : PlayerBedHandler, PlayerPositionLookHandler,
EntityAnimationHandler

Signed-off-by: L5D <L5D@L5D-PC>
Merge pull request #580 from L5D/master

More client protocol
More protocol PlayerAbility & ServerPlugin

Signed-off-by: L5D <L5D@L5D-PC>
Merge pull request #581 from L5D/master

More protocol PlayerAbility & ServerPlugin
More empty handler for client protocol

Signed-off-by: L5D <L5D@L5D-PC>
Merge pull request #582 from L5D/master

More empty handler for client protocol
Really close to be connected to server.
Authentification went well, now we need to correctly configure the
packet encryption.
Signed-off-by: Karang <arthur.hennequin@free.fr>
Merge pull request #583 from Karang/master

Really close to be connected to server.
World generation improvements

Made chest corridors rarer
Rivers in mountains
Mushroom biomes further away from shore
Stop spawning in mushroom islands
Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>
Added enchantment mechanics on enchantment table
*Added methods to api/enchantment/Enchantment.java to generate and add random enchantments
*Logic based on Minecraft 1.4.7 source
*Changed "enchantment level" to "power level" in places to distinguish between the power level of an enchantment (I, II, III, IV, V) and the enchantment level displayed in the enchantment interface (1 to 30)
*Fixed bug in Enchantments.values(), which was assuming the enchantment ids were consecutive
*Fixed bug in Enchantment.addEnchantment etc, which weren't putting the NBT data in the correct format (http://www.minecraftwiki.net/wiki/Player.dat_Format#Item_structure)
*Fixed bug in ToolEnchantment.canEnchant (returned true on bows and swords)
*Simplified xp code
*Update EnchantmentTable's level display when it changes, rather than every tick
*Allow bookshelves on one side of table to contribute despite blocks on the other side (still not quite identical to Vanilla)
*Moved enchantment levels from EnchantmentTableInventory to EnchantmentTableWindow
*Added tests EnchantmentTest and LevelComponentTest
Signed-off-by: stewbasic <stewbasic@gmail.com>