Commit Graph

79 Commits

Author SHA1 Message Date
md_5
de42aa13f3 Update to Minecraft 1.15 2019-12-11 09:00:00 +11:00
md_5
fca41573a3 SPIGOT-5136: EntityPortalEvent getting called on interdimensional entity teleports 2019-07-05 10:09:11 +10:00
md_5
bf32933484 SPIGOT-5133: Throwing items into secondary end world portal causes crash 2019-07-02 10:47:00 +10:00
md_5
fe3930ce00 Update to Minecraft 1.14.3-pre4 2019-06-21 20:00:00 +10:00
md_5
043d31deb0 SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles 2019-06-02 19:54:24 +10:00
md_5
fa71719350 Make bukkitEntity private to prevent incorrect usage 2019-06-02 19:49:41 +10:00
md_5
cb3d14c5a7 Update to Minecraft 1.14.2 2019-05-28 06:30:00 +10:00
md_5
17da34209f Fix reading custom persistent entity data 2019-05-25 11:22:18 +10:00
blablubbabc
8d0f37228d SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events 2019-05-25 10:47:30 +10:00
md_5
89c52b7b0e Update to Minecraft 1.14.1 2019-05-14 10:00:00 +10:00
md_5
907de3f4ce SPIGOT-4921: Preserve entity compat with Vanilla 2019-05-13 16:50:52 +10:00
md_5
8ad02cd9c7 SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI 2019-05-12 11:15:48 +10:00
md_5
f4f32958a8 SPIGOT-4795: EntityPoseChangeEvent called every tick 2019-04-28 10:03:52 +10:00
md_5
6606cd88d2 SPIGOT-4753: Add Pose API 2019-04-27 10:27:05 +10:00
md_5
6de3aa179a SPIGOT-4771: PlayerPortalEvent does not have correct cause when entering nether 2019-04-26 21:47:21 +10:00
md_5
b9a2a74105 SPIGOT-4757: Server hangs after teleporting 2019-04-26 09:45:57 +10:00
Bjarne Koll
42f88f72b5 Replace ItemTag API with new API that also expands to Tiles and Entities 2019-04-25 14:42:39 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
843cee65f3 Fix a bunch of duplicate EntityCombustEvent calls 2019-01-11 11:41:32 +11:00
md_5
438556243d SPIGOT-4571: EntityCombustEvent not firing for phantoms 2019-01-09 20:39:25 +11:00
drXor
f2746a5eb2 Descriptive kick reasons instead of Nope! 2019-01-05 16:21:07 +11:00
md_5
d05c8b1481 Mappings Update 2018-12-26 08:00:00 +11:00
md_5
c64fe5080c Mappings Update 2018-12-13 11:00:00 +11:00
md_5
aa36c8417b Mappings Update 2018-12-06 10:00:00 +11:00
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
Aikar
40aed54d11 SPIGOT-4396: Improve vehicle movement 2018-09-26 17:19:16 +10:00
md_5
3f5ca5f2a4 SPIGOT-4355: Improve cancelling VehicleEnterEvent 2018-09-09 09:32:11 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
Articdive
e013bf4323 SPIGOT-3917: Add EntityDropItemEvent 2018-07-31 10:06:23 +10:00
md_5
3f9d7f7770 Move persist flag check 2018-07-30 13:25:02 +10:00
blablubbabc
c3a8de0371 SPIGOT-227: Add entity persistent flag
Non-persistent entities won't get saved when the chunk saves the entities.
Entities that are passengers of a non-persistent entity won't get saved.
Players won't save their vehicle, if the player is directly or
indirectly riding a non-persistent entity.
2018-07-30 12:29:43 +10:00
md_5
bef764020e SPIGOT-4185: Bubble columns not working on mobs 2018-07-30 11:17:26 +10:00
md_5
5c2585068b SPIGOT-1588: Fix cancelling mount related events 2018-07-28 10:10:17 +10:00
md_5
1a6b4f5392 Update to Minecraft 1.13 2018-07-22 12:00:00 +10:00
md_5
fe7db9d53b Add EntityToggleSwimEvent and isSwimming / setSwimming API 2018-07-15 16:17:35 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
1bb523c4e4 SPIGOT-3829: Apply some speed limits to all entities 2018-02-19 09:52:00 +11:00
md_5
2fae23c251 SPIGOT-3637: Adjust yaw yet again 2017-11-07 17:21:38 +11:00
md_5
27b8bf9116 SPIGOT-3497: Cancelled EntityPortalEvent leads to incorrect behaviour 2017-08-08 20:35:29 +10:00
md_5
f078eed54b SPIGOT-3440: Non player entities should not make new portals 2017-07-22 16:40:10 +10:00
md_5
bb4ae3b3b8 Update to Minecraft 1.12 2017-06-08 18:00:00 +10:00
md_5
24147056e0 SPIGOT-3258: VehicleBlockCollisionEvent only fires in certain directions 2017-05-21 10:24:47 +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
2683195ecd SPIGOT-3063: Call EntityAirChangeEvent 2017-02-14 10:34:56 +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
a86731306b Update to Minecraft 1.11.2 2016-12-21 22:00:00 +11:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00