Commit graph

2426 commits

Author SHA1 Message Date
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
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
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
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
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
Cross
dd8fa8eefb Fix hit criteria advancement triggered before changing state (#10409)
* Fix hit criteria advancement being triggered before changing block state.

* Rebase

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-04-12 20:42:00 +01:00
Shane Freeder
0d8e6831c3 Fix StackOverflowException thrown on shutdown (Fixes #10404) (#10408)
paper previously migrated away from using executeIfPossible as this throws a
RejectedExecutionException when the server is shutting down, which is then picked
up by the Connection handler object and causes the player to be kicked without
the intended disconnection message that comes from commands such as /stop, /restart

This was fine, because previously changes made in spigot would just prevent these
packets from being executed anyways. Instead, we'll just use a marker exception
to try to detect this specific state.
2024-04-12 20:37:00 +01:00
Jake Potrebic
89528bff42 Update patches to handle vineflower decompiler (#10406)
* Update patches to handle vineflower decompiler

* update patches again to handle inlined simple lambdas

* update vf again and re-apply/rebuild patches

* update patches after removal of verify-merges flag

* fix compile issue

* remove maven local

* fix some issues

* address more issues

* fix collision patch

* use paperweight release

* more fixes

* update fineflower and fix patches again

* add missing comment descriptor

---------

Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2024-04-12 12:14:06 -07:00
gecko10000
a7eec3f980 Change online mode default for Velocity configuration (#10413) 2024-04-12 10:21:31 -07:00
Shane Freeder
b56970d394 Allow player-list API to self un/list (#10358) 2024-04-07 01:45:43 +01:00
Joseph Burton
bccba9bc30 Ignore minecart in activation range (#10359) 2024-04-07 00:50:43 +01:00
Noah van der Aa
7f488e6d9d Disable vertical air friction when item entities have friction disabled (#10369) 2024-04-07 01:36:59 +02:00
Evan
b6a760757a Add BlockBreakProgressUpdateEvent (#10300) 2024-04-06 18:28:17 -04:00
Lulu13022002
d06c0b4571 Backport some stuff from the generators branch (#10365) 2024-04-06 23:51:47 +02:00
Tamion
613a19f70d Add more item use API (#10304) 2024-04-06 23:44:27 +02:00
Lulu13022002
2089697232 Don't throw NPE for unplaced blockstate on #getDrops (#10366) 2024-04-06 23:26:56 +02:00
Pierpaolo Coletta
e1e5a33da4 Fix invalid block entities created during world gen (#10375) 2024-04-06 23:16:54 +02:00
Bridge
7de6922d21 feat: Entity#teleportAsync method with TeleportFlags (#10371)
* feat: Entity#teleportAsync method with TeleportFlags

* use method-local class

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-04-06 22:38:37 +02:00
Jake Potrebic
68e86d7297 Updated Upstream (Bukkit/CraftBukkit) (#10379)
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:
f02baa38 PR-988: Add World#getIntersectingChunks(BoundingBox)
9321d665 Move getItemInUse up to LivingEntity
819eef73 PR-959: Add access to current item's remaining ticks
c4fdadb0 SPIGOT-7601: Add AbstractArrow#getItem
be8261ca Add support for Java 22
26119676 PR-979: Add more translation keys
66753362 PR-985: Correct book maximum pages and characters per page documentation
c8be92fa PR-980: Improve getArmorContents() documentation
f1120ee2 PR-983: Expose riptide velocity to PlayerRiptideEvent

CraftBukkit Changes:
dfaa89bbe PR-1369: Add World#getIntersectingChunks(BoundingBox)
51bbab2b9 Move getItemInUse up to LivingEntity
668e09602 PR-1331: Add access to current item's remaining ticks
a639406d1 SPIGOT-7601: Add AbstractArrow#getItem
0398930fc SPIGOT-7602: Allow opening in-world horse and related inventories
ffd15611c SPIGOT-7608: Allow empty lists to morph to any PDT list
2188dcfa9 Add support for Java 22
45d6a609f SPIGOT-7604: Revert "SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime"
06d915943 SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime
ca3bc3707 PR-1361: Add more translation keys
366c3ca80 SPIGOT-7600: EntityChangeBlockEvent is not fired for frog eggs
06d0f9ba8 SPIGOT-7593: Fix sapling growth physics / client-side updates
45c2608e4 PR-1366: Expose riptide velocity to PlayerRiptideEvent
29b6bb79b SPIGOT-7587: Remove fixes for now-resolved MC-142590 and MC-109346
2024-04-06 12:53:39 -07:00
Jason Penilla
61dc3d0b17 build: Compile against and shade the filtered jar (#9747)
* Compile against & shade the filtered jar

* Move check for if the paper asset root needs to be pushed

* Don't disable incremental compilation

* Remove mavenLocal

* use paperweight release
2024-04-04 17:12:05 -07:00
DungeonDev
44336b8510 Add config option for tripwire disarming fix
Fixes #10382

Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com>
2024-04-02 12:15:49 +02:00
Jason Penilla
2b24892fa4 build: Update paperweight to 1.5.12 and Gradle Wrapper to 8.7 (#10361) 2024-03-29 10:43:36 -07:00
Jake Potrebic
8fa3b24907 [ci skip] move custom brig exception to paper package 2024-03-26 08:38:26 -07:00
Nassim Jahnke
c848b33030 Return dummy string instead of empty optional 2024-03-25 13:26:01 +01:00
maxcom1
6a200a1663 Add methods to change entity physics (#10334) 2024-03-23 22:26:17 +01:00
FireInstall
0c76cbb7cc Move invisible setting up to entities (#10346) 2024-03-23 20:27:30 +01:00
Shane Freeder
5efed01031 Do not copy profile data if profiles are the same (#10259) 2024-03-20 21:47:50 +00:00
TonytheMacaroni
b17ca0b19e Expose power on fireballs (#10302) 2024-03-20 17:33:34 -04:00
maxcom1
71a2187c20 Fire EntityChangeBlockEvent on beehive nectar deposit (#10306)
* Add BeehiveNectarDepositEvent

* Fire EntityChangeBlockEvent instead of a separate event
2024-03-20 20:35:10 +01:00
Nassim Jahnke
8e2c466bc3 Fix tripwire disarming not working as intended 2024-03-19 19:49:12 +01:00