Commit Graph

15 Commits

Author SHA1 Message Date
9ce19f0321 NOT FINISHED: Current progress, updated upstream 2018-07-18 00:52:33 -04:00
3cb169aa7c NOT FINISHED! 1.13-pre7 - even more patches!
Patches, patches everywhere!
2018-07-18 01:08:13 +01:00
8778a2ef97 Current Chunk for Entity and Block Entities, counts by entity type
This enables us a fast reference to the entities current chunk instead
of having to look it up by hashmap lookups.

We also store counts by type to further enable other performance optimizations in later patches.
2018-07-04 03:55:24 -04:00
9bafd0634e Stop explicitly blocking Vanilla Method Profiler
At the time this was re-added, there was concern around how the JIT
would handle the system property that enabled it.

This shouldn't be a problem, and as such we no longer need to block
access to it.

The Vanilla Method Profiler will not provide much to most users however
there is no harm in providing it as an option. For most users, the
recommended and supported method for determining performance issues with
Paper will continue to be Timings.
2018-03-31 14:51:21 -04:00
3d9d0a7227 Optimize Hoppers
- Lots of itemstack cloning removed. Only clone if the item is actually moved
- Return true when a plugin cancels inventory move item event instead of false, as false causes pulls to cycle through all items.
  However, pushes do not exhibit the same behavior, so this is not something plugins could of been relying on.
- Add option (Default on) to cooldown hoppers when they fail to move an item due to full inventory
- Skip subsequent InventoryMoveItemEvents if a plugin does not use the item after first event fire for an iteration
2018-01-18 01:00:51 -05:00
c93e1ee068 Update upstream B/CB/S 2018-01-10 23:31:19 -06:00
fa8db475d6 Update upstream B/CB/S 2017-12-27 22:45:33 -06:00
a907e21341 Update B/CB/S 2017-11-18 03:04:21 +00:00
4424c3dec9 Rebuild patches 2017-09-06 22:59:08 -04:00
64b2b87256 Upstream update 2017-08-07 23:05:16 -04:00
fe649493e3 Update B/CB 2017-07-28 14:45:16 +01:00
4265551308 Upstream update 2017-07-26 21:12:40 -04:00
43d46feb48 Update B/CB 2017-07-10 14:04:41 +01:00
1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
5d51c00fac Add UnknownCommandEvent (#746) 2017-06-17 20:53:31 -04:00