Commit graph

2029 commits

Author SHA1 Message Date
Jake Potrebic
e450f54015 fix some more 1.20 tracking issues 2023-06-08 22:45:45 -07:00
Jake Potrebic
6cc19431ea Fix setListenerRange for calibrated sculk sensors 2023-06-08 22:35:52 -07:00
Jason Penilla
e6be773522 Prevent the rcon thread from attempting connections after shutdown 2023-06-08 22:25:23 -07:00
Jake Potrebic
b3a92319b9 Ignore inline definitions of trim material & pattern 2023-06-08 21:53:37 -07:00
Jake Potrebic
6161cbb44c Add back Anti-Xray patch (#9283) 2023-06-08 21:29:58 -07:00
Owen1212055
d943e42150 Fix javadoc 2023-06-08 22:53:42 -04:00
Owen1212055
77e3d3e158 Finish tests & bad calls 2023-06-08 22:51:31 -04:00
Jake Potrebic
350be363a0 fix not editable sign after openSign 2023-06-08 19:45:48 -07:00
Owen1212055
fed16ccbff Move block farther away for Player#setRotation (#8514) 2023-06-08 22:37:59 -04:00
Lulu13022002
c67f26d42a Fix collision between AABB and a dot (#8733) 2023-06-09 04:17:32 +02:00
Lulu13022002
ae7ed5a3b3 Avoid duplicate poi entries from the first section (#9235) 2023-06-09 04:14:30 +02:00
Spottedleaf
65db359354 Fix crash relating to "Already sent chunk"
Forgot to update the distandce field in the single user area map
on update, and additionally used the wrong radius (introduced
last commit) for the broadcast map
2023-06-08 18:00:46 -07:00
Spottedleaf
8c4fdb4e79 Fix inconsistent chunk sending with vanilla
Vanilla now loads the proper number of chunks for sending
to players. So, we can finally match their behavior after
all these years.
2023-06-08 17:43:05 -07:00
Jake Potrebic
913720b65c add missing call to EntityInsideBlockEvent 2023-06-08 17:34:35 -07:00
Jake Potrebic
a4e62bcb6e fix some failing tests 2023-06-08 17:25:21 -07:00
Owen1212055
6ee3455f40 Fix breaking pots throwing exception 2023-06-08 20:24:02 -04:00
Jason Penilla
3913e1d74b Update adventure 2023-06-08 17:22:51 -07:00
Jake Potrebic
6038cfb862 add missing block entity type to CraftBlockStates 2023-06-08 17:04:46 -07:00
Jake Potrebic
2a0a2d181f fix sculk npe 2023-06-08 16:56:02 -07:00
Spottedleaf
20f6705a20 Updated Upstream (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

CraftBukkit Changes:
fd92f1e65 SPIGOT-7378: Add BlockDropItemEvent for Suspicious Sand & Gravel drops
cb1b69d13 SPIGOT-7377: Server sends player list twice

Spigot Changes:
16cfc987 Rebuild patches
2023-06-08 16:47:58 -07:00
Spottedleaf
5c8d49542f Fix boot errors
Thanks kennytv
2023-06-08 16:44:17 -07:00
Spottedleaf
c7006765bd Fix final compilation issues 2023-06-08 16:35:02 -07:00
Spottedleaf
494b03ea47 Apply last patch 2023-06-08 16:21:20 -07:00
Spottedleaf
cadfd892c9 Add in some patches 2023-06-08 16:12:34 -07:00
Spottedleaf
e031042af5 Finish updating chunk system patch
Add in locking changes from folia, plus fix some diffs.
I'm sure it'll be error-free.
2023-06-08 16:04:53 -07:00
Jake Potrebic
dc11e08746 more compile fixes 2023-06-08 14:13:43 -07:00
Jake Potrebic
957d248aff more compile fixes 2023-06-08 13:56:13 -07:00
Jake Potrebic
180fe2a014 fix some more compile issues 2023-06-08 12:35:20 -07:00
Jake Potrebic
b7b98b0bd8 fix FullChunkAccess enum move (#9281) 2023-06-08 12:22:12 -07:00
Jake Potrebic
ebe89a7928 fix more compile errors 2023-06-08 12:00:58 -07:00
Owen1212055
5c83f1aca3 cleanup some descriptions + optimize hoppers patch 2023-06-08 14:10:23 -04:00
Jake Potrebic
27c0ed55ea add some more patches back 2023-06-08 10:48:28 -07:00
Jake Potrebic
f3124c37c5 add 1 more networking patch and add comments to dropped patches 2023-06-08 10:25:32 -07:00
Jake Potrebic
e516ecfd45 apply a couple network patches 2023-06-08 09:09:43 -07:00
Jake Potrebic
8ca7fa95c0 fix defaulting join-classpath to true for plugin deps 2023-06-08 06:50:41 -07:00
Nassim Jahnke
00b28e1c3b Fix bad fixup 2023-06-08 15:27:41 +02:00
Nassim Jahnke
aa7c3b02e8 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:
2d009e64 Update SnakeYAML javadoc link
b4fd213c Switch Player#updateInventory deprecation for internal API annotation

CraftBukkit Changes:
f3b2b2210 SPIGOT-7376: Exception with getBlockData when hasBlockData is false
725545630 SPIGOT-7375: Fix crash breeding certain entities
b9873b0d4 Update Brigadier version with fix
68b320562 SPIGOT-7266: Found typo in CraftBukkit package
98b4d2ff8 SPIGOT-7372, SPIGOT-7373: Signs can't be edited, issues with SignChangeEvent
5f7bd4d78 SPIGOT-7371: Sign does not open edit text on placement
b4cf99d24 SPIGOT-7371: Fix editing signs with API
a2b6c2744 PR-1200: Implement open sign by side
a345bb940 SPIGOT-7368: Downgrade SpecialSource version

Spigot Changes:
723951c3 Rebuild patches
b655c57d Drop old collision API deprecated since 1.9.4
55b0fed4 Rebuild patches
2023-06-08 15:25:35 +02:00
Noah van der Aa
251cb43854 1.20: Remove Experimental API status where upstream forgot (#9271) 2023-06-08 15:04:43 +02:00
Bjarne Koll
37b58b3df7 Drop manual isEditable copy in CraftSign
Signs no longer have a specific isEdiable state, the entire API in this
regard needs updating/deprecation. The boolean field is completely gone,
replaced by a uuid (which will need a new setEditingPlayer(UUID) method
on the Sign interface), and the current upstream implementation of
setEdiable simply flips the is_waxed state.

This patch is hence not needed as it neither allows editing (which will
be redone in a later patch) nor is required to copy the is_waxed boolean
flag as it lives in the signs compound tag and is covered by applyTo.
2023-06-08 11:35:39 +02:00
Bjarne Koll
ff68512997 Update fluid chunk loading patch 2023-06-08 11:18:51 +02:00
Bjarne Koll
53f112de49 Minimize strict-advancement-dimension-checks.patch 2023-06-08 10:53:00 +02:00
Owen1212055
f328e1ae26 vine boom sound 2023-06-08 04:47:19 -04:00
Owen1212055
d0a36db6c2 YOU get patches 2023-06-08 04:08:08 -04:00
Owen1212055
fa4aae5fff Fix scuffed patches 2023-06-08 03:57:42 -04:00
Owen1212055
8bab352ff6 re-patched 2023-06-08 03:40:45 -04:00
Owen1212055
a6f4f6e2c9 Patched 2023-06-08 03:20:03 -04:00
Owen1212055
644fa33eea Some chunk patches 2023-06-08 02:31:22 -04:00
Spottedleaf
d663d10f08 Rebase chunk patches 2023-06-07 22:25:38 -07:00
Spottedleaf
288a08c1af rewrite chunk system checkpoint 2023-06-07 22:21:04 -07:00
Jake Potrebic
d6e3522bf4 signing off for now 2023-06-07 19:12:38 -07:00
Jake Potrebic
23f2b745cd some more stuffs 2023-06-07 19:04:01 -07:00
Jake Potrebic
c6b7222da8 finished some more patches 2023-06-07 18:13:54 -07:00
Jake Potrebic
e12c9ae0ed some more patches 2023-06-07 17:54:54 -07:00
Jake Potrebic
bca9b424ba fix compile errors 2023-06-07 17:30:05 -07:00
Jake Potrebic
752fd058f1 45 more patches 2023-06-07 16:56:33 -07:00
Jake Potrebic
6e86dd9422 finish some more patches 2023-06-07 16:44:11 -07:00
Noah van der Aa
0ec23e4426 1.20: Fix a bunch of compile issues (#9273) 2023-06-08 01:21:20 +02:00
Jake Potrebic
ffc53909f5 even moaaar patches 2023-06-07 16:20:26 -07:00
Jake Potrebic
c720ef617e even moar patches 2023-06-07 15:58:10 -07:00
Jake Potrebic
07ee610d8e more patches 2023-06-07 15:41:25 -07:00
Jake Potrebic
3121dbe3fe fix a bunch of compile errors 2023-06-07 15:28:06 -07:00
Jake Potrebic
074728fe8c more work and compile fixes 2023-06-07 15:12:41 -07:00
Jake Potrebic
eb4be91142 fix some compile issues 2023-06-07 14:46:56 -07:00
Nassim Jahnke
27f97c0f4e Some compile fixes 2023-06-07 23:35:19 +02:00
Nassim Jahnke
1450690de9 More more more more more more more more work 2023-06-07 23:14:56 +02:00
Nassim Jahnke
dc0aa6ed0a More more more more more more more work 2023-06-07 22:41:26 +02:00
Nassim Jahnke
f51c531b94 More more more more more more work 2023-06-07 22:19:14 +02:00
Nassim Jahnke
7409d8fed7 More more more more more work 2023-06-07 21:54:11 +02:00
Noah van der Aa
e165710bb5 Fix API compile issues (#9269) 2023-06-07 21:47:39 +02:00
Nassim Jahnke
9ffb4e1b63 More more more more work 2023-06-07 21:37:42 +02:00
Nassim Jahnke
dae8787b45 More more more work 2023-06-07 21:19:26 +02:00
Nassim Jahnke
f4a4fec81b More more work 2023-06-07 20:49:17 +02:00
Nassim Jahnke
734c1267b9 More more work 2023-06-07 20:31:32 +02:00
Nassim Jahnke
890a93c65e Let's hope this is fine 2023-06-07 20:03:53 +02:00
Nassim Jahnke
27998753e9 More work 2023-06-07 19:18:05 +02:00
Nassim Jahnke
1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
Owen1212055
1004620742 Paper Plugins Dependency Format Update (#9160)
* Rework dependency management (WIP)

* Revert "Rework dependency management (WIP)"

This reverts commit e046cd59c68743dc00303b1ab42317bf474abd6a.

* Correctly add soft dependencies to the dependency tree for classloading resolution

* Add support for new dependency config format

* Rebase

* swap load order meaning

* Dependencies should be required by default
2023-06-07 11:41:25 -04:00
Jake Potrebic
c66a18ad54 [ci skip] Use a separate interface for bootstrapping (#9267) 2023-06-07 08:29:28 -07:00
Jake Potrebic
3b2ef3a215 Schedule several things for removal in 1.21 (#9041) 2023-06-07 06:47:32 -07:00
Nassim Jahnke
1b571414da Updated Upstream (Bukkit/CraftBukkit)
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:
5dbedae1 PR-864: Fix Registry#match() failing namespaced inputs
49256865 PR-863: Fix boolean PersistentDataType
9f15450b SPIGOT-7195, SPIGOT-7197: Add DataPack API
ebef5b6a Disable InterfaceIsType Checkstyle check
01d577f5 Slight tweak to boolean PersistentDataType javadoc
d2b99e56 PR-857: Add boolean PersistentDataType

CraftBukkit Changes:
2270366cd PR-1196: Test Registry instances more thoroughly
863dacb7a PR-1191: Do not start on pre-release Java 17
1f2dd8e12 SPIGOT-7362: Properly handle null in CraftBlock#blockFaceToNotch()
dbc70bed5 SPIGOT-7195, SPIGOT-7197: Add DataPack API
2023-06-06 11:09:19 +02:00
Malfrador
c137b5dc31 Add transient modifiers (#9244)
This allows adding modifiers as transient. Transient modifiers don't get saved with the NBT data.
Vanilla itself uses transient modifiers for speed modifications like sprinting or powder snow. This just exposes it in the API.
2023-06-05 19:15:18 +02:00
Jake Potrebic
e36eed4507 [ci skip] Add missing deprecations for legacy MaterialData api (#9253) 2023-06-03 11:09:43 -07:00
Jake Potrebic
48dc1eb2d1 Fixes and additions to projectile API (#9237) 2023-05-31 19:43:51 -07:00
Jake Potrebic
4f01e9d96f Expand PlayerItemMendEvent (#7382) 2023-05-31 16:58:25 -07:00
Jake Potrebic
bb734246e6 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9228)
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:
4727d326 Don't let Sign extend SignSide, mark API as experimental
9b29bdcc PR-845: Add preliminary support for multi sided signs

CraftBukkit Changes:
b346a5f6d PR-1170: Add preliminary support for multi sided signs
86c816189 Update SQLite version
d9324b4bc Fix addition of custom smithing trim / transform recipes

Spigot Changes:
7d7b241e Rebuild patches
2023-05-31 16:36:57 -07:00
Jake Potrebic
a0a5615e6e Fix playing adventure sounds on World/Server (#8077) 2023-05-30 18:36:16 -07:00
Lulu13022002
36d17c312f Re-implement the compost events (#9192) 2023-05-31 03:07:04 +02:00
Spottedleaf
b2002c14fa Pull a few Folia patches 2023-05-27 20:34:33 +02:00
Nassim Jahnke
89aecf16ad Fix incremental player saving patch 2023-05-27 20:14:04 +02:00
Lulu13022002
d6e9b7fd8d Use the spigot config for mangrove propagule / torchflower growth (#8597) 2023-05-15 20:25:38 +02:00
Lulu13022002
be21be4029 Fix note block sound property on player heads (#9158) 2023-05-15 19:32:26 +02:00
Warrior
41ea1348fd Fix MC-224454 (#9195) 2023-05-15 17:33:15 +02:00
Warrior
687db1c410 More accurate isInOpenWater impl (#9194) 2023-05-15 17:21:57 +02:00
Lulu13022002
b4656d3a02 Call EntityChangeBlockEvent for frogs egg (#9213) 2023-05-15 12:56:12 +02:00
Owen1212055
5957c490da Avoid Lazy Initialization for Enum Fields (#9210) 2023-05-14 20:46:17 -04:00
Noah van der Aa
4e67df5164 Undeprecate Server#getMap (#9185)
The only way to get a map is via its id, which is not a magic value. This implementation isn't going to be changing anytime soon, so it should be undeprecated.
2023-05-15 02:23:57 +02:00
Jake Potrebic
b7479c89c3 Remove javadoc that doesn't apply to Paper (#9206) 2023-05-14 16:20:43 -07:00
booky10
8fcf7cfd2d Added wither vanilla invulnerability API (#9124) 2023-05-12 22:24:50 +02:00
Redned
07674ea170 Add option to flush region files on save (#9149) 2023-05-12 15:07:24 -05:00
Nassim Jahnke
0dd7fe3b9c Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9188)
* 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:
2fcba9b2 SPIGOT-7347: Add missing documentation and details to ShapedRecipe
c278419d PR-854: Move getHighestBlockYAt methods from World to RegionAccessor
201399fb PR-853: Add API for directly setting Display transformation matrices
ecfa559a PR-849: Add InventoryView#setTitle
653d7edb SPIGOT-519: Add TNTPrimeEvent
22fccc09 PR-846: Add method to get chunk load level
a070a52c PR-844: Add methods to convert Vector to and from JOML vectors
cc7111fe PR-276: Add accessors to Wither's invulnerability ticks
777d24e9 SPIGOT-7209: Accessors and events for player's exp cooldown
ccb2d01b SPIGOT-6308: Deprecate the location name property of map items
cd04a31b PR-780: Add PlayerSpawnChangeEvent
7d1f5b64 SPIGOT-6780: Improve documentation for World#spawnFallingBlock
5696668a SPIGOT-6885: Add test and easier to debug code for reference in yaml configuration comments
2e13cff7 PR-589: Expand the FishHook API
2c7d3da5 PR-279: Minor edits to various Javadocs

CraftBukkit Changes:
01b2e1af4 SPIGOT-7346: Disallow players from executing commands after disconnecting
7fe5ee022 PR-1186: Move getHighestBlockYAt methods from World to RegionAccessor
bcc85ef67 PR-1185: Add API for directly setting Display transformation matrices
a7cfc778f PR-1176: Add InventoryView#setTitle
563d42226 SPIGOT-519: Add TNTPrimeEvent
ccbc6abca Add test for Chunk.LoadLevel mirroring
2926e0513 PR-1171: Add method to get chunk load level
63cad7f84 PR-375: Add accessors to Wither's invulnerability ticks
bfd8b1ac8 SPIGOT-7209: Accessors and events for player's exp cooldown
f92a41c39 PR-1181: Consolidate Location conversion code
10f866759 SPIGOT-6308: Deprecate the location name property of map items
82f7b658a PR-1095: Add PlayerSpawnChangeEvent
b421af7e4 PR-808: Expand the FishHook API
598ad7b3f Increase outdated build delay

Spigot Changes:
d1bd3bd2 Rebuild patches
e4265cc8 SPIGOT-7297: Entity Tracking Range option for Display entities

* Work around javac bug

* Call PlayerSpawnChangeEvent

* 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:
2fcba9b2 SPIGOT-7347: Add missing documentation and details to ShapedRecipe
c278419d PR-854: Move getHighestBlockYAt methods from World to RegionAccessor
201399fb PR-853: Add API for directly setting Display transformation matrices

CraftBukkit Changes:
01b2e1af4 SPIGOT-7346: Disallow players from executing commands after disconnecting
7fe5ee022 PR-1186: Move getHighestBlockYAt methods from World to RegionAccessor
bcc85ef67 PR-1185: Add API for directly setting Display transformation matrices

Spigot Changes:
7da74dae Rebuild patches
2023-05-12 13:10:08 +02:00
Warrior
cac56ed9b4 Fix lightning being able to hit spectators (#9193) 2023-05-08 16:17:00 +02:00
Bjarne Koll
ca90c91128 Fix BlockPosition#offset(double,double,double) (#9190) 2023-05-07 14:14:34 +02:00
Nassim Jahnke
e5c8a57116 Make sure the player didn't disconnect when processing commands 2023-05-06 17:10:22 +02:00
Lulu13022002
2ba17103b9 Fix some NPE for EntityCompostItemEvent (#9169) 2023-05-03 13:07:51 +02:00
Pedro
af12848e70 Fix DamageSource for Falling Blocks (#9175) 2023-05-03 06:50:59 -04:00
Spottedleaf
f2b889e651 Break redstone on top of trap doors early
This logic hooks into the neighbour update which should be invoked
as a result of redstone powering the trap door.
2023-05-01 18:32:30 -07:00
Lukas Alt
f5bae877ea Fixed large packet handling (#9147)
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
2023-04-27 20:50:14 +02:00
GodOfPro
3ef136dfd7 Add Mob Experience reward API (#9122) 2023-04-27 22:19:19 +03:30
Owen1212055
5f0081c256 Disable allowListing before received from client (#9167) 2023-04-23 21:24:12 -04:00
Owen1212055
a4b55ff96a Fix LegacyPluginLoader dependency registration (#9165) 2023-04-22 21:55:10 -04:00
Owen1212055
2da0966452 Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9129) 2023-04-22 13:44:40 -04:00
Jakub Zacek
b4e413f624 Fix server ignoring fallback for translatable components (#9134) 2023-04-20 09:05:41 +02:00
Emily
992e145a16 Undo making JavaPlugin#logger field public (#9125) 2023-04-19 12:46:09 -03:00
Luke Chambers
d8b12ddb4c Fix Inconsistencies with Paper Plugin Names (#9098) 2023-04-16 12:49:13 -04:00
Jake Potrebic
77aec31991 Removes some references to deprecated methods/types (#9043) 2023-04-15 18:13:59 -07:00
Warrior
01df66a280 Fix demo flag not enabling demo mode (#9103) 2023-04-16 01:30:23 +02:00
Shane Freeder
e00471db27 Updated Upstream (Bukkit/CraftBukkit)
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:
465c4964 PR-843: Add damage methods to FallingBlock
46ba7c9f SPIGOT-7335: Fix typo in TextDisplay#TextAlignment enum name

CraftBukkit Changes:
818582f40 PR-1169: Add damage methods to FallingBlock
15a3eac66 SPIGOT-7335: Fix typo in TextDisplay#TextAlignment enum name
f01fb4979 SPIGOT-7336: Fix typo in internal method name
2023-04-14 00:52:42 +01:00
DungeonDev
95a758264f Optimize hoppers by not trying to merge full items. (#9110)
This can skip many very expensive call to ItemStack.tagMatches.
Makes canMergeItems return false for merging into ItemStacks that are already full.
2023-04-11 15:35:54 +02:00
Jake Potrebic
1adb95d20a Fix a couple of bed bugs (#9112) 2023-04-10 15:12:22 -07:00
Shane Freeder
5322e3cffb Revert "Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068)"
This reverts commit cfcfc9301c.
2023-04-10 11:25:04 +01:00
Redned
ab78c91615 Fix getBrightness and getRawBrightness throwing exception in BlockStateListPopulator (#9111) 2023-04-10 03:06:49 -05:00
caramel
898b222b42 Update Adventure to 4.13.1 (#9113) 2023-04-10 17:06:38 +09:00
Nassim Jahnke
d62c4b4074 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:
13eb4146 SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent

CraftBukkit Changes:
5ee3419b7 SPIGOT-5217, SPIGOT-6183: Add RespawnReason to PlayerRespawnEvent

Spigot Changes:
514cf03a Rebuild patches and add RespawnReason.PLUGIN to Player#respawn
2023-04-10 10:03:36 +02:00
Owen1212055
cfcfc9301c Resolve Plugin Dependency Issues, Improve PluginLoading Compat, Small Loading Issues (#9068) 2023-04-09 18:28:30 -04:00
Jake Potrebic
e45971a648 Allow entity effect changes off the main thread for worldgen (#8942)
* Allow entity effect modification off the main thread for worldgen

* squash all async catcher patches
2023-04-09 11:38:32 -07:00
Jake Potrebic
14a8204d35 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9104)
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:
eb4b416d PR-822: Add experimental armor trim API
33498e1d PR-831: Add a standard of annotations for Minecraft experimental things and API

CraftBukkit Changes:
19de3550d SPIGOT-7315: Bed placement duplicates crops if cancelled
1eb88374e PR-1147: Add experimental armor trim API
c4c0bb0e9 Show clean error for invalidly configured server.properties options
3ae90697f Fix UUID not being updated when changing world of MapView
e43000601 PR-1164, MC-227255, MC-253819: Fix rotation of beehives and bells

Spigot Changes:
d2fdfe39 Rebuild patches
2023-04-08 17:00:50 -07:00
Jake Potrebic
a37ccc7532 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9088)
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:
5efeb7bd Also update compiler version
c13b867a Update some Maven plugin versions
deb28d9f PR-837: Add more bell API
e938d62a PR-819: Allow Player#sendBlockDamage() to specify a source entity
0e75532c PR-818: Add more Guardian API, particularly for its laser
a10155aa PR-839: Add BlockData#rotate and BlockData#mirror
77e690b4 PR-836: Add missing API for explosive minecarts
60722059 PR-832: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks
0a2c4b4b PR-834: Add Player#sendHurtAnimation()

CraftBukkit Changes:
be8682aa8 Also update compiler version
08e305f5b Update some Maven plugin versions
187bdd463 PR-1160: Add more bell API
2f8e5bc7c PR-1145: Allow Player#sendBlockDamage() to specify a source entity
bcbb61b36 PR-1144: Add more Guardian API, particularly for its laser
722ddff6d PR-1162: Add BlockData#rotate and BlockData#mirror
80998277c PR-1159: Add missing API for explosive minecarts
1fddefce1 PR-1155: Allow getting chunks without generating them and optimize chunk data request for ungenerated chunks
20e8a486f PR-1157: Add Player#sendHurtAnimation()

Spigot Changes:
b31949f2 Rebuild patches
2023-04-07 11:39:13 -07:00
Jake Potrebic
771aa3ec89 Fix unknown cmd msg for mc namespaced cmds (#9059) 2023-04-06 17:27:41 -07:00
Alex
f8be86a50e Properly resync player on Player#setPlayerProfile (#9080)
Currently breaking are potion effects and the XP bar, both are now being resent to make the client know about them again.
2023-04-07 01:21:33 +02:00
Shane Freeder
cec73ac951 Fix TPS command output (#9091)
* Fix TPS command output

* Cleanup + rebase

---------

Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2023-04-07 00:08:44 +01:00
Lulu13022002
b0f2d4916c Fix some broken block place logic (#9094)
- The dispensed shulker will not play the place sound (due to its logic been removed)
- The hanging sign text editor cannot be cancelled using the BlockPlaceEvent (not consistent with the other regular signs)
- The jukebox logic hasn't been synced with the RecordItem
2023-04-07 00:39:32 +02:00
Warrior
c68ce43ba6 Port airplane's use array for gamerule storage patch (#9087) 2023-04-06 14:18:45 +02:00
Shane Freeder
9f03aa5cc0 Prevent GameEvents being fired from unloaded chunks 2023-04-06 12:42:10 +01:00
BlockyTheDev
5967f1f3cc [ci skip] Update download urls (#9100) 2023-04-05 02:06:59 +02:00
Harry Devane
7d8be939d5 Fix ignoreCancelled having no effect on events registered by direct EventExecutor (#9099) 2023-04-04 22:40:31 +01:00
Lulu13022002
e217afc5b4 Cleanup some patches (#9093) 2023-04-04 11:47:16 +02:00
Shane Freeder
076afec362 Do not send expired keys to players on login (#9090)
This patch will prevent sending expired keys to players when logging into a server, while the client does have some grace period to prevent issues, if a key has expired beyond the grace period, connecting clients will be disconnected from the server upon join. The client should update keys before this key even expires, and a new key will be broadcasted out if we somehow actually get one.
2023-04-03 10:45:02 +01:00
Jake Potrebic
74b88dc367 Deprecate ChatColor (#9069)
All API that uses it is deprecated
2023-04-02 11:53:29 -07:00
elmital
7d091ee970 fix: null SpawnReason for new player (#9015) 2023-04-02 20:37:53 +02:00
Cody
b46708d565 Added a config option for ticking markers (#9034) 2023-04-02 13:21:13 -05:00
Jake Potrebic
f73eefd668 Remove duplicate animate packet for records (#8600) 2023-04-02 11:05:30 -07:00
Owen1212055
f5224dafea Allow non player entities in scoreboards by default (#9082)
This in general caused much more confusion than needed, and in general, made rather negligible performance gains on collision.
2023-04-02 13:53:11 -04:00
powercas_gamer
bde53d9d44 Make debug dump file names consistent (#9075) 2023-03-31 13:17:57 +02:00
Shane Freeder
ee6a62f6b7 Don't use plugin-profiling to enable timings
The paper config has taken precidence over this for a long time
with 0 complaints, and now it's tripping the deprecation warning,
even if timings is disabled in the paper config.
2023-03-31 05:47:59 +01:00
Lulu13022002
938557e97b [ci skip] Correct upstream/paper javadoc (#8286) 2023-03-31 06:09:13 +02:00
Nassim Jahnke
3332f2f67e Updated Upstream (Bukkit/CraftBukkit)
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:
9153f77e PR-841: Remove incorrect ClickType.CONTROL_DROP from ClickType#isShiftClick
bceda6ab PR-840: Adjust annotations in Display entity interface
a6b85ac3 PR-835: Add Jukebox#hasRecord() and #startPlaying(), clarify #setRecord()

CraftBukkit Changes:
e142fb9fd SPIGOT-7188: ChunkSnapshot biome y coordinate doesn't match chunk biome y coord
eff1743b9 SPIGOT-7313: More accurately edit data on Jukeboxes
2023-03-30 15:40:15 +02:00
Riley Park
206fbf627d Make other link in deprecation message clickable too 2023-03-29 19:35:13 -07:00
Jake Potrebic
799da8e341 Fix crash relating to bad recipes in furnace-like tile entities (#9011) 2023-03-29 19:29:38 -07:00
Riley Park
d6d0bad512 Turn deprecation message into a Component to be used in the command at a later date 2023-03-29 19:11:50 -07:00
Riley Park
90a88fcc04 8948: Nag when timings is enabled or a plugin creates a new Timing 2023-03-29 12:11:36 -07:00
Jake Potrebic
7c76b259a5 Fix api checking banned ips (#9026) 2023-03-27 20:23:34 -07:00
Nassim Jahnke
afa3115148 Deprecate public Timings classes for removal (#8949) 2023-03-28 04:58:46 +02:00
Ryan
06eb9f83ec Fix PluginMeta#getDisplayName (#9038)
* fix plugin versioning

* fix properly

* fix version command

* ngl idk where my logic was behind this
2023-03-27 22:56:09 -04:00
Jason Penilla
8e509e0179 Fix chat messages being logged without formatting to console (#9058) 2023-03-27 10:19:23 -07:00
Jake Potrebic
cac66ac3cb Updated Upstream (CraftBukkit) (#9053)
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

CraftBukkit Changes:
f92c94517 SPIGOT-7310: PlayerToggleSneakEvent is not called when a player sneaks while riding an entity
b5714184d SPIGOT-7316: Cancelling EntityUnmountEvent does not stop the all effects of the unmounting
e237f8c88 SPIGOT-7312: Entity#setVisibleByDefault on player causes skin reset on this player client
2023-03-26 13:29:41 -07:00
Jake Potrebic
75975263ef Fix beehives generating from using bonemeal (#9052) 2023-03-26 12:07:32 -07:00
Emily
4e30130da0 Expose Path to jar file in PluginProviderContext (#9030)
* Expose Path to jar file in PluginProviderContext

* rename accessor, reword jd
2023-03-25 03:30:48 -03:00
Jake Potrebic
5326cb65f0 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9018)
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:
2c64d8c4 SPIGOT-7309: Add API for jukebox inventories
a6d7e4ca PR-826: Add Sniffer API

CraftBukkit Changes:
93813509b SPIGOT-7309: Add API for jukebox inventories
2d5209e8d PR-1153: Handle teleport reason in spreadplayers command
f5b61387e SPIGOT-7308: Fix NullPointerException when calling Jukebox#setRecord()
388d458a6 SPIGOT-7306: Fix reset of coords in default teleportTo in EntityPlayer
40b87e1af PR-1150: Add Sniffer API and handle EntityItemDropEvent

Spigot Changes:
6ad4b93c SPIGOT-7298: Fix debug stick always permission left click toggle
2023-03-24 13:38:40 -07:00
Jake Potrebic
02d5cb7b2b Don't warn for deprecated PrepareGrindstoneEvent (#9036) 2023-03-24 13:19:17 -07:00
Jake Potrebic
0adc18baf8 [ci skip] rebuild patches 2023-03-23 14:57:03 -07:00
Riley Park
39255145b6 chore: cleanup annotations in api adventure patch 2023-03-23 09:49:24 -07:00
Nassim Jahnke
c4351787c6 Fix bad diff in wandering trader spawn rate patch from .4 update 2023-03-23 14:35:17 +01:00
Jake Potrebic
5ea4ace885 [ci skip] Properly document firing of Entity/BlockExplodeEvent (#9014) 2023-03-20 02:11:23 -07:00
Jake Potrebic
edd270486c Updated Upstream (Bukkit/CraftBukkit) (#9013)
* Updated Upstream (Bukkit/CraftBukkit)

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:
150a2861 PR-827: Add BlockData#getPlacementMaterial
58c9c8ce SPIGOT-7301: Prevent creating non-openable inventories
3741079b PR-824: Expand upon PotionEffect API to better accommodate infinite durations

CraftBukkit Changes:
e5a7921f0 PR-1149: Add BlockData#getPlacementMaterial
58504fa61 SPIGOT-7302: Fix more issues with EntityDamageByEntity - Fix Projectile damage by dispenser - Fix cases where only exists a direct entity damager
48394703d Increase outdated build delay

* Improve docs for BlockData#getPlacementMaterial
2023-03-20 01:47:10 -07:00
Jake Potrebic
4015d08acf Use class loggers without the fqn for non-debug logging (#9012) 2023-03-20 01:23:52 -07:00
JOO200
c54215c1b2 adventure: make calls with generic component lists more usable (#9008)
This should allow the usage of ItemStack#lore and other methods with a List<TextComponent>
2023-03-20 09:18:06 +01:00
Jake Potrebic
72dde6b5dd Fire reload event after everything has been reloaded (#9003)
This event is going to be more important very shortly (hopefully)
2023-03-19 12:28:28 -07:00
Jake Potrebic
3db404320a Fix entity damage event triggers (#8995) 2023-03-19 11:58:34 -07:00
Jason Penilla
d8a4261a4d Use random UUIDs instead of incrementing long for click callback ids (#9007) 2023-03-19 11:25:45 -07:00
Emily
5f6566b549 Re-enable multi-release plugin JARs (#9001) 2023-03-19 11:50:13 -03:00
Jake Potrebic
40b2d389d2 Add back optimize hoppers (#8999) 2023-03-18 12:03:42 -07:00
Nassim Jahnke
b56746c91a Fix setItem with air on chiseled bookshelves 2023-03-18 18:52:24 +01:00
Jake Potrebic
36af2d581a Fix SpawnEggMeta#get/setSpawnedType (#8907) 2023-03-18 10:32:03 -07:00
Jake Potrebic
0d1524d04f Updated Upstream (Bukkit/CraftBukkit) (#8991)
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:
2b4582fb SPIGOT-5916: getLastColors does not work with the rgb colors

CraftBukkit Changes:
f7707086d SPIGOT-7299: Fix indirect/anvil damage events and minor improvements
2023-03-18 10:05:04 -07:00
Owen1212055
08482e72bb Add Shearable API (#6796) 2023-03-17 17:11:08 -04:00
Jake Potrebic
f104213baf Fix certain inventories returning null Locations (#8985) 2023-03-16 11:47:05 -07:00
XanderDeKeijzer
df12d57bed Fix changeGameModeForPlayer to use gameModeForPlayer MC-259571 (#8987) 2023-03-16 17:06:40 +01:00
Nassim Jahnke
8b225c2699 Fix text display error on spawn
Fixes #8984
2023-03-16 16:28:48 +01:00
Nassim Jahnke
b3b488f568 Updated Upstream (Bukkit/CraftBukkit)
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:
2651717c SPIGOT-7292: Support for alpha channel in Color and a few improvements

CraftBukkit Changes:
dbc32ffa0 SPIGOT-7292: Support alpha channel in Display entities
cef8bd993 SPIGOT-7294: Call EntityDamageEvent for Interaction entity
2023-03-16 10:07:12 +01:00
Jake Potrebic
a05865b56b Fix structure loading 2023-03-15 18:57:29 -07:00
Jake Potrebic
06335dfd4f Updated Upstream (Bukkit/CraftBukkit)
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:
3a54fb16 SPIGOT-7296: Add ItemFlag#HIDE_ARMOR_TRIM

CraftBukkit Changes:
55056ad80 SPIGOT-7295: Fix Sniffer data defined in incorrect position
2023-03-15 12:59:34 -07:00
Nassim Jahnke
8ff5a4a679 Update DataConverter 2023-03-15 20:17:42 +01:00
Owen1212055
d166b09352 Camel EntityToggleSitEvent (#8970) 2023-03-15 10:37:41 -04:00
Nassim Jahnke
8640f5feff Update adventure to 4.13.0 2023-03-15 13:19:54 +01:00
Jake Potrebic
239e16a2be Updated Upstream (Bukkit/CraftBukkit)
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:
fdef9473 Correct Material#isFuel for new experimental materials
42811598 SPIGOT-7293: Add Biome#CHERRY_GROVE

CraftBukkit Changes:
968d28df0 Fix availability of experimental datapack features in unit tests
2023-03-15 04:54:45 -07:00
Nassim Jahnke
e71930939e Updated Upstream (CraftBukkit)
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

CraftBukkit Changes:
e1fc95c50 Fix crash with 1.20 smithing table
04dfb921d Fix crash with juke boxes
1264a6fb5 Fix crash with composters
2023-03-15 10:33:43 +01:00
Jake Potrebic
d583bb93e8 HIDE_UPGRADES and fixes for sniffer and new smithing table 2023-03-14 20:04:41 -07:00
Jake Potrebic
69de1e5d07 Fix jukeboxes 2023-03-14 19:17:28 -07:00
Jake Potrebic
286598313a Fix composter throwing UOE with new game event 2023-03-14 18:27:20 -07:00
Jake Potrebic
69697c6a22 Add back item entity global player list check 2023-03-14 17:36:12 -07:00
Jake Potrebic
5f756cc090 make tests work again 2023-03-14 17:21:35 -07:00
Jake Potrebic
7c04e01288 Add missing annotation 2023-03-14 17:08:41 -07:00
Jake Potrebic
95fa3274e9 readd exploded block state patch 2023-03-14 17:06:28 -07:00
Jake Potrebic
5900d6bba8 Add component methods to TextDisplay entity 2023-03-14 16:52:28 -07:00
Jake Potrebic
f496b60138 Fix icon in timings 2023-03-14 16:44:53 -07:00
Jake Potrebic
62d13109b7 make tests pass 2023-03-14 16:29:38 -07:00
Jake Potrebic
8b4edb6f19 fix more compile errors 2023-03-14 16:10:18 -07:00
Jake Potrebic
e277e6a990 fix some compile errors 2023-03-14 15:13:41 -07:00
Nassim Jahnke
d5f9f3f9fc One fix 2023-03-14 22:35:03 +01:00
Nassim Jahnke
c07518e0c6 Applied all patches 2023-03-14 22:29:14 +01:00