Commit Graph

54 Commits

Author SHA1 Message Date
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
md_5
b5fb9a1cd7 SPIGOT-2686: Vehicles cannot collide with air 2016-10-12 19:47:14 +11:00
md_5
fafcfd7529 SPIGOT-2653: Better align combustion with vanilla behaviour 2016-09-03 16:39:21 +10:00
md_5
5e5cf84f2c SPIGOT-2581: EntityAirChangeEvent 2016-08-08 18:24:21 +10:00
md_5
71cd505d45 SPIGOT-2405: Better event for combust due to fire 2016-06-15 13:31:35 +10:00
md_5
885f4dce9e Restore some Vanilla behaviour to fix magma blocks 2016-06-09 12:50:21 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
md_5
99f22a5c59 SPIGOT-2050: Add back code to only fire VehicleEnterEvent for loaded chunks. 2016-03-26 09:19:10 +11:00
md_5
00d333414a SPIGOT-1927: Don't allow circular entity riding 2016-03-15 15:09:39 +11:00
md_5
3b375b354e SPIGOT-1831: Chicken / sheep not dropping items correctly. 2016-03-08 17:58:52 +11:00
md_5
bf43ca62a6 SPIGOT-1816: Rework drop capture. 2016-03-07 19:51:42 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
Jedediah Smith
9a17f01ff1 SPIGOT-949: Fix damage cooldown reducing explosion knockback 2015-08-31 18:06:13 +10:00
Thinkofdeath
d27e6d0c54 Add a sane limit for name length 2015-07-25 22:33:25 +01:00
md_5
a65e45d889 [SPIGOT-946] Begin making use of access transforms to simplify patching. 2015-06-06 19:46:42 +10:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
md_5
4470462a54 SPIGOT-387: Remove redundant custom vehicle handling. 2015-01-09 16:59:40 +11:00
Thinkofdeath
a28895313c SPIGOT-217: Fix VehicleBlockCollisionEvent having the wrong block location 2015-01-04 20:00:42 +00:00
FearThe1337
b6634d7409 SPIGOT-241 - Fix the duplication glitch of Leads (Vanilla bug).
Glitch is caused because entities drop their leads when they are dead and still leashed and when they can't find their owner (Or the distance is too large).
We need to make sure the entity we set to be dead, loses its leash before the next tick, else there will be two dropped leads.
2014-12-21 17:36:23 +00:00
md_5
1f8414b489 Rebuilt patches 2014-12-12 11:05:04 +11:00
md_5
9fa497cd55 Add implementation of the elder Guardian API 2014-12-12 10:57:00 +11:00
Thinkofdeath
14d69f1513 Remove old dev comments 2014-12-11 00:40:25 +00:00
Thinkofdeath
3c4a02ed33 Filter invalid bounding boxes for entities
This should prevent issues caused by broken horses
2014-12-02 17:53:34 +00:00
Thinkofdeath
90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00