Commit graph

2801 commits

Author SHA1 Message Date
Jake Potrebic
da3ca7a40d Fix issue with empty lists in adventure predicates
Fixes #10473
2024-04-28 08:22:16 -07:00
Shane Freeder
36fa573f48 Fix another missing book meta tag 2024-04-28 13:48:20 +01:00
Shane Freeder
4aab51d78a Fix book meta lacking resolved tag from older versions (Fixes #10470) 2024-04-28 13:15:03 +01:00
Nassim Jahnke
7ffc581d32 Fix test compilation 2024-04-28 14:20:52 +02:00
Jake Potrebic
c6bdd67d28 more fixes for ItemMeta relating to components 2024-04-27 22:27:51 -07:00
Jake Potrebic
c534b3e0ea Fix firework meta NPE
Fixes #10466
2024-04-27 20:57:42 -07:00
caramel
d1a11cca31 Fix the incorrect codec usage in the Style convert (#10465) 2024-04-28 12:32:11 +09:00
Jason Penilla
0b9087f4b8 Only scan org.bukkit.craftbukkit.inventory in MetaHandledTagsTest
fixes tests OOMing
2024-04-27 18:25:15 -07:00
Jake Potrebic
57a40dbdd3 remove calls to DoNotUse methods 2024-04-27 18:18:20 -07:00
Jake Potrebic
dcbe8f75f2 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:
304e83eb PR-1002: Improve documentation and implementation of getMaxStackSize
e8215ea2 SPIGOT-7638: Library loader does not seem to resolve every dependency
79c595c0 SPIGOT-7637: Bad logic in checking nullability of AttributeModifier slots

CraftBukkit Changes:
91b1fc3f1 SPIGOT-7644: Fix ItemMeta#getAsString
4e77a81e1 SPIGOT-7615: PlayerLeashEntityEvent cancelled eats lead
996f660f3 Do not remove leash knot if leasing to an existing leash knot gets cancelled
f70367d42 SPIGOT-7643: Fix inverted leash event cancelled usage and remove leash knot if no entity gets leashed
7ddb48294 SPIGOT-7640: Abnormal jumping height of wind charge
080c8711e SPIGOT-7639: Incoming plugin channels not working
ad549847e Open a direct connection instead of pinging mojang server to check if it is reachable
38e2926c5 SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime
2024-04-27 18:00:01 -07:00
Jake Potrebic
25e7f94c2a fix last test issue 2024-04-27 17:45:30 -07:00
Jake Potrebic
663c8a772f Fix issue with hopppers
Fixes #10464
2024-04-27 17:31:32 -07:00
Jake Potrebic
9230c67a88 improve checking handled tags in itemmeta (#9470) 2024-04-27 17:33:17 -07:00
Jason Penilla
a7e0798f78 Use JetBrains runtime for run tasks
allows for better runtime class redefinition

closes #10459
2024-04-27 17:27:32 -07:00
Nassim Jahnke
c4adb2b7c7 Temporarily comment out adventure jd links 2024-04-28 02:05:52 +02:00
Jake Potrebic
c0b22957f5 proper migration to gamerules for keep spawn loaded distance 2024-04-27 15:50:33 -07:00
Nassim Jahnke
942ac65c39 Fix bad diff in build gradle file 2024-04-28 00:43:17 +02:00
Jake Potrebic
31eecaee4a Revert to vanilla handling of LivingEntity#actuallyHurt (#10463) 2024-04-27 14:35:53 -07:00
Jake Potrebic
4b762a6259 more ItemFlag fixes 2024-04-27 14:32:14 -07:00
Jason Penilla
ed3f76d3a5 remove funny diff 2024-04-27 14:11:35 -07:00
Jason Penilla
bf6862b141 Move cb version definition to gradle patch 2024-04-27 14:02:33 -07:00
Jason Penilla
e20beef9c7 Move obfhelper/stack deobf diff into original patch 2024-04-27 13:53:56 -07:00
Lulu13022002
e0adb01ddc update generator 2024-04-27 22:30:15 +02:00
Jason Penilla
9f60650248 Bump adventure ansi serializer 2024-04-27 13:31:37 -07:00
Jason Penilla
a97258b9ee Start cleaning up plugin remapping patches 2024-04-27 13:27:01 -07:00
Lulu13022002
ba5fe77f0f fix helmet damage reduction inconsistencies
See: https://github.com/PaperMC/Paper/issues/9555#issuecomment-1681120506
2024-04-27 21:56:29 +02:00
Lulu13022002
9c0da4515d fix PotionEffectType#getEffectAttributes 2024-04-27 21:48:14 +02:00
Spottedleaf
a0c2ebbdd4 Update DataConverter to 1.20.6-rc1
Fixes trader llama inventory incorrectly converting
2024-04-27 12:39:35 -07:00
Jake Potrebic
cdeb62baac fix item flags 2024-04-27 12:17:58 -07:00
Jason Penilla
43b52c8d61 Unify plugin remapping debug flags 2024-04-27 11:41:56 -07:00
Shane Freeder
4f09300744 Restore Handle Large Packets Disconnecting Client Patch 2024-04-27 15:06:52 +01:00
Jake Potrebic
e600a4de22 improve dumpitem and pgive commands 2024-04-26 23:57:49 -07:00
Jake Potrebic
cafa0f3267 bunch of fixes and improvements 2024-04-26 23:17:58 -07:00
Jake Potrebic
77e87218b9 add back hunk to async SavedData IO 2024-04-26 19:33:30 -07:00
Jake Potrebic
1bcdad0118 more fixes 2024-04-26 19:09:42 -07:00
Jake Potrebic
36445ba659 add back missing call to profile fill events 2024-04-26 18:41:54 -07:00
Jake Potrebic
d575d43c03 fix adventure converters not using RegistryOps 2024-04-26 18:16:31 -07:00
Jake Potrebic
b1f19f295c fix enchantment order issue 2024-04-26 18:06:35 -07:00
Jake Potrebic
f0911d4f2d readd old UUID format patch 2024-04-26 17:41:36 -07:00
Jake Potrebic
a9b6792b11 fix javadocs for SpawnerEntry$Equipment API 2024-04-26 17:00:26 -07:00
Jake Potrebic
5a55c71491 deprecate our ItemRarity API 2024-04-26 16:43:59 -07:00
Jake Potrebic
d0db132328 fix custom potion mixes 2024-04-26 16:17:13 -07:00
Jake Potrebic
f673d54842 fix exact choice recipes 2024-04-26 15:25:20 -07:00
Jake Potrebic
6ba0e1048f fix adventure translations 2024-04-26 15:08:35 -07:00
Jason Penilla
8cb49c8d67 Update paper plugin check in PluginRemapper 2024-04-26 14:31:45 -07:00
Jake Potrebic
15221cd4ac remove no longer needed patches and fix tests 2024-04-26 14:29:16 -07:00
Jason Penilla
6bfa9ce2b1 Update patched spigot decompiler to fix inconsistency based on processing order 2024-04-26 11:42:17 -07:00
Jake Potrebic
0cd4c50623 fix some more issues 2024-04-26 11:39:20 -07:00
Jake Potrebic
a55b0c8097 fix some issues on the todo list 2024-04-26 09:22:55 -07:00
Jake Potrebic
8a37019dc2 fix chat_type issue 2024-04-26 08:33:00 -07:00
Owen1212055
fca0167880 Drop old decompile fix 2024-04-26 08:39:10 -04: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
Jake Potrebic
5c514dd900 support patch versions in api-version 2024-04-25 23:29:16 -07:00
Jason Penilla
898fa27a8f plugin manager updates 2024-04-25 23:17:15 -07:00
Jake Potrebic
c9e0e1f9f3 fix issue with item default attribute API 2024-04-25 23:10:38 -07:00
Jake Potrebic
e5628d4fc7 fixup loom pattern select event patch 2024-04-25 22:44:49 -07:00
Jason Penilla
e66d823dc3 hunk system fixes 2024-04-25 22:25:02 -07:00
Jason Penilla
3606096fbb compile fixes 2024-04-25 21:27:19 -07:00
Jason Penilla
af2e3abf87 compile fixes 2024-04-25 20:15:07 -07:00
Jason Penilla
9c8593cb14 compile fixes 2024-04-25 19:54:07 -07:00
Jason Penilla
ce02863322 generator fix 2024-04-25 19:09:21 -07:00
Jake Potrebic
88a3dac057 some more compile fixes 2024-04-25 18:51:28 -07:00
Jake Potrebic
48c586ab9c fixup adventure's book meta handling 2024-04-25 17:46:17 -07:00
Jake Potrebic
e83056f93a fixup sus effect entry patches 2024-04-25 17:10:12 -07:00
Jake Potrebic
a404f4b9ab address my own comments 2024-04-25 16:24:08 -07: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
Jason Penilla
09a83f66ee compile fixes 2024-04-25 12:16:00 -07:00
Jason Penilla
0a19a66562 Fixes for cb pkg ver 2024-04-25 11:16:53 -07:00
Noah van der Aa
e6eff7111e Fix WorldCreator#keepSpawnLoaded 2024-04-25 19:57:27 +02:00
Bjarne Koll
d0743357eb Missing FQN in CraftPotionBrewer getter 2024-04-25 19:45:17 +02:00
Bjarne Koll
d6adc0b264 Some more compilation fixes 2024-04-25 19:42:24 +02:00
Noah van der Aa
2af3439727 Un-jankify root user detection 2024-04-25 19:13:12 +02:00
Bjarne Koll
b7e5de9401 Update Enchantment damage increase API
The Enchantment damage increase API added previously used the
EntityCategory enum as a parameter. These values are now however
determined by tags instead of the categories themselves.

Deprecated the outdated api method, create a new overload that takes
EntityType instead and implement deprecated method by guessing an entity
type from the builtin registry based on the category passed.
This method allows
a) the tags to still be modified and the legacy
   method still respecting such.
b) potential cursed implementations of enchantments of plugins to not
   break that override the getDamageBonus method on Enchantment.
2024-04-25 18:42:50 +02:00
Jake Potrebic
dc556091df readd fix bee aging patch 2024-04-25 09:06:13 -07:00
Jake Potrebic
cbfb3d4f97 update smithing recipe copy data components API 2024-04-25 08:13:36 -07:00
Owen1212055
8fa2c4d4fd pass more stuff 2024-04-25 09:01:54 -04:00
Owen1212055
a47a33b837 Fix properly resend patches 2024-04-25 08:42:47 -04:00
Owen1212055
1cc4c39836 Patches!!!!!!! (we are done) 2024-04-25 08:36:48 -04: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
Spottedleaf
dd114da7f0 chunk system 2024-04-25 01:52:52 -07:00
Spottedleaf
0dfd08b1d8 starlight 2024-04-25 00:14:22 -07:00
Spottedleaf
4ded614f0b dataconverter 2024-04-24 23:49:13 -07:00
Jason Penilla
0773a7aff5 compile fixes 2024-04-24 22:29:18 -07:00
Jason Penilla
c3eb1935c1 compile fixes 2024-04-24 22:16:04 -07:00
Jason Penilla
72936860a1 compile fixes 2024-04-24 21:38:28 -07:00
Jason Penilla
1db3411c0e compile fixes
compile fixes

compile fixes
2024-04-24 20:40:32 -07:00
Jake Potrebic
aa5add485f work on adventure 2024-04-24 20:14:51 -07:00
Jason Penilla
f70bbeeac6 some work on adventure 2024-04-24 18:10:18 -07:00
Jason Penilla
960e8f1ad8 adventure 4.17.0-SNAPSHOT 2024-04-24 17:46:57 -07:00
Jason Penilla
03152bc733 Drop conduit api patch (upstream implemented same api with same method signatures) 2024-04-24 17:40:30 -07:00
Jason Penilla
faad8cbd62 Apply more API-implementing patches 2024-04-24 17:36:24 -07:00
Jake Potrebic
21581c8111 955 2024-04-24 16:25:57 -07:00
Owen1212055
308e992c47 Patches!!!!!!! 2024-04-24 18:36:49 -04:00
Jason Penilla
16579c63d9 Update reflection rewriter to 0.0.1 release 2024-04-24 15:02:37 -07:00
Noah van der Aa
44a5402713 Restore original formatting for MC-252817 patch 2024-04-24 23:26:18 +02:00
Noah van der Aa
060e370a08 more more work (806) 2024-04-24 23:23:56 +02:00
Noah van der Aa
3ea4a03fbc more more work (757) 2024-04-24 22:32:38 +02:00
Noah van der Aa
b8911367e6 more work (721) 2024-04-24 22:05:42 +02:00
Jason Penilla
f2519808c9 694 2024-04-24 11:03:59 -07:00
Jason Penilla
4a43daa012 683 2024-04-24 10:59:51 -07: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
Owen1212055
b866d785c8 Patches!!!!!!! 2024-04-24 10:30:32 -04:00
Owen1212055
a68fb9030a Patches!!!!!!! 2024-04-24 10:29:12 -04:00
Owen1212055
5a30d10b36 Patches! 2024-04-24 09:46:45 -04:00
Owen1212055
babd22019c Patches! 2024-04-24 08:11:27 -04:00
Jake Potrebic
27c46717f6 405 2024-04-23 23:44:48 -07:00
Jake Potrebic
49787270cb 354 2024-04-23 23:05:14 -07:00
Jake Potrebic
ebedfa4da7 301 2024-04-23 22:43:09 -07:00
Jake Potrebic
840f63b25a 253 2024-04-23 19:46:06 -07:00
Jake Potrebic
e45f4f85f4 221 2024-04-23 19:21:40 -07:00
Owen1212055
717c16dc69 Patches! 2024-04-23 18:25:14 -07:00
Owen1212055
c844ac9d01 Update upstream 2024-04-23 19:31:55 -04:00
Owen1212055
97cf432687 update 2024-04-23 19:30:03 -04:00
Jake Potrebic
9a497c83b8 fix 2 of our javadoc errors 2024-04-23 16:30:24 -07:00
Jake Potrebic
8c0153f78d work on some API stuff 2024-04-23 16:26:24 -07:00
Jason Penilla
d527aa0f5b Fix api compile 2024-04-23 14:47:29 -07:00
Jason Penilla
178efa2903 Don't use defaultToolchain method for run tasks 2024-04-23 14:39:36 -07:00
Jason Penilla
8004d7f08a 41 2024-04-23 14:31:37 -07:00
Jason Penilla
17a9cefe8e Fix continueServerUpdate with 2-line subjects 2024-04-23 14:26:28 -07:00
Jason Penilla
fbe7d95d0f 33 2024-04-23 14:12:24 -07:00
Jason Penilla
040ea261c7 Apply timings 2024-04-23 14:04:59 -07:00
Jason Penilla
67e8e37fe3 Apply shadow removal patch 2024-04-23 13:41:25 -07:00
Jason Penilla
5c78ce1a3a Fix reflection diff and order wrt commodore diff 2024-04-23 13:36:31 -07:00
Nassim Jahnke
0898d2405e Work 2024-04-23 21:23:27 +02:00
Jason Penilla
a616fad617 Add plugin remapping patches 2024-04-23 11:44:28 -07:00
Jake Potrebic
5c6e2be729 work on Adventure patch 2024-04-23 11:32:19 -07:00
Jake Potrebic
7f1e33effe do some work 2024-04-23 11:03:16 -07:00
Jake Potrebic
47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
leguan
73da69c09e [ci skip] Fix javadoc typo (#10445) 2024-04-22 20:08:37 +02:00
Jake Potrebic
659ebace6c More Raid API (#7537) 2024-04-20 12:57:51 -07:00
Tamion
9c2056070c Add Configuration for finding Structures outside World Border (#10437) 2024-04-20 21:29:32 +02:00
Janet Blackquill
2db91fd866 Add CartographyItemEvent and get/setResult for CartographyInventory (#10396) 2024-04-20 14:10:35 -04:00
Florian Beck
3fc5a0b21d Added chunk view API (#10398) 2024-04-20 19:56:59 +02:00
Nassim Jahnke
ab63e7e64f Allow setting player list name early 2024-04-20 15:24:42 +02:00
Tamion
b1a467786e Fix inventory desync with PlayerLeashEntityEvent (#10436) 2024-04-20 05:23:32 +02:00
Jake Potrebic
bdfe4c21f6 Add API for ticking fluids (#10435)
* Add API for ticking fluids

* update javadocs
2024-04-19 13:03:32 -07:00
brickmonster
07e8f74355 Remove dead code (LegacyResult) (#10411)
* Stop firing AsyncPlayerChatPreviewEvent as chat preview was removed in 1.19.3. This is in parity with upstream

* formatting and small tweaks

* correctly set MESSAGE_CHANGED flag for modern modifications

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-04-19 20:47:24 +01:00
Jason Penilla
76be2651ca "Downgrade" Vineflower to 1.10.1 release (#10423)
* "Downgrade" Vineflower to 1.10.1 release

The main thing we lose from the 1.11 snapshots is a recent fix for redundant casts.

* Thanks intellij

* a
2024-04-16 12:44:59 -07:00
Owen1212055
14b0751f02 Deprecate ItemStack#setType & add ItemStack#withType (#10290) 2024-04-12 17:16:22 -04:00