Commit Graph
100 Commits
Author SHA1 Message Date
Nassim Jahnke 2a2cdc2d1a [ci skip] Add more patch identifying comments 2024-01-22 18:04:55 +01:00
Nassim Jahnke b088c37fc1 [ci skip] Add more patch identifying comments 2024-01-21 19:37:09 +01:00
Nassim Jahnke bc99c40604 [ci skip] Add more patch identifying comments, cleanup 2024-01-21 17:39:05 +01:00
Nassim Jahnke db4ed47134 [ci skip] Add more identifying patch comments 2024-01-21 13:56:22 +01:00
Nassim Jahnke 0571a6438e [ci skip] Add more identifying patch comments 2024-01-21 12:53:04 +01:00
Nassim Jahnke f6609428b6 [ci skip] Add more identifying patch comments 2024-01-21 12:11:43 +01:00
Nassim Jahnke dee90322eb [ci skip] Add more identifying patch comments 2024-01-20 23:13:41 +01:00
Nassim Jahnke 1b920c7241 [ci skip] Add more identifying patch comments 2024-01-20 12:50:16 +01:00
Nassim Jahnke 66431e1300 [ci skip] Add more identifying patch comments 2024-01-19 22:13:42 +01:00
Nassim Jahnke 3c246dc632 [ci skip] Add more identifying patch comments, merge related patches 2024-01-19 17:54:05 +01:00
Nassim Jahnke 64e5ff904c [ci skip] Add more identifying patch comments, merge related patches 2024-01-19 13:22:30 +01:00
Nassim Jahnke b5b92e90d8 [ci skip] Add more identifying patch comments, merge related patches 2024-01-19 12:30:04 +01:00
Nassim Jahnke 864f4072c1 [ci skip] Add more identifying patch comments 2024-01-18 22:00:40 +01:00
Nassim Jahnke ec3867cd12 [ci skip] Add more identifying patch comments 2024-01-18 18:52:00 +01:00
Nassim Jahnke 16f89b4fa7 [ci skip] Add more identifying patch comments 2024-01-18 15:56:25 +01:00
Nassim Jahnke 3a0aff9ba9 [ci skip] Minor cleanup and patch merges 2024-01-16 19:27:39 +01:00
Nassim Jahnke 22185798a5 [ci skip] Add more patch identifying comments 2024-01-16 12:41:40 +01:00
Nassim Jahnke 64b98ef110 [ci skip] Add more patch identifying comments, merge related patches 2024-01-15 12:38:39 +01:00
Nassim Jahnke 44f3ecd436 [ci skip] Add more patch identifying comments, merge related patches 2024-01-14 16:31:39 +01:00
Nassim Jahnke 0cb53bb7af Readd missed line 2024-01-14 13:51:41 +01:00
Nassim Jahnke b185870d79 Fixup AsyncPreLoginEvent patches
Fixes #10165
2024-01-14 13:33:47 +01:00
Nassim Jahnke 734d812b3d [ci skip] Update contributing guidelines to include identifying commit titles in comments (#10162) 2024-01-14 00:42:59 +01:00
Nassim Jahnke 393db207da [ci skip] Add more patch identifying comments 2024-01-13 18:34:33 +01:00
Nassim Jahnke 2307466a54 [ci skip] Add more patch identifying comments 2024-01-13 16:35:59 +01:00
Nassim Jahnke 0fb2a8eea3 Also check for the actual character length in ResourceLocation validation 2024-01-12 23:08:19 +01:00
Nassim Jahnke 12960f7064 [ci skip] Small cleanup to mc utils patch 2024-01-12 21:58:54 +01:00
Nassim Jahnke af61e5fa1e Limit ResourceLocation length to nbt string tag length 2024-01-12 19:33:17 +01:00
Nassim Jahnke 190d8a33b5 Fix tests by disabling them 2024-01-06 19:13:45 +01:00
Nassim Jahnke b3fc9f7860 [ci skip] Fix typo 2024-01-06 15:11:45 +01:00
Nassim Jahnke 9ec827f55f Fixup NamespacedKey parsing 2024-01-06 15:07:59 +01:00
Nassim Jahnke fdc2ea2808 Validate missed resource location parsing 2024-01-06 09:51:49 +01:00
Nassim Jahnke 635ece80cf [ci skip] Replace some magic values with constant references 2024-01-04 14:38:26 +01:00
Nassim Jahnke 0f3d126ce1 Validate ResourceLocation in NBT reading 2024-01-04 13:52:38 +01:00
Nassim Jahnke a8c7bd8740 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:
cc9aa21a SPIGOT-6399, SPIGOT-7344: Clarify collidable behavior for player entities
f23325b6 Add API for per-world simulation distances
26e1774e Add API for per-world view distances
0b541e60 Add PlayerLoginEvent#getRealAddress
5f027d2d PR-949: Add Vector#fromJOML() overloads for read-only vector types

CraftBukkit Changes:
bcf56171a PR-1321: Clean up some stuff which got missed during previous PRs
7f833a2d1 SPIGOT-7462: Players no longer drop XP after dying near a Sculk Catalyst
752aac669 Implement APIs for per world view and simulation distances
57d7ef433 Preserve empty enchantment tags for glow effect
465ec3fb4 Remove connected check on setScoreboard
f90ce621e Use one PermissibleBase for all command blocks
5876cca44 SPIGOT-7550: Fix creation of Arrow instances
f03fc3aa3 SPIGOT-7549: ServerTickManager#setTickRate incorrect Precondition
9d7f49b01 SPIGOT-7548: Fix wrong spawn location for experience orb and dropped item

Spigot Changes:
ed9ba9a4 Drop no longer required patch ignoring -o option
86b5dd6a SPIGOT-7546: Fix hardcoded check for outdated client message
aa7cde7a Remove obsolete APIs for per world view and simulation distances
6dff577e Remove obsolete patch preserving empty `ench` tags
a3bf95b8 Remove obsolete PlayerLoginEvent#getRealAddress
1b02f5d6 Remove obsolete connected check on setScoreboard patch
acf717eb Remove obsolete command block PermissibleBase patch
053fa2a9 Remove redundant patch dealing with null tile entities
2023-12-25 23:51:56 +01:00
Nassim Jahnke f0fe665bb9 [ci skip] Remove no longer needed mappings change 2023-12-25 19:15:48 +01:00
Nassim Jahnke d77e5a5780 Hotfix Entity isInRain reobf issue
Caused by upstream making the method public, which then causes an accidental override from an unrelated method
Fixes #10078
2023-12-25 18:37:20 +01:00
Nassim Jahnke a889754d39 Use uuid param in setResourcePack 2023-12-09 13:53:08 +01:00
Nassim Jahnke 7bd24cf0a9 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:
9a294519 SPIGOT-7533, 943: Add missing Poses for 1.20.3
be2884c4 Add unique ID to PlayerResourcePackStatusEvent
d9c1eb83 Add additional @MinecraftExperimental annotations
68f5bb6a SPIGOT-7526: Add missing PlayerResourcePackStatusEvent statuses

CraftBukkit Changes:
368c48be1 Fix formatting issue in previous commit
da8f91f31 SPIGOT-7534: Error when chunk with decorated pot trying to save
d20c9291a SPIGOT-7532: Entity#isValid() returns false after server restart
ec1fa2ead PR-1309: Add tests for Bukkit Pose
5a7080b58 Add unique ID to PlayerResourcePackStatusEvent
0fd734950 SPIGOT-7528: Fix certain custom shaped recipes
2023-12-06 22:59:39 +01:00
Nassim Jahnke 866d36c9ad Update cb package version 2023-12-06 22:51:50 +01:00
Nassim Jahnke 7d6c55f960 Fix timings check with tick freezes 2023-12-06 22:40:08 +01:00
Nassim Jahnke 80729ab0fd Inline imports in loottable patch 2023-12-06 22:22:22 +01:00
Nassim Jahnke bee1482bcb Fix lootable patch, cb crash due to unimplemented methods 2023-12-06 22:17:56 +01:00
Nassim Jahnke 29018cf64c Make it compile again 2023-12-06 21:28:59 +01:00
Nassim Jahnke 9b067d69a1 Fixup 2023-12-06 21:14:54 +01:00
Nassim Jahnke d0a41fbabf Add missing timings stop 2023-12-06 21:04:01 +01:00
Nassim Jahnke 7bd0fbea6c Drop old packs in setResourcePack 2023-12-06 20:46:49 +01:00
Nassim Jahnke 42a06e89bb It compiles 2023-12-06 20:40:37 +01:00
Nassim Jahnke b7ab883a24 More compile fixes 2023-12-06 20:10:59 +01:00
Nassim Jahnke d79a08990a Toggle updatingMinecraft property 2023-12-06 19:21:09 +01:00
Nassim Jahnke 4ce929d6da Apply all patches 2023-12-06 19:18:53 +01:00
Nassim Jahnke e45e2141a0 Remove unnecessary import 2023-12-05 20:56:22 +01:00
Nassim Jahnke 15a9af2f5e More more more work 2023-12-05 20:54:55 +01:00
Nassim Jahnke ed4ff79ac7 More more work 2023-12-05 20:39:26 +01:00
Nassim Jahnke 0e154a1701 More work 2023-12-05 20:12:12 +01:00
Nassim Jahnke f520d3c39b Adventure (kind of) 2023-12-05 19:38:29 +01:00
Nassim Jahnke aba71147db Finish API 2023-12-05 18:33:18 +01:00
Nassim Jahnke 46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
Nassim Jahnke 0d2a5216f6 Add another slot sanity check 2023-11-03 14:49:55 +10:00
Nassim Jahnke 5944323d84 Fix item effects conversion if no tag is present
Fixes #9796
2023-10-05 16:03:26 +10:00
Nassim Jahnke 8ae1a1746e Fixup player profile getters and constructor to expected nullability (#9770) 2023-10-05 15:31:24 +10:00
Nassim Jahnke c18dea2d80 Fix tests 2023-10-04 07:58:30 +10:00
Nassim Jahnke 7d1b302774 Implement tracking range y setting 2023-10-03 22:19:39 +10:00
Nassim Jahnke a4d2616808 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:
09b1c123 PR-916: Add more lightning API
c085f3de PR-859: Add Entity#getTrackedBy

CraftBukkit Changes:
1bf30a4e9 SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads
476c5bccd PR-1267: Add more lightning API
40d5e6c02 PR-1190: Add Entity#getTrackedBy
40d41acc1 SPIGOT-7491: Downgrade bundled SQLite to be updated next release
44b31da38 PR-1264: Load Bukkit class before creating Registry item
dc45a6738 SPIGOT-7496: Failure to load datapacks with multiple identical predicates
f508657d6 Fix decompile error affecting javac
ef7a4743d PR-1265: Ensure UTF-8 used in new test resource

Spigot Changes:
224dad51 Rebuild patches
2023-10-03 21:55:12 +10:00
Nassim Jahnke 696a5041a0 Don't throw when removing unplaced player in NearbyPlayers 2023-09-30 15:37:00 +10:00
Nassim Jahnke 933793244c [ci skip] Fix typo (important) 2023-09-29 13:20:32 +10:00
Nassim Jahnke a5cf9bd970 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:
044d4ee9 SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
57b73d57 PR-913: Deprecate Projectile#doesBounce() and #setBounce()
43373c44 PR-904: Update FeatureFlag for 1.20.2
a7bbbf0c PR-911: Expand DataPack API with 1.20.2 pack version methods
0341e3a0 SPIGOT-7489: Add TeleportDuration to Display Entity
bcd8d2aa PR-912: Update Minecraft Wiki URLs

CraftBukkit Changes:
99aafc222 Increase outdated build delay
dab849f08 SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
041b29ae3 Upgrade specialsource-maven-plugin
851a32cff PR-1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce()
251af0da3 PR-1261: Expand DataPack API with 1.20.2 pack version methods
46e4ba627 Upgrade specialsource-maven-plugin
df3738a24 SPIGOT-7489: Add TeleportDuration to Display Entity
8d0fea457 PR-1262: Update Minecraft Wiki URLs
e62905aab SPIGOT-7490: Fix entity equipment updates

Spigot Changes:
a0f3d486 Rebuild patches
2023-09-29 10:28:26 +10:00
Nassim Jahnke 358877e2e2 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:
fb23cbb3 Define surefire plugin version
d022084a Define ordering for MetadataStoreTest
99a7f6f0 PR-910: Match generic max absorption attribute name style with the rest
c7390d71 PR-909: Update tests to JUnit 5

CraftBukkit Changes:
f0661c351 PR-1230: Move unstructured PDC NBT serialisation to SNBT
452fcb599 PR-1256: Update tests to JUnit 5
2023-09-24 17:16:58 +10:00
Nassim Jahnke 9abaff8a66 Use correct ClientboundLevelChunkWithLightPacket constructor in later patch 2023-09-24 16:29:07 +10:00
Nassim Jahnke 0b16cce6e6 Drop no longer needed patch 2023-09-24 13:09:52 +10:00
Nassim Jahnke 886e4f56b5 Readd anti xray and oversized block entity patches 2023-09-24 12:35:16 +10:00
Nassim Jahnke 17f71281d2 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:
dfe1fb48 PR-906: Add missing MinecraftExperimental annotation to Bundles
825ab30d PR-905: Add missing MapCursor.Type and update documentation
e03d10e6 PR-903: Make BARRIER Waterlogged
1961ead6 PR-898: Use Java Consumer instead of Bukkit Consumer

CraftBukkit Changes:
f71a799f0 Make BARRIER Waterlogged
172f76a45 Upgrade specialsource-maven-plugin
f0702775c SPIGOT-7486: Alternate approach to null profile names
069495671 SPIGOT-7485: Allow air entity items since required for Vanilla logic
5dfd33dc2 SPIGOT-7484: Cancelling PlayerEditBookEvent does not update client's book contents
02d490788 PR-1250: Standardize and centralize Bukkit / Minecraft registry conversion
9024a09b9 PR-1251: Use Java Consumer instead of Bukkit Consumer
6d4b25bf1 Increase diff stability
2023-09-23 12:06:03 +10:00
Nassim Jahnke 6bdb4d129d Update foojay resolver convention plugin 2023-09-23 11:46:31 +10:00
Nassim Jahnke 663a0d893e Readd network optimization patch 2023-09-23 11:45:34 +10:00
Nassim Jahnke 910c6b25b9 Fix chat processing 2023-09-23 09:58:19 +10:00
Nassim Jahnke 7e02ed1a60 Fix local attribute setting 2023-09-23 09:42:59 +10:00
Nassim Jahnke 3ecca26a7b Revert "re-add distance map patch"
This reverts commit 99baa36800.
2023-09-23 09:38:10 +10:00
Nassim Jahnke 1e0babdc39 Fix line of sight distance check 2023-09-12 09:56:24 +10:00
Nassim Jahnke 021d59363b Add missing slot sanity checks for container clicks 2023-09-11 12:03:35 +10:00
Nassim JahnkeandPaul Sauve 1f4c201c00 Strip raytracing for EntityLiving#hasLineOfSight
Co-authored-by: Paul Sauve <paul@technove.co>
2023-09-10 12:28:03 +10:00
Nassim Jahnke 82aefb5454 Readd old BlockDamageEvent constructor 2023-08-25 10:19:55 +10:00
Nassim Jahnke a411e324aa [ci skip] Update Gradle wrapper 2023-08-21 19:16:46 +10:00
Nassim Jahnke 564ba7b184 Fix unknown entity interaction clicked position getter if null 2023-08-19 12:01:06 +10:00
Nassim Jahnke 84993c1413 Add clicked position to PlayerUseUnknownEntityEvent (#9604) 2023-08-16 17:58:07 +10:00
Nassim Jahnke b5f844b362 [ci skip] Update README 2023-08-13 10:36:26 +10:00
Nassim Jahnke c0bced1fa1 Don't put entities removed during the portal exit event into an invalid state 2023-08-08 17:48:55 +10:00
Nassim Jahnke 75a9ce0e01 Clone location in PlayerFailMoveEvent getters 2023-08-08 13:00:17 +10:00
Nassim Jahnke 3f6585c8be [ci skip] Add gradle wrapper validation action 2023-07-11 23:25:02 +02:00
Nassim Jahnke c32c74f4ce Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9440)
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:
01aa02eb PR-858: Add LivingEntity#playHurtAnimation()
9421320f PR-884: Refinements to new ban API for improved compatibility and correctness
37a60b45 SPIGOT-6455, SPIGOT-7030, PR-750: Improve ban API
4eeb174b All smithing inventories are now the new smithing inventory
f2bb168e PR-880: Add methods to get/set FallingBlock CancelDrop
e7a807fa PR-879: Add Player#sendHealthUpdate()
692b8e96 SPIGOT-7370: Remove float value conversion in plugin.yml
2d033390 SPIGOT-7403: Add direct API for waxed signs
16a08373 PR-876: Add missing Raider API and 'no action ticks'

CraftBukkit Changes:
b60a95c8c PR-1189: Add LivingEntity#playHurtAnimation()
95c335c63 PR-1226: Fix VehicleEnterEvent not being called for certain entities
0a0fc3bee PR-1227: Refinements to new ban API for improved compatibility and correctness
0d0b1e5dc Revert bad change to PathfinderGoalSit causing all cats to sit
648196070 SPIGOT-6455, SPIGOT-7030, PR-1054: Improve ban API
31fe848d6 All smithing inventories are now the new smithing inventory
9a919a143 SPIGOT-7416: SmithItemEvent not firing in Smithing Table
9f64f0d22 PR-1221: Add methods to get/set FallingBlock CancelDrop
3be9ac171 PR-1220: Add Player#sendHealthUpdate()
c1279f775 PR-1209: Clean up various patches
c432e4397 Fix Raider#setCelebrating() implementation
504d96665 SPIGOT-7403: Add direct API for waxed signs
c68c1f1b3 PR-1216: Add missing Raider API and 'no action ticks'
85b89c3dd Increase outdated build delay

Spigot Changes:
9ebce8af Rebuild patches
64b565e6 Rebuild patches
2023-07-04 10:22:56 +02:00
Nassim Jahnke 3e7890be06 Hotfix double entity removal making entity scheduler retire call
The assumption that the setRemoved method will never be called more than once is flawed, considering even vanilla code seems to indicate it might happen. Especially with plugins, throwing an exception is not something reasonably maintainable across all the places it *could* happen.
If it is called a second time after already having been removed due to changing dimensions, that's definitely bad, so no extra check for that
Fixes #9420
2023-06-29 17:41:32 +02:00
Nassim Jahnke 279c17fcdf Iterate over entity array copy for entity scheduler 2023-06-26 18:41:08 +02:00
Nassim Jahnke 135469a842 Pull Folia API take two 2023-06-18 22:46:52 +02:00
Nassim Jahnke 8686a939f1 Revert "Move some Folia API to Paper for easy compat (#9360)"
This reverts commit e256eec4ef.
2023-06-18 21:47:17 +02:00
Nassim Jahnke e256eec4ef Move some Folia API to Paper for easy compat (#9360) 2023-06-18 20:02:59 +02:00
Nassim Jahnke fb00916689 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:
0c5d8709 SPIGOT-7400: Downgrade maven-resolver due to issues resolving certain depends
255c4fdb SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot

CraftBukkit Changes:
b6b514b7e SPIGOT-7400: Downgrade maven-resolver due to issues resolving certain depends
fcff84de9 SPIGOT-7399: Revert null check in CraftMetaItem#safelyAdd
44a4b5649 SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot
676969d01 SPIGOT-7389: Handle setting null items in ChiseledBookshelf Inventory
2023-06-18 13:03:18 +02:00
Nassim Jahnke f0e193c3d1 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:
be1f3344 SPIGOT-7326: Add ClickType#isMouseClick()

CraftBukkit Changes:
3b557627c Fix Player#setScoreboard() checking incorrect state
9a21b0b89 SPIGOT-7393: Fix new tile entities not loading Bukkit's PersistentDataContainer

Spigot Changes:
c62f4bd9 Rebuild patches
2023-06-16 13:32:29 +02:00
Nassim Jahnke ddd74452e4 Update test plugin 2023-06-08 15:42:13 +02: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
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