Commit Graph

339 Commits

Author SHA1 Message Date
Noah van der Aa f1db23e47f
[ci skip] Fix incorrect javadoc for Mob pathfinding API (#6842) 2022-01-17 23:26:11 -08:00
Owen 6d67504ab5
Expand Panda API (#7061) 2022-01-17 15:23:44 -08:00
Jake Potrebic 99cf01f993
Fix and deprecate ItemStack#getI18NDisplayName (#7358) 2022-01-16 16:53:26 -08:00
Jake Potrebic 0c64d401aa
Updated Upstream (Bukkit/CraftBukkit) (#7323) 2022-01-12 13:39:20 -08:00
John ebaca20edd
Added getHostname to AsyncPlayerPreLoginEvent (#6656) 2022-01-12 09:21:29 -08:00
Tom Miller 87d8ef9f24
Add/Remove multiple entries with Scoreboard Team (#6640) 2022-01-09 21:08:55 -08:00
Jacob Andersen 2be9beb5dc
Add material tags for deepslate ores (#7174) 2022-01-09 20:25:22 -08:00
u9g a736c1a3c7
Add new overload to PersistentDataContainer#has (#7278)
Co-authored-by: u9g <winworkswow@gmail.com>
Co-authored-by: Josh Roy <joshroy126@gmail.com>
2022-01-09 11:35:45 -05:00
Jake Potrebic 7d7ae7b881
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#7246) 2022-01-08 21:12:05 -08:00
Jason d9fb602057
Expose vanilla BiomeProvider from WorldInfo (#7295) 2022-01-07 15:35:32 -08:00
Jake Potrebic 3a43821c38
Updated Upstream (Bukkit/CraftBukkit/Spigot) 2021-12-31 19:05:42 -08:00
Simon Gardling 58c41d0f60
[ci skip] Update log4j-api in Paper-API to 2.17.1 (#7227) 2021-12-31 14:26:20 -08:00
LemonCaramel 686bbd33d4
Fix EntityLoadCrossbowEvent Sync Issue (#5739) 2021-12-30 22:54:23 -08:00
Owen1212055 a99a33cdd9
Bucketable API (#7204) 2021-12-30 11:58:38 -08:00
BillyGalbreath 329912b816
Expose isFuel and canSmelt methods to FurnaceInventory (#7181) 2021-12-30 00:42:16 -08:00
Nassim Jahnke 7d48a46bc2
Fix block key with negative y unpacking (#7219)
Fixes #7218
2021-12-29 10:34:38 +01:00
Owen1212055 6cb62bf003
Deprecate localized name API (#7212) 2021-12-28 11:13:27 -08:00
Glare 8f65f378ce
[ci skip] Fix typo in getNearbyLivingEntities documentation (#7205) 2021-12-27 15:45:36 -08:00
Josh Roy 1ce4281666
Fix ABI breakage for plainSerializer (#7178) 2021-12-22 14:56:37 -08:00
Riley Park 26fbb02aae
Adventure changes for Java 17 and Component support for resourcepack prompt 2021-12-21 23:51:07 -08:00
Jake Potrebic 8a21c1742b
Add API for item entity health (#6514) 2021-12-21 23:07:15 -08:00
Jake Potrebic 264b11d9f3
Entity powdered snow API (#6833) 2021-12-21 19:52:54 -08:00
Jake Potrebic 9012ae8880
Improve scoreboard entries (#6871) 2021-12-21 16:45:18 -08:00
Jake Potrebic 76f327471d
Move VehicleCollisionEvent HandlerList up (#7112) 2021-12-21 16:34:44 -08:00
Jake Potrebic 75f4cb074a
Move setShouldBurnInDay to AbstractSkeleton (#7120) 2021-12-21 16:31:33 -08:00
Jake Potrebic 3d9385e665
Add material tags for copper blocks (#7141) 2021-12-21 16:24:03 -08:00
Jason Penilla df8d28a450
Update checker framework & log4j-api for paper-api (also rebuild patches)
Note that the log4j-api version used in paper-api does not affect the version used in paper-server, this just affects the version people will see in their IDE when compiling against paper-api.
2021-12-21 01:17:52 -08:00
Noah van der Aa ae6fec6d13
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#7116) 2021-12-20 22:46:51 +00:00
LemonCaramel 7f310957bc
Add more Campfire API (#5779) 2021-12-13 12:57:39 -08:00
Lexi df1301b53a
Make org.bukkit.Keyed extend Adventure's Keyed (#7090) 2021-12-12 20:26:19 -08:00
chickeneer 874532613c
Remove java 8 and prior reflection code from CustomTimingsHandler (#7096) 2021-12-11 23:03:06 -08:00
Nassim Jahnke 1c779c2d2e
Update to 1.18.1 (#7076) 2021-12-10 15:24:07 +01:00
Noah van der Aa b4a77a84a7
Updated Upstream (Bukkit/CraftBukkit) (#7045)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
ffd8b289 PR-687: Fix NPE from previous commits

CraftBukkit Changes:
3c2af1b7 SPIGOT-6831: Fix llama strength crash
2021-12-06 13:43:46 +01:00
Jake Potrebic 83aee0f551
[ci skip] Clarify setSize consequences for Slimes (#7036) 2021-12-05 13:16:55 -08:00
Shane Freeder 323c087397
Revert "#686: Fix contains for default section generating real sections"
This commit causes an NPE when getting from the config in some states,
given upstream issue and PR in the works, I have 0 inclination to debug
this

This reverts commit e4358b8217126bbcc3a38b0d17097ad5ab87c50a.
2021-12-05 15:20:52 +00:00
Shane Freeder 5b6445aaaf
Revert "fix NPE from changes in e4358b82171"
This reverts commit b4192fd8e6.
2021-12-05 15:10:39 +00:00
Gabriel Wolf b4192fd8e6
fix NPE from changes in e4358b82171 2021-12-05 14:36:47 +00:00
Jason ccabae4fb6
Update and deprecate Allow delegation to vanilla chunk gen (#7031) 2021-12-05 02:27:20 -08:00
Jake Potrebic fd352861b0
Updated Upstream (Bukkit/CraftBukkit) (#7022) 2021-12-04 23:11:59 -08:00
stonar96 76ee105811
Optimize HashMapPalette (#5074)
HashMapPalette uses an instance of CrudeIncrementalIntIdentityHashBiMap
internally. A Palette has a preset maximum size = 1 << bits.
CrudeIncrementalIntIdentityHashBiMap has an initial size but is
automatically resized. The CrudeIncrementalIntIdentityHashBiMap is created
with the maximum size in the constructor of HashMapPalette, with the aim
that it doesn't need to be resized anymore. However, there are two things
that I think Mojang hasn't considered here:
1) The CrudeIncrementalIntIdentityHashBiMap is resized, when its initial
size is reached and not the next time, when a further object is added.
2) HashMapPalette adds objects (unnecessarily) before checking if the
initial size of CrudeIncrementalIntIdentityHashBiMap is reached.
This means to actually avoid resize operations in
CrudeIncrementalIntIdentityHashBiMap, one has to add 2 to the initial size
or add 1 and check the size before adding objects. This commit implements
the second approach. Note that this isn't only an optimization but also
makes async reads of Palettes fail-safe. An async read while the
CrudeIncrementalIntIdentityHashBiMap is resized is fatal and can even lead
to corrupted data. This is also something that Anti-Xray is currently
relying on.
2021-12-04 15:56:34 +01:00
Sam 63a97a64a3
Add Player#sendHealthUpdate (#6904) 2021-12-04 15:10:57 +01:00
Sam bae37ad2d8
Add PlayerItemFrameChangeEvent (#6897) 2021-12-04 14:49:34 +01:00
Nassim Jahnke b2bc5b9ee7 Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
b46ac671 Update to Minecraft 1.18

CraftBukkit Changes:
bc14cb64 Update to Minecraft 1.18

Spigot Changes:
a5dea1cb Update to Minecraft 1.18
2021-11-30 19:26:33 +01:00
Jake ebb727e629 Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
810cb078 Add hideEntity / showEntity API

CraftBukkit Changes:
04f8e7e2 SPIGOT-6814: (Chunk) PersistentData is lost after restart
37fd1917 Add hideEntity / showEntity API
7e2214da Move checkstyle to slightly later compile phase
45c3f826 SPIGOT-6816: Fix ChunkSnapshot#getBiome

Spigot Changes:
b11f318f Rebuild patches
622b2310 SPIGOT-6811: Fix mob spawning mismatch
2b2a3d56 Rebuild patches
2021-11-30 19:26:33 +01:00
Kyle Wood 0af80abdca Bump Paperclip and fix configuration cache issue 2021-11-30 19:26:33 +01:00
Jason Penilla 21cb7a63fb Further manifest fixes 2021-11-30 19:26:33 +01:00
Jason Penilla 8d5f9137b4 Fix issue with manifest util in tests 2021-11-30 19:26:33 +01:00
MiniDigger 4a466ac7d1 change my email in all patches 2021-11-30 19:26:33 +01:00
Jason Penilla c0f2385c99 Remove redundant json-simple dependency and move isTransitive = false from server to api 2021-11-30 19:26:33 +01:00
Jason Penilla 251b568882 Fix manifest util for bundler jars 2021-11-30 19:26:33 +01:00
Josh Roy bc0dd0df3d Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
716b4fce Revert SnakeYAML upgrade
ca6f8942 Update to Minecraft 1.18-rc3
57e7e952 #683: Add Player#showDemoScreen

CraftBukkit Changes:
c98abfb0 Update to Minecraft 1.18-rc3
9b258501 #960: Add Player#showDemoScreen
d9542247 Produce remapped jars after bootstrap jar
99f3ddde SPIGOT-6808: Fix RegionAccessor#getBiome

Spigot Changes:
b7a4222e Update to Minecraft 1.18-rc3
2021-11-30 19:26:33 +01:00
Nassim Jahnke 738788079b Remove deprecated protoworld api 2021-11-30 19:26:33 +01:00
Kyle Wood e519a51f95 Upgrade paperweight with bundler jar updates
This allows creating paperclip jars pre-patch (only the reobf'd jar for
now).
2021-11-30 19:26:33 +01:00
Nassim Jahnke dabbf5b193 More more more more more more more more more more more more more more more more more work 2021-11-30 19:26:33 +01:00
Jason Penilla b39fa92d5d even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even more patches 2021-11-30 19:26:33 +01:00
Josh Roy c1d14dc076 all api patches done*
*still waiting for leaf to port datafixer to 1.18 so i can do entity serialization
2021-11-30 19:26:33 +01:00
Jason Penilla e6fe6effee Fix JarManifests util 2021-11-30 19:26:33 +01:00
Jake 2e347b629d and yet again, more patches 2021-11-30 19:26:33 +01:00
Jake 4664528315 more patches done 2021-11-30 19:26:33 +01:00
Jake c4ef2add48 patches and remap fixes 2021-11-30 19:26:33 +01:00
Jake 00be0b7b30 Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
d25437bc Update to Minecraft 1.18-pre8

CraftBukkit Changes:
5a39a236 Update to Minecraft 1.18-pre8

Spigot Changes:
7840c2af Update to Minecraft 1.18-pre8
2021-11-30 19:26:33 +01:00
Jake 5a2d3b2b29 more patches 2021-11-30 19:26:33 +01:00
Jake 6ccc23f457 even MOOOOOOOOOOOOAAAAAAAAAAAAAAAARRRRRRRRRRRRR patches 2021-11-30 19:26:33 +01:00
Jake 1cb76e15be moaaaaaaaar patches 2021-11-30 19:26:33 +01:00
Jake 6f5b43e290 moaaaaar patches 2021-11-30 19:26:33 +01:00
Jake e141126891 even moaar patches 2021-11-30 19:26:33 +01:00
Jake c280dbeed0 moar patches 2021-11-30 19:26:33 +01:00
Jake 3436ed93c2 a bunch more patches done 2021-11-30 19:26:33 +01:00
Jake 3dbf41c443 updated more patches 2021-11-30 19:26:33 +01:00
Jake 0f7ca21add several more patches updated 2021-11-30 19:26:33 +01:00
Nassim Jahnke 26dcf812a4 More more more more more more more more more more more more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 97a4a70766 More more more more more more more more more more more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 45c36e5d0c More more more more more more more more more more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 4e81c1fe78 More more more more more more more more more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 8f67d293a2 More more more more more more more more more more more work 2021-11-30 19:26:33 +01:00
Jason Penilla 0358549f7b p a t c h e s 2021-11-30 19:26:33 +01:00
Jason Penilla e208af9741 patches 2021-11-30 19:26:33 +01:00
Nassim Jahnke f43f1e217e More more more more more more more more more more work 2021-11-30 19:26:33 +01:00
MiniDigger 6ac2614a5f hey, look ma, am doing my part! 2021-11-30 19:26:33 +01:00
Jake 2b29fe37a2 more patches updated 2021-11-30 19:26:33 +01:00
Jason Penilla 5d0d11e4b6 Patches 2021-11-30 19:26:33 +01:00
Jason Penilla 35d0ab1ca8 Squash annotation test changes patches 2021-11-30 19:26:33 +01:00
Jake 2004ff214a more work 2021-11-30 19:26:33 +01:00
Jake 753267a57e and here's some more patches 2021-11-30 19:26:33 +01:00
Jake e481692afd move extra plugins patch up & more work 2021-11-30 19:26:33 +01:00
Jake 9ae92d26b8 and some more patches 2021-11-30 19:26:33 +01:00
Jake 5cfc0781d6 even more patches 2021-11-30 19:26:33 +01:00
Jake 18ad44eabc several more patches 2021-11-30 19:26:33 +01:00
Josh Roy 98330439e8 More more more more more more more more more work 2021-11-30 19:26:33 +01:00
Josh Roy 11709feb21 More more more more more more more more work 2021-11-30 19:26:33 +01:00
Josh Roy 3cd2c987cf Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
ea30a299 Add docs in ServerListPingEvent based on changes from 1.18

CraftBukkit Changes:
03f249f0 Generate bootstrap jar separately
3b214b5a SPIGOT-6803: Fix ServerPing not using the new logic for show players in 1.18

Spigot Changes:
c07753b0 Rebuild patches
2021-11-30 19:26:33 +01:00
Jake Potrebic 66dbf41a65 async chunk patch progress (#6930) 2021-11-30 19:26:33 +01:00
Nassim Jahnke 758b8c689b Fix mappingregistry, readd an async chunk hunk 2021-11-30 19:26:33 +01:00
Nassim Jahnke cc171b1928 More more more more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 105034367d More more more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 6f3591fd6d More more more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke d7cdc72bdf More more more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke e9954ed32a More more more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke c8cb91bb99 More more work 2021-11-30 19:26:33 +01:00
Nassim Jahnke 456621b0d7 More work 2021-11-30 19:26:33 +01:00