Merge pull request #217 from nallar/master

Implement sensible default getDrops implementation.
Updates to docs and events
Fix Sheep NPE

Signed-off-by: Windwaker <wjcrouse913@aim.com>
Set chest and dispenser slot conversions

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Added ControllerMaterial class

* Abstracts duplicate code into one class
* Block controller's entities are now killed BlockMaterial#onDestroy
* Moved LockedChest into org.spout.vanilla.material.solid

Signed-off-by: Windwaker <wjcrouse913@aim.com>
Formatting

Signed-off-by: Windwaker <wjcrouse913@aim.com>
Trees grow rather than appearing as a full tree
Call EntityCombustEvent

Signed-off-by: Windwaker <wjcrouse913@aim.com>
Added Respiration enchantment and drowning and suffocation damage. The damage system will need some work, but for now this can provide a trace of survival behavior.

Signed-off-by: aPunch <theapunch@yahoo.com>
Merge pull request #215 from aPunch/master

Respiration, Enchantment, and First Signs of Survival
Various entity changes

* Removed 'Controller' suffix from the block controllers; it's implied by the package
* Removed unused EmptyControllerType fields in numerous controllers
* Made the DamageCause and HealthChangeReason an enum instead of wrapping an enum in a class
* Removed ControllerInitialization and added ControllerChangeReason enum
* Removed SilverfishBlockController; moved SilverfishBlock to org.spout.vanilla.material.solid

Signed-off-by: Windwaker <wjcrouse913@aim.com>
Added back getInstance, remove OP wrapper, add in ability to specify if
spawn points should be kept loaded per world (check worlds.yml).

Signed-off-by: Chris Sanders <NinjaZidane@hotmail.com>
Add a basic bounding box for a VanillaPlayer (I literally guessed). Remove
printout from onCollide (Yes...we know collisions work, no use spamming
us).

Signed-off-by: Chris Sanders <NinjaZidane@hotmail.com>
Players are actually a special case for collisions (thanks soo much
Mojang...), will need to establish a system that accounts for the
notchinan client pre-resolving of collisions.

Signed-off-by: Chris Sanders <NinjaZidane@hotmail.com>
Remove entity move spam (it works...), register basic gravity and and
wander AI for entities.

Forewarning: I am not responsible for flying endermen, pigs, cows, etc as
well as I cannot gurrantee that any creature that vanishes will ever make
its way back. tl;dr Collisions against materials work.

Signed-off-by: Chris Sanders <NinjaZidane@hotmail.com>
Give players back their collision model (simply for testing until we
figure out how to even handle collisions). Start work on falling blocks.

Signed-off-by: Chris Sanders <NinjaZidane@hotmail.com>
Implement crafting inventory and windows. The only thing this needs is a recipe system in place for it to be functional.

Signed-off-by: Jack Huey <kitskub@gmail.com>
Minor window handling changes

* Added Window#onClick method for generic clicks
* Renamed EnchantWindow > EnchantmentTableWindow and CraftingWindow > CraftingTableWindow
* Cleaned up WindowMessageHandler

Signed-off-by: Windwaker <wjcrouse913@aim.com>
Properly implemented onIgnite.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>
Implemented multiple drops and randomised number of drops/

Signed-off-by: Ross Allan <rallanpcl@gmail.com>