3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 14:50:08 +01:00
Commit graph

78 Commits

Autor SHA1 Nachricht Datum
md_5
aa8f3d5a41
SPIGOT-5901: Structures are generated in all worlds based on the setting for the main world 2020-06-30 10:29:41 +10:00
md_5
7ea3c040bc
Update to Minecraft 1.16.1 2020-06-25 10:00:00 +10:00
md_5
d70084e53d Remove unused seed in CustomChunkGenerator 2020-02-02 19:32:36 +11:00
md_5
6881a10803 Update to Minecraft 1.15.2 2020-01-22 08:00:00 +11:00
md_5
75fac431cf SPIGOT-5472: Spurious warning when using clone command on tile entities 2019-12-23 11:59:51 +11:00
ShaneBee
2d9db47fb5 Add TimeSkipEvent 2019-12-21 18:33:20 +11:00
md_5
de42aa13f3 Update to Minecraft 1.15 2019-12-11 09:00:00 +11:00
Spottedleaf
3fe3746012 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.
2019-10-20 19:16:35 +11:00
md_5
12386dd445 SPIGOT-5375: Add spaces to coordinates from tile fixer 2019-10-20 08:05:55 +11:00
md_5
e2dd6555e8 SPIGOT-5372: Re-add tile entity fixer due to MC-163945 2019-10-18 19:58:39 +11:00
md_5
2439178eab SPIGOT-5278: EntityDrowned memory leak 2019-08-24 19:45:08 +10:00
md_5
e73aabd666 Update to Minecraft 1.14.4 2019-07-20 09:00:00 +10:00
md_5
e8b39d430a SPIGOT-5103: World.save does not save gamerules 2019-06-25 21:02:13 +10:00
md_5
fe3930ce00 Update to Minecraft 1.14.3-pre4 2019-06-21 20:00:00 +10:00
md_5
89c52b7b0e Update to Minecraft 1.14.1 2019-05-14 10:00:00 +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
ee8818473d SPIGOT-4888: setSleepingIgnored resets the night even when there is no one in a bed 2019-05-08 20:34:41 +10:00
blablubbabc
401641ea6d SPIGOT-4774: Entities don't get marked 'invalid' after being removed 2019-04-27 09:25:53 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
331c43929e SPIGOT-4720: Remove now unnecessary tile fixer 2019-04-24 10:28:36 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
516a408f4a Remove redundant CraftBukkit change for secondary world data
The above loop would always save this data
2019-01-05 16:41:02 +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
a4bdecff65 SPIGOT-4372: LightningStrikeEvent cause API 2018-09-15 19:16:42 +10:00
md_5
5d0d83bb90 SPIGOT-4309: Add "forced" display of particles 2018-08-26 18:27:19 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
md_5
c1d9f94223 SPIGOT-4050: Snow erasing block below it 2018-07-19 15:44:55 +10:00
md_5
82ca5c2740 SPIGOT-4006: ICE rather than SNOW forming in some biomes 2018-07-16 08:53:29 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
4509a144db SPIGOT-3899: Only load advancements from primary world 2018-04-15 10:21:11 +10:00
md_5
9a1f5ee80a Update to Minecraft 1.12.2 2017-09-18 20:00:00 +10:00
md_5
a7d074c6c0 SPIGOT-3329: Allow per world loot tables 2017-06-15 20:34:19 +10:00
Jacob Martin
f7d14f184d Fix detection of missing or invalid tile entities for End portals and gateways 2017-06-12 12:41:18 -05:00
md_5
639aa0cf48 SPIGOT-3320: Apply tile entity fixer to more types 2017-06-11 08:32:29 +10:00
md_5
701b06494d SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete 2017-06-03 17:39:03 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
md_5
913c5a61f7 SPIGOT-3242: Fix rain not showing client side 2017-05-15 15:01:05 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10: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
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
caf86c88a9 Use CraftEventFactory for BlockFormEvent 2016-12-09 12:45:21 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
Pokechu22
e20928f7da SPIGOT-2726: Fix duplicate UUID check not always running
World.addEntity(Entity entity) calls addEntity(entity, SpawnReason.DEFAULT), which contains the code that was originally in addEntity (and some event code).

However, WorldServer previously only had addEntity(Entity entity), so if addEntity(Entity entity, SpawnReason spawnreason) was called directly, the UUID check that's found in it (the call to 'i') is skipped.  This happens, among other places, in ChunkRegionLoader.spawnEntity (which /summon uses).

I fixed this by making WorldServer override the SpawnReason version, rather than the regular version.  This is safe to do because the World version calls the SpawnReason version - it's not necessary to do the same thing in WorldServer.
2016-10-16 19:42:23 +11:00
md_5
a327d9f1da SPIGOT-2504: Save structure info for secondary worlds 2016-07-08 10:55:51 +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
Thinkofname
b70058afa2 SPIGOT-2191: Fix a missed diff from 1.8.8 2016-04-17 17:47:51 +01:00
Thinkofname
6e527e5b88 Update to Minecraft 1.9.2 2016-03-30 21:06:51 +01:00
BlackHole
87e677ce49 Add spawn reasons for entities involved in a skeleton trap 2016-03-14 16:54:38 +11:00