Commit Graph
100 Commits
Author SHA1 Message Date
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
Nassim Jahnke 3f581a6024 Fix body equipmentslot and effect enum 2024-06-14 18:53:32 +02:00
Nassim Jahnke 1aee096320 Fixup and deprecate player profiles in ping event
The player sample uses game profile internally, but discards everything but the name and uuid and does not follow player profile restrictions, so it doesn't make sense to use that in the event.
2024-06-14 18:14:55 +02:00
Nassim Jahnke 201427a880 Make it compile 2024-06-14 18:02:15 +02:00
Nassim Jahnke d29210d668 Fix more compile issues 2024-06-14 14:28:06 +02:00
Nassim Jahnke bcdf841f2d Fix more compile issues 2024-06-14 14:11:52 +02:00
Nassim Jahnke 9206b1ea14 Fix a few compile errors 2024-06-14 13:07:50 +02:00
Nassim Jahnke fb102cafd1 Add validation to player profile and properties (#10680) 2024-05-10 12:52:03 +02:00
Nassim Jahnke 1ebe089f8d Print data component type on encoding error 2024-05-09 15:12:12 +02:00
Nassim Jahnke b122be82d9 [ci skip] Clarify var entry in contributing file 2024-05-09 15:10:27 +02:00
Nassim Jahnke 7b2ce17e23 Add missing step in V3818 2024-05-04 22:49:48 +02:00
Nassim Jahnke 9432b19638 Update Java version references, add note on var usages 2024-05-01 18:44:17 +02:00
Nassim Jahnke 657059cfe9 [ci skip] Remove trailing comma in projects action 2024-04-30 15:56:43 +02:00
Nassim Jahnke f97bdb1894 Add initial size cap to component map 2024-04-30 11:14:20 +02:00
Nassim Jahnke cbb35324c1 Fix overly strong name validation in player heads
Closes #10477
2024-04-28 18:25:20 +02:00
Nassim Jahnke 2355f31613 Don't hard fail on plugin remap error
Closes #10474
2024-04-28 17:25:31 +02:00
Nassim Jahnke 7ffc581d32 Fix test compilation 2024-04-28 14:20:52 +02:00
Nassim Jahnke c4adb2b7c7 Temporarily comment out adventure jd links 2024-04-28 02:05:52 +02:00
Nassim Jahnke 942ac65c39 Fix bad diff in build gradle file 2024-04-28 00:43:17 +02:00
Nassim Jahnke 340b0e9ae1 Update jdk version and distribution in actions 2024-04-28 00:26:43 +02:00
Nassim Jahnke deba816f30 Fix accumulated total ticking chunks not being updated 2024-04-26 11:55:56 +02:00
Nassim Jahnke c0ac50971d Fix light setting in protochunk 2024-04-26 11:12:19 +02:00
Nassim Jahnke 335f485dd4 Fix compile issues 2024-04-26 10:45:00 +02:00
Nassim Jahnke 2d89c1f53e Fixup damage source change 2024-04-25 23:28:56 +02:00
Nassim Jahnke 333b7145f0 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:
69fa4695 Add some missing deprecation annotations
f850da2e Update Maven plugins/versions
8d8400db Use regular compiler seeing as ECJ doesn't support Java 21 JRE
c29e1688 Revert "BUILDTOOLS-676: Downgrade Maven compiler version"
07bce714 SPIGOT-7355: More field renames and fixes
6a8ea764 Fix bad merge in penultimate commit
50a7920c Fix imports in previous commit
83640dd1 PR-995: Add required feature to MinecraftExperimental for easy lookups
fc1f96cf BUILDTOOLS-676: Downgrade Maven compiler version

CraftBukkit Changes:
90f1059ba Fix item placement
661afb43c SPIGOT-7633: Clearer error message for missing particle data
807b465b3 SPIGOT-7634: Armadillo updates infrequently
590cf09a8 Fix unit tests always seeing Mojang server as unavailable
7c7ac5eb2 SPIGOT-7636: Fix clearing ItemMeta
4a72905cf SPIGOT-7635: Fix Player#transfer and cookie methods
ebb50e136 Fix incorrect Vault implementation
b33fed8b7 Update Maven plugins/versions
6f00f0608 SPIGOT-7632: Control middle clicking chest does not copy contents
db821f405 Use regular compiler seeing as ECJ doesn't support Java 21 JRE
8a2976737 Revert "BUILDTOOLS-676: Downgrade Maven compiler version"
0297f87bb SPIGOT-7355: More field renames and fixes
2d03bdf6a SPIGOT-7629: Fix loading banner patterns
e77951fac Fix equality of deserialized display names
c66f3e4fd SPIGOT-7631: Fix deserialisation of BlockStateMeta
9c2c7be8d SPIGOT-7630: Fix crash saving unticked leashed entities
8c1e7c841 PR-1384: Disable certain PlayerProfile tests, if Mojang's services or internet are not available
ced93d572 SPIGOT-7626: sendSignChange() has no effect
c77362cae SPIGOT-7625: ItemStack with lore cannot be serialized in 1.20.5
ff2004387 SPIGOT-7620: Fix server crash when hoppers transfer items to double chests
8b4abeb03 BUILDTOOLS-676: Downgrade Maven compiler version
2024-04-25 23:21:18 +02:00
Nassim Jahnke 686f224893 More compile fixes 2024-04-25 22:47:32 +02:00
Nassim Jahnke ca25aa1859 More more compile fixes 2024-04-25 22:34:46 +02:00
Nassim Jahnke b432863793 Fix more compile issues 2024-04-25 21:40:53 +02:00
Nassim Jahnke 79ce7b6c81 (Almost) all patches applied 2024-04-25 14:23:55 +02:00
Nassim Jahnke 18acb6fc31 More more patches, including hopper optimization patch 2024-04-25 14:07:39 +02:00
Nassim Jahnke c42850dbcc More patches 2024-04-25 13:02:27 +02:00
Nassim Jahnke 4047edb114 Apply and move up non-optimization patches 2024-04-25 12:27:57 +02:00
Nassim Jahnke 02eec3bcd0 Patches 2024-04-25 11:42:10 +02:00
Nassim Jahnke fe5f51f44e More patch work 2024-04-24 18:15:59 +02:00
Nassim Jahnke bd5d09cb3f 666 plus 1 2024-04-24 17:27:28 +02:00
Nassim Jahnke 0898d2405e Work 2024-04-23 21:23:27 +02:00
Nassim Jahnke ab63e7e64f Allow setting player list name early 2024-04-20 15:24:42 +02:00
Nassim Jahnke c848b33030 Return dummy string instead of empty optional 2024-03-25 13:26:01 +01:00
Nassim Jahnke 8e2c466bc3 Fix tripwire disarming not working as intended 2024-03-19 19:49:12 +01:00
Nassim Jahnke 1cfe913c93 Fix spawnreason saving 2024-02-23 23:13:37 +01:00
Nassim Jahnke 1863ac217f Updated Upstream (Bukkit/CraftBukkit/Spigot) (#10277)
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:
9a80d38c SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-722: Add EntityRemoveEvent
258086d9 SPIGOT-7417, PR-967: Add Sign#getTargetSide and Sign#getAllowedEditor
ffaba051 SPIGOT-7584: Add missing Tag.ITEMS_NON_FLAMMABLE_WOOD

CraftBukkit Changes:
98b6c1ac7 SPIGOT-7589 Fix NullPointerException when bans expire
a2736ddb0 SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-1008: Add EntityRemoveEvent
5bf12cb89 SPIGOT-7565: Throw a more descriptive error message when a developer tries to spawn an entity from a CraftBukkit class
76d95fe7e SPIGOT-7417, PR-1343: Add Sign#getTargetSide and Sign#getAllowedEditor

Spigot Changes:
e9ec5485 Rebuild patches
f1b62e0c Rebuild patches
2024-02-23 14:37:33 +01:00