Upstream merge
Improve the data value filter to cover item stacks as well
Better comments on hopper tick patch
Fix some missed cases with data value blocking

The item and block forms of double plants have different rules
Upstream merge
Improve LongHash performance.
Revert "Improve LongHash performance."

This reverts commit 1705259934d5f77023262faea844c3847d3a1f2f.
Improve LongHash performance - take #2
Improve lsw too
Revert LongHash changes
Fix the restart command sometimes deadlocking the server
Prevent Unbounded IntCache Growth

Based on work by Peter Lawrey, this commit prevents unbounded growth of the integer cache and instead caps it to a value specified in the configuration (1024 by default). Should prevent thrashing, especially around world generation.
Shave nearly 2mb off jar size by not embedding our copy of trove since Minecraft now includes it.
Upstream merge, lots of conflicts
Partial upstream merge.

Still need to validate how some changes interact with our own.
Fix ItemFrame EntityDamageByEntityEvent
Merge pull request #178 from Zbob750/itemframes

Fix ItemFrame EntityDamageByEntityEvent
Fix fireball EntityDamageByEntityEvent also
Merge pull request #179 from Zbob750/fireball

Fix fireball EntityDamageByEntityEvent also
Ignore damage done by LivingEntity.damage()