Commit Graph
7 Commits
Author SHA1 Message Date
Aikar 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
Zach Brown 1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
Zach Brown 4340ef97ca Switch to a bStats based Metrics system 2017-03-25 00:22:02 -05:00
Zach Brown 67a9e0cbf6 Update upstream CB 2016-12-10 17:50:31 -06:00
Zach Brown b21c31c91d Update upstream B/CB 2016-12-09 18:07:35 -06:00
Zach Brown 9b192b2708 Update to Minecraft 1.10 2016-06-08 22:57:14 -05:00
Aikar 553319f958 Prevent Waterflow BlockFromToEvent from loading chunks
Many protection plugins would unintentionally trigger chunk loads
by calling .getToBlock() on an unloaded chunk, killing performance.

Simply skip the event call. as CraftBukkit blocks changing the block
of unloaded chunks anyways.

This keeps behavior consistent, vs inconsistent flowing based on plugin triggered loads.
2016-03-28 22:04:43 -04:00