Commit Graph

59 Commits

Author SHA1 Message Date
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
md_5
6166843699 SPIGOT-4378: Fix mistakenly included code 2018-09-16 08:16:03 +10:00
md_5
bf1c82731c SPIGOT-4370: Remove vehicle if its passenger spawn event was cancelled 2018-09-15 15:25:27 +10:00
md_5
c2cbdc5ab4 SPIGOT-4316: Do even less processing when block placement without physics requested 2018-08-27 18:29:28 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
f68afdb0ca SPIGOT-4178: Add another BlockPhysicsEvent call site 2018-07-29 09:37:16 +10:00
md_5
1a6b4f5392 Update to Minecraft 1.13 2018-07-22 12:00:00 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
70cc3820cf SPIGOT-3686: Move entity event call earlier in method 2017-12-09 17:32:19 +11:00
md_5
9a1f5ee80a Update to Minecraft 1.12.2 2017-09-18 20:00:00 +10:00
md_5
2a927e8638 Update to Minecraft 1.12.1 2017-08-03 23:00:00 +10:00
md_5
5c4864398d SPIGOT-3463: Spurious item drops from event 2017-07-28 17:23:39 +10:00
md_5
bb4ae3b3b8 Update to Minecraft 1.12 2017-06-08 18:00:00 +10:00
md_5
e13d119686 Update to Minecraft 1.12-pre6 2017-05-30 21:55:13 +10:00
md_5
cda27c992d SPIGOT-3254: Check chunks are loaded before ticking entities as per previous versions. 2017-05-20 11:28:38 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
md_5
257d6cd04f Process entity portalling towards the end of a tick.
Cross world teleportation works by taking a copy of an entity and moving it to a new world. After this happens the original entity is marked as dead so as to be removed from the original world, however it still undergoes one further tick in the main world, but with some information from the new world. It is not so easy to break out of this tick cycle if needed, so instead we move the portalling process towards the end of an existing tick. This ensures that the entity will not be spuriously ticked.
2017-03-20 15:41:15 +11:00
md_5
2aa5ac6c92 SPIGOT-3128: Shift VehicleCreateEvent calling. 2017-03-15 20:48:47 +11:00
Pokechu22
4d3bf20155 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.
2017-01-18 17:42:35 -08:00
md_5
70bc70b4ee SPIGOT-2966: Entirely remove problematic check 2016-12-28 09:50:40 +11:00
md_5
13a5b12206 SPIGOT-2944: Just apply filtering to players 2016-12-22 16:50:24 +11:00
md_5
fb50a80d0f SPIGOT-2948: Alter filtering logic 2016-12-21 17:12:39 +11:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
7f313269d7 SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.
2016-12-17 14:26:09 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
75f99ec7c5 Update to Minecraft 1.10.2 2016-06-25 11:54:17 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
a022dd22fd SPIGOT-2303: Use getChunkIfLoaded 2016-05-22 13:57:44 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
Aikar
44216f12ed SPIGOT-2033: Re-add missed diff for entity.valid 2016-03-29 11:31:36 +11:00
md_5
8e5eab2655 SPIGOT-1746: Tile entities may not always tick. 2016-03-25 14:04:27 +11:00
md_5
d0e326a071 SPIGOT-1900: Stub out expensive and redundant method call 2016-03-12 20:43:04 +11:00
BlackHole
68b72776a9 Missing diff effecting frost walker ignoring entities 2016-03-10 07:49:44 +11:00
md_5
3c1ec8a54e SPIGOT-1663: Fix WorldBorder displaying in secondary worlds. 2016-03-06 12:13:07 +11:00
md_5
60f01ef304 SPIGOT-1626 / MC-98994: Fix slow chunk performance
Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.
2016-03-05 18:50:38 +11:00
md_5
f5d92d6b12 SPIGOT-1525: Fix worldborder set. 2016-03-01 11:20:42 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
Thinkofdeath
e3b5669be1 SPIGOT-915: Remove the getEntities filter
Didn't fix the issue like i'd hoped and broke a few plugins in the process.
Ideally though plugins shouldn't be using it for large ranges because it
is inefficient
2015-07-08 22:42:08 +01:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
Thinkofdeath
22c613d869 SPIGOT-725: Always return captured tile entities 2015-03-22 19:21:34 +00:00
Thinkofdeath
22ee419816 SPIGOT-711: Correctly init captured tile entities 2015-03-16 15:55:10 +00:00
Thinkofdeath
55f3a3ea9e Capture tile entities and only place them in the event succeeds 2015-03-16 09:48:01 +00:00
Thinkofdeath
20ef9f5676 SPIGOT-677: Add populators slightly later to make sure everything is initialized 2015-03-11 10:15:39 +00:00
Thinkofdeath
091a7212b0 SPIGOT-626: Add populators early to prevent chunks being missed 2015-03-08 10:08:19 +00:00
Thinkofdeath
21f6ee1f62 SPIGOT-644: Attempt to fix a long standing issue by limiting the range of getEntities 2015-03-08 00:44:47 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
md_5
07fcb493a9 Rewrite storm / thunder event handling to catch all cases. Fixes SPIGOT-335. 2015-01-05 09:50:48 +11:00
Thinkofdeath
f48410a39c Fix per a world world borders
Well... mostly anyway
2014-12-10 19:17:17 +00:00
Thinkofdeath
bab0e8bc70 Fix the chunks being blocked from unloading based on the keepSpawnInMemory flag 2014-12-05 11:17:47 +00:00