Commit Graph
100 Commits
Author SHA1 Message Date
Nassim Jahnke c6233d8bcd Start updating contributing docs 2024-12-12 10:58:58 +01:00
Nassim Jahnke c2ef6cc45a Patch updates 2024-12-11 22:21:25 +01:00
Nassim Jahnke 04df9cac25 Add ItemMeta customName methods (#11685) 2024-12-07 20:05:14 +01:00
Nassim Jahnke 640db1bea9 Fixup PlayerPickItemEvent docs more 2024-12-05 18:50:00 +01:00
Nassim Jahnke c6e8192e3b More moving around of hunks 2024-12-05 14:44:50 +01:00
Nassim Jahnke 10cba26ae2 Move around patches again 2024-12-05 11:18:29 +01:00
Nassim Jahnke f4817c9013 Finish PlayerPickItemEvent 2024-12-05 10:27:55 +01:00
Nassim Jahnke 97afdbfb02 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:
c294e05d7 SPIGOT-7975: Fix issue with Pale Sapling growing
c9f5a8fdf SPIGOT-7974: Fix Crash for Creaking Heart Block particle
2024-12-04 11:11:12 +01:00
Nassim Jahnke 7a307edd46 Update readme, set updatingMinecraft to false 2024-12-04 11:05:07 +01:00
Nassim Jahnke df479182fe Add back post_teleport chunk ticket 2024-12-03 22:56:26 +01:00
Nassim Jahnke 636439f610 Fix jd gson version, move back mc util diff 2024-12-03 22:37:48 +01:00
Nassim Jahnke 6eb70d323b Tests succeed (by removing one) 2024-12-03 22:20:30 +01:00
Nassim Jahnke b4c75aa92c Compilation fixes 2024-12-03 22:06:05 +01:00
Nassim Jahnke e88124493c Update generated classes 2024-12-03 21:32:05 +01:00
Nassim Jahnke 834a4c4a8d Apply remaining patches, fix API 2024-12-03 21:24:17 +01:00
Nassim Jahnke e3db6ac6e4 moonrise 2024-12-03 21:11:09 +01:00
Nassim Jahnke 0e668caa27 Even more work 2024-12-03 21:03:25 +01:00
Nassim Jahnke a894c3a437 Some fixes, start updating CustomModelData API 2024-12-03 20:58:25 +01:00
Nassim Jahnke 2c2dadf75b More more more more work 2024-12-03 20:34:55 +01:00
Nassim Jahnke 39c2c1d5f7 More more more work 2024-12-03 19:54:10 +01:00
Nassim Jahnke 3af13e34fb More more work 2024-12-03 19:21:12 +01:00
Nassim Jahnke 529f01a04a More work 2024-12-03 19:05:31 +01:00
Nassim Jahnke 2103d82751 Work 2024-12-03 18:27:11 +01:00
Nassim Jahnke 3a8f9e0b6e Start update, apply API patches 2024-12-03 17:58:41 +01:00
Nassim Jahnke 0280fbb374 Disable deprecated annotation test 2024-12-03 15:33:45 +01:00
Nassim Jahnke c221e072a3 Fix item_model adapter, rename internal classes
Fixes #11688
2024-11-30 10:56:37 +01:00
Nassim Jahnke 4299c69e13 Add back discard policy 2024-11-30 10:44:57 +01:00
Nassim Jahnke 736c78c71e Copy dispatcher root children before passing it into async tree building 2024-11-29 17:04:32 +01:00
Nassim Jahnke 4a5ff5039c Clean up thread pool usage (#11681)
Using an unbound LinkedBlockingQueue means you *have* to set core and max core thread pool size the same, as they will never go above the minimum pool size by just passing them through. So this fixes the async command executor pool to actually use 2 threads, and also cleans up other usage to be explicitly "fixed" thread pool sizes, and splits off one more in Minecraft's Util class
2024-11-29 17:07:35 +01:00
Nassim Jahnke 46ef70e7d1 [ci skip] leaf 2024-11-29 09:44:19 +01:00
Nassim Jahnke cd36f8d3e2 [ci skip] leaf 2024-11-25 20:18:47 +01:00
Nassim Jahnke 857931f5cc Make TypedKey an actual Key (#11641) 2024-11-23 20:21:24 +01:00
Nassim Jahnke 7fc75401ca [ci skip] Fix typos 2024-11-21 17:57:18 +01:00
Nassim Jahnke e5b723ada2 Update spark 2024-11-21 10:43:07 +01:00
Nassim Jahnke f13d2012fe Add PlayerItemGroupCooldownEvent (#11625) 2024-11-19 11:33:06 +01:00
Nassim Jahnke 0500ee7896 Fix inverted global skip check 2024-11-18 13:46:13 +01:00
Nassim Jahnke a403e97804 Make logs less annoying 2024-11-18 13:06:15 +01:00
Nassim Jahnke 35c2de4fd0 [ci skip] Add missing feature patch identifiers 2024-11-18 12:31:36 +01:00
Nassim Jahnke 95022a668f Update disableGameRuleLimits casing 2024-11-18 12:24:37 +01:00
Nassim Jahnke 468c86ed14 [ci skip] Add identifying line to some larger/optimization patches 2024-11-09 21:44:55 +01:00
Nassim Jahnke 4d8a84c459 Improve CraftEntity and CraftPlayer equals 2024-11-09 21:17:42 +01:00
Nassim Jahnke ec93ec97e6 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:
a6aba46f PR-1078: Improve Javadocs of Player#loadData() and Player#saveData()
1e2e6a18 SPIGOT-7946: API for server pause when empty seconds
54a36938 SPIGOT-7944, PR-1077: Allow nullable fields in DamageTypeTags

CraftBukkit Changes:
2702c5c8e SPIGOT-7946: API for server pause when empty seconds
485f910fc SPIGOT-7947: addPassenger doesn't work if the vehicle is a player
ecf3dff0e SPIGOT-7949: Registering a new scoreboard objective with an empty display name throws a NPE
9b048cc84 SPIGOT-7948: `Bukkit#dispatchCommand` uses the wrong `CommandListenerWrapper` for Players
7b44d4640 SPIGOT-7931: Fix sync in Anvil View when result item is taken
2024-11-09 17:01:35 +01:00
Nassim Jahnke 29b207245f Updated Upstream (Bukkit/CraftBukkit) (#11543)
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:
97c59261 PR-1073: Make Biome an interface
a38581aa Fix further javadoc errors
8271c490 Fix javadoc error
8a9ecf29 PR-1072: Fix bad naming for Vault State methods
6dd58108 PR-1071: Make Fluid an interface and add missing entry
ed2cdfc3 PR-1070: Make Attribute an interface and align names with the new minecraft ones
63472efb PR-1069: Add missing winter drop experimental annotation to pale boats

CraftBukkit Changes:
7235ad7b0 PR-1501: Make Biome an interface
602904003 PR-1500: Rename implementation for Vault State methods
75f26f79f PR-1499: Make Fluid an interface and add missing entry
4cfd87adc PR-1498: Make Attribute an interface and align names with the new minecraft ones
6bb0db5cb SPIGOT-7928: ExactChoice acts as MaterialChoice
3eaf3a13c SPIGOT-7929: Error when setting EquippableComponent
abbf57bac SPIGOT-7930: Fix spawning entities with SummonEntityEffect
92d6ab6cf PR-1497: Move boat field rename entries to below key renaming, so that keys are also renamed
abfe292aa PR-1496: Use correct Fluid class on Tags type check
c7aab7fa7 SPIGOT-7923: Fix Dispenser logic to avoid firing empty projectiles
2024-10-31 23:44:34 +01:00
Nassim Jahnke f84d99ab82 Set updatingMinecraft to false 2024-10-31 18:07:14 +01:00
Nassim Jahnke 46b5013fc3 Use target pitch in teleport (generally the same thing) 2024-10-30 14:31:03 +01:00
Nassim Jahnke 7dc7d6ef96 Fix item gravity on inactive items, remove dumb active skipping 2024-10-30 14:06:43 +01:00
Nassim Jahnke 666560fcdd Fix portal exit resulting in bad teleport transition 2024-10-29 22:35:10 +01:00
Nassim Jahnke eb6f344912 Remove timings impl 2024-10-27 18:11:15 +01:00
Nassim Jahnke a937f3ebd3 Another one 2024-10-27 12:02:26 +01:00
Nassim Jahnke 99e72f052b Add back per player mob spawning
Also removes the `info.mobCategoryCounts.mergeInt` call that - at least from what I can tell - has been wrongly counting spawned mobs twice. The runner passed via `info::afterSpawn` already counts up that exact number in the same exact places (where `j`, the return value used here, is incremented)
2024-10-27 11:56:51 +01:00
Nassim Jahnke 88aa8528c9 More patches 2024-10-27 10:26:44 +01:00
Nassim Jahnke ba24f1b59d Readd last API patch (with TODO) 2024-10-27 09:43:00 +01:00
Nassim Jahnke 909afb02ee Delete some old patches 2024-10-27 09:24:59 +01:00
Nassim Jahnke 3cf764645b Apply more patches 2024-10-26 17:49:28 +02:00
Nassim Jahnke 43ee3e4a1e Check if leash tag has a uuid 2024-10-03 17:10:27 +02:00
Nassim Jahnke 70b02c9d2e [ci skip] Add section on nullability annotations (#11461) 2024-10-02 14:32:20 +02:00
Nassim Jahnke 8d3c6e1052 Fix hex color check 2024-10-02 13:49:39 +02:00
Nassim Jahnke 300db3cfd0 Fixup command precprocess cancellation (#11424) 2024-09-22 21:25:37 +02:00
Nassim Jahnke e53a1f5e22 Add ItemStack array serialization methods (#10387) 2024-09-22 21:02:06 +02:00
Nassim Jahnke 2ac5a53f6b Update spark 2024-09-12 19:54:34 +02:00
Nassim Jahnke a21216b976 Update Velocity natives again
If you segfault, update your jre/jdk™️
2024-09-08 20:39:00 +02:00
Nassim Jahnke daecf055f5 Use reference hash set in reference Holder (#11363) 2024-09-06 21:03:17 +02:00
Nassim Jahnke 77d5e15846 [ci skip] Create SECURITY.md (#11331) 2024-08-27 18:12:32 +02:00
Nassim Jahnke 50b7f46507 Update spark-paper 2024-08-24 10:52:38 +02:00
Nassim Jahnke 4034116f05 Fixup config parsing 2024-08-19 12:47:50 +02:00
Nassim Jahnke 5703e6c6d8 [ci skip] Clean up book limits patch (#11297) 2024-08-19 11:33:17 +02:00
Nassim Jahnke f05a7d0a96 Improve standard messenger logging 2024-08-12 18:42:08 +02:00
Nassim Jahnke 13a62521b0 Update generated code 2024-08-10 12:43:24 +02:00
Nassim Jahnke ec79de82ca Update to 1.21.1 2024-08-10 12:24:38 +02:00
Nassim Jahnke f117e53094 Check shooter in configurable projectile relative velocity patch 2024-08-10 11:55:08 +02:00
Nassim Jahnke 35fd8fb960 Check for block type in SculkSensorBlock#canActivate 2024-08-07 14:34:12 +02:00
Nassim Jahnke 36c41877b6 Remove chunk unload trace debug
The issue the patch was initially added for has already been fixed and filling stacktraces can be expensive
2024-08-05 19:57:34 +02:00
Nassim Jahnke 66dc0ac979 Call PlayerChunkUnloadEvent 2024-07-19 13:50:38 +02:00
Nassim Jahnke 40dfd62e54 Fixup startup time log message 2024-07-19 13:38:43 +02:00
Nassim Jahnke 203314faf8 Split rewriting flag into paper.disableOldApiSupport and paper.disablePluginRemapping (#11108) 2024-07-19 13:08:08 +02:00
Nassim Jahnke dc136446fb Even more cleanup of mcutil patch 2024-07-18 16:50:16 +02:00
Nassim Jahnke 30285e7121 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11102)
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:
3a3bea52 SPIGOT-7829: Increase maximum outgoing plugin message size to match Vanilla intention
5cd1c8cb SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT
a8e278f0 SPIGOT-7827: Sync EntityPortalEvent with PlayerPortalEvent since non-players can now create portals
53729d12 Remove spurious ApiStatus.Internal annotation
b9f57486 SPIGOT-7799, PR-1039: Expose explosion world interaction in EntityExplodeEvent and BlockExplodeEvent
7983b966 PR-1029: Trial changing a small number of inner enums to classes/interfaces to better support custom values

CraftBukkit Changes:
403accd56 SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT
812761660 Increase outdated build delay
bed1e3ff6 SPIGOT-7827: Sync EntityPortalEvent with PlayerPortalEvent since non-players can now create portals
2444c8b23 SPIGOT-7823: Suspicious sand and gravel material are not marked as having gravity correctly
aceddcd0b SPIGOT-7820: Enum changes - duplicate method name
a0d2d6a84 SPIGOT-7813: Material#isInteractable() always returns false
8fd64b091 SPIGOT-7806: Handle both loot and inventory item drop behaviour in PlayerDeathEvent
a4ee40b74 SPIGOT-7799, PR-1436: Expose explosion world interaction in EntityExplodeEvent and BlockExplodeEvent
082aa51c5 PR-1424: Trial changing a small number of inner enums to classes/interfaces to better support custom values
66e78a96b SPIGOT-7815: Consider EntityDamageEvent status for Wolf armor damage

Spigot Changes:
5bbef5ad SPIGOT-7834: Modify max value for generic.max_absorption
2024-07-18 10:13:20 +02:00
Nassim Jahnke c1d9a67e3f Add default canUse and permission methods to BasicCommand (#11047) 2024-07-14 14:04:38 +02:00
Nassim Jahnke 13940e5a97 Make watchdog thread extend TickThread again 2024-07-14 13:58:27 +02:00
Nassim Jahnke 32d0bfcdea Readd async saveddata io 2024-07-12 17:58:54 +02:00
Nassim Jahnke be464edaf2 Add light block to indestructible block list 2024-07-12 09:24:37 +02:00
Nassim Jahnke 76d8369ad4 Fix method reflection remapping with null parameter types passed
Fixes #11052
2024-07-10 18:21:33 +02:00
Nassim Jahnke f3655a41ab Fix entity distance check when applying knockback
Fixes #11036
2024-07-07 19:27:45 +02:00
Nassim Jahnke 9253ea8b42 Fix respawn error due to null location
Closes #11017
2024-07-04 16:20:03 +02:00
Nassim Jahnke 37b7551e48 Readd more patches 2024-07-04 12:34:11 +02:00
Nassim Jahnke f148164419 Add forRemoval to material data deprecations (#10996)
2018 is calling
2024-06-29 10:58:37 +02:00
Nassim Jahnke d097e7cec1 Change item/xp merge and entity tracking range defaults (#10986) 2024-06-27 22:08:34 +02:00
Nassim Jahnke 97bd52887e Use ItemStack.empty() when air is passed into constructor 2024-06-18 15:31:30 +02:00
Nassim Jahnke 27a9efdca5 Make chunk system loggers calm down a bit 2024-06-17 13:43:21 +02:00
Nassim Jahnke 08a87667f7 Add back improved watchdog support patch 2024-06-17 13:36:43 +02:00
Nassim Jahnke e816087107 Fix legacy cb version in remapper 2024-06-16 23:23:50 +02:00
Nassim Jahnke c675152a56 Fix getAddress connection check 2024-06-16 21:31:39 +02:00
Nassim Jahnke 98682757de Remove fully dropped patches 2024-06-16 13:14:53 +02:00
Nassim Jahnke 78a67f00ea Remove bad server.scheduleOnMain disconnect calls from old patches
The new behavior of disconnect to block the current thread until the disconnect succeeded is better than throwing it off to happen at some point
2024-06-16 12:56:00 +02:00
Nassim Jahnke fc90ea0624 Add back more patches 2024-06-16 12:47:57 +02:00
Nassim Jahnke 3a74801788 Fix max chunk status checks 2024-06-15 19:57:59 +02:00
Nassim Jahnke b81fffb934 Add back more optimization patches 2024-06-15 19:24:11 +02:00
Nassim Jahnke 967ee0c7b1 Merge remote-tracking branch 'origin/dev/1.21' into dev/1.21 2024-06-15 18:52:19 +02:00
Nassim Jahnke efb91589dc 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:
e2160a18 Make MapCursor#type not depends on deprecated values

CraftBukkit Changes:
6ce172642 SPIGOT-7761: Ender pearl does not damage or spawn endermites
f5a63f734 SPIGOT-7759: Chunk not there when requested in ChunkUnloadEvent
28287259c Remove unused import
eb9a7dde0 SPIGOT-7757: Cannot set item in Stonecutter Inventory
f8be9d752 Move deserialized removed unhandled tags to dedicated removedTags
a7e576186 Fix potential mutability issue with CraftMetaItem copy constructor
995885452 SPIGOT-7741: Vanilla ItemComponent in commands can't remove components
9ef69aa0b PR-1284: Move ItemType <-> ItemMeta linking to a centralized place
3e82eafbe PR-1420: Fix DirectEntity and CausingEntity Damager for Creepers ignited by Player
c23daa71f SPIGOT-7751: Fix crash caused by arrows from trial spawners
Make MapCursor#type not depends on deprecated values
SPIGOT-7761: Ender pearl does not damage or spawn endermites
2024-06-15 18:28:18 +02:00
Nassim Jahnke 9b3cf41d7a Update more optimization patches 2024-06-15 14:12:22 +02:00