13
0
geforkt von Mirrors/Paper
Commit graph

75 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
0e142c7f03 Update to Minecraft 1.15
By: md_5 <git@md-5.net>
2019-12-11 09:00:00 +11:00
CraftBukkit/Spigot
f2be8b0482 SPIGOT-5378: Fix TileEntity fixer deadlock
Chunk loading logic can make getTileEntity calls, and these can
be off of the main thread (i.e lighting). The TileEntity fixer
makes a getType call, which will block on chunk load. Thus a
deadlock can occur between a lighting thread and the server thread.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-10-20 00:50:26 -07:00
CraftBukkit/Spigot
a4b8e8ce68 Update to Minecraft 1.14.4
By: md_5 <git@md-5.net>
2019-07-20 09:00:00 +10:00
CraftBukkit/Spigot
569660215f Update to Minecraft 1.14.2
By: md_5 <git@md-5.net>
2019-05-28 06:30:00 +10:00
CraftBukkit/Spigot
788fd7eedc Update to Minecraft 1.14.1
By: md_5 <git@md-5.net>
2019-05-14 10:00:00 +10:00
CraftBukkit/Spigot
b407bebd8d SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI
By: md_5 <git@md-5.net>
2019-05-12 11:15:48 +10:00
CraftBukkit/Spigot
cef8c2f357 Revert "SPIGOT-4825: Clearly error on asynchronous tile access"
This reverts commit ff6da11426.

By: md_5 <git@md-5.net>
2019-05-01 08:51:01 +10:00
CraftBukkit/Spigot
ff6da11426 SPIGOT-4825: Clearly error on asynchronous tile access
By: md_5 <git@md-5.net>
2019-05-01 06:59:38 +10:00
CraftBukkit/Spigot
badc255efc Update to Minecraft 1.14
By: md_5 <git@md-5.net>
2019-04-25 12:00:00 +10:00
CraftBukkit/Spigot
a0f2b74c8d Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
CraftBukkit/Spigot
0deb5e7d0a SPIGOT-4637: Add source block to BlockPhysicsEvent.
Allows a plugin to lookup the source block of event. For example, a protection plugin may want to determine what caused the physics event to be triggered.

By: bloodshot <jdroque@gmail.com>
2019-02-24 22:50:05 -05:00
CraftBukkit/Spigot
d7e312278d Mappings Update
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
1471b6a942 Reduce copying of positions from block states
By: md_5 <git@md-5.net>
2018-12-22 11:32:11 +11:00
CraftBukkit/Spigot
0d2bc86153 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN
By: md_5 <git@md-5.net>
2018-12-17 12:30:16 +11:00
CraftBukkit/Spigot
83baf22bde Mappings Update
By: md_5 <git@md-5.net>
2018-12-13 11:00:00 +11:00
CraftBukkit/Spigot
102dee7d4f Mappings Update
By: md_5 <git@md-5.net>
2018-12-06 10:00:00 +11:00
CraftBukkit/Spigot
a194267323 Update to Minecraft 1.13.2
By: md_5 <git@md-5.net>
2018-10-23 06:00:00 +11:00
CraftBukkit/Spigot
79c0a37767 SPIGOT-4378: Fix mistakenly included code
By: md_5 <git@md-5.net>
2018-09-16 08:16:03 +10:00
CraftBukkit/Spigot
7f1178fda4 SPIGOT-4370: Remove vehicle if its passenger spawn event was cancelled
By: md_5 <git@md-5.net>
2018-09-15 15:20:20 +10:00
CraftBukkit/Spigot
844b70144f SPIGOT-4316: Do even less processing when block placement without physics requested
By: md_5 <git@md-5.net>
2018-08-27 18:27:59 +10:00
CraftBukkit/Spigot
f578d94680 Update to Minecraft 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 12:00:00 +10:00
CraftBukkit/Spigot
c09fac2858 SPIGOT-4178: Add another BlockPhysicsEvent call site
By: md_5 <git@md-5.net>
2018-07-29 09:37:16 +10:00
CraftBukkit/Spigot
1e014acb80 Update to Minecraft 1.13
By: md_5 <git@md-5.net>
2018-07-22 12:00:00 +10:00
CraftBukkit/Spigot
7e0a66fdd5 Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
CraftBukkit/Spigot
b83b867dbb SPIGOT-3686: Move entity event call earlier in method
By: md_5 <git@md-5.net>
2017-12-09 17:32:19 +11:00
CraftBukkit/Spigot
5e3ba4ff73 Update to Minecraft 1.12.2
By: md_5 <git@md-5.net>
2017-09-18 20:00:00 +10:00
CraftBukkit/Spigot
0cda4f9617 Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
2017-08-03 23:00:00 +10:00
CraftBukkit/Spigot
4ed8997ca1 SPIGOT-3463: Spurious item drops from event
By: md_5 <git@md-5.net>
2017-07-28 17:23:39 +10:00
CraftBukkit/Spigot
ea595a5dcf Update to Minecraft 1.12
By: md_5 <git@md-5.net>
2017-06-08 18:00:00 +10:00
CraftBukkit/Spigot
ea6ca4328a Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
2017-05-30 21:25:59 +10:00
CraftBukkit/Spigot
a0b8ce2dc9 SPIGOT-3254: Check chunks are loaded before ticking entities as per previous versions.
By: md_5 <git@md-5.net>
2017-05-20 11:27:48 +10:00
CraftBukkit/Spigot
530fe41851 Update to Minecraft 1.12-pre5
By: md_5 <git@md-5.net>
2017-05-19 21:00:13 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
b18c5c741b 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.

By: md_5 <git@md-5.net>
2017-03-20 15:41:15 +11:00
CraftBukkit/Spigot
cedf1495bd SPIGOT-3128: Shift VehicleCreateEvent calling.
By: md_5 <git@md-5.net>
2017-03-15 20:48:47 +11:00
CraftBukkit/Spigot
49376274b6 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.

By: Pokechu22 <Pokechu022@gmail.com>
2017-01-18 17:42:35 -08:00
CraftBukkit/Spigot
93623ce896 SPIGOT-2966: Entirely remove problematic check
By: md_5 <git@md-5.net>
2016-12-28 09:50:40 +11:00
CraftBukkit/Spigot
e6b0af2e55 SPIGOT-2944: Just apply filtering to players
By: md_5 <git@md-5.net>
2016-12-22 16:50:24 +11:00
CraftBukkit/Spigot
afecf1c36c SPIGOT-2948: Alter filtering logic
By: md_5 <git@md-5.net>
2016-12-21 17:12:39 +11:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +11:00
CraftBukkit/Spigot
75f7baf1ad SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.

By: md_5 <git@md-5.net>
2016-12-17 14:26:09 +11:00
CraftBukkit/Spigot
4e412ab4e3 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:41:03 +11:00
CraftBukkit/Spigot
1908fefc12 Update to Minecraft 1.10.2
By: md_5 <git@md-5.net>
2016-06-25 11:54:17 +10:00
CraftBukkit/Spigot
a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +10:00
CraftBukkit/Spigot
ba115c957b SPIGOT-2303: Use getChunkIfLoaded
By: md_5 <git@md-5.net>
2016-05-22 13:57:44 +10:00
CraftBukkit/Spigot
d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00
CraftBukkit/Spigot
4fbcead283 SPIGOT-2033: Re-add missed diff for entity.valid
By: Aikar <aikar@aikar.co>
2016-03-28 20:19:29 -04:00
CraftBukkit/Spigot
9808985b27 SPIGOT-1746: Tile entities may not always tick.
By: md_5 <git@md-5.net>
2016-03-25 14:04:27 +11:00
CraftBukkit/Spigot
a28e1be276 SPIGOT-1900: Stub out expensive and redundant method call
By: md_5 <git@md-5.net>
2016-03-12 20:43:04 +11:00
CraftBukkit/Spigot
51207b52a7 Missing diff effecting frost walker ignoring entities
By: BlackHole <black-hole@live.com>
2016-03-09 19:53:01 +01:00