Commit Graph

3361 Commits

Author SHA1 Message Date
Lulu13022002
7d67d3f4f4
fix DamageTypeTags init 2024-10-26 19:41:56 +02:00
Lulu13022002
7162ff0404
fix item meta 2024-10-26 19:11:37 +02:00
Nassim Jahnke
20507b45cf
Apply more patches 2024-10-26 18:16:39 +02:00
Lulu13022002
98af0e0d3b
update generator 2024-10-26 18:03:25 +02:00
Jason Penilla
b14d336442
Apply watchdoge patches 2024-10-25 18:13:48 -07:00
Spottedleaf
be2edeac2b Fix boats/minecarts not dropping when destroyed
Diff to clone the item was lost, which meant that the spawned
item was air.
2024-10-25 15:04:29 -07:00
Spottedleaf
cf03bed519 Add startup flag to disable gamerule limits
-DPaper.DisableGameRuleLimits=true will disable gamerule limits
2024-10-25 14:22:01 -07:00
Spottedleaf
ba1ee87e70 Revert "Add max minecarft speed gamerule config"
This reverts commit 61136fe43b.
2024-10-25 14:10:40 -07:00
Spottedleaf
61136fe43b Add max minecarft speed gamerule config 2024-10-25 14:07:01 -07:00
Bjarne Koll
dcd81a8867
Fix crafting (and server icon) 2024-10-25 22:33:37 +02:00
Spottedleaf
e92607cd21 Fix MSPT command
Used wrong variable for tick length
2024-10-25 13:19:27 -07:00
Spottedleaf
683ce2062e Fix Anti-Xray using wrong data in chunk deserialize 2024-10-25 13:05:26 -07:00
Spottedleaf
e4efb590e4 fix compile issues 2024-10-25 13:05:26 -07:00
Jason Penilla
2e76d3f1e2
Specify mainCapabilityAttribute for paper-api 2024-10-25 12:47:24 -07:00
Spottedleaf
b711764991 Rebase fixups 2024-10-25 12:24:15 -07:00
Spottedleaf
9ecf77e884 Fix compile issues 2024-10-25 11:46:53 -07:00
Spottedleaf
35ef2932be Finish rebase 2024-10-25 11:40:25 -07:00
Spottedleaf
a911f4a167 Prepare rebase 2024-10-25 11:25:10 -07:00
Spottedleaf
f1a11a6e3f Finish mixin diff review
The mixin diff review looks OK, but need to check the
patch diff now.
2024-10-25 11:25:10 -07:00
Spottedleaf
75e3409cec Complete rebase, start review 2024-10-25 11:25:10 -07:00
Spottedleaf
6daedd74c9 Prepare rebase 2024-10-25 11:25:09 -07:00
Spottedleaf
1d341dfda3 Fix some compile errors from patches 2024-10-25 11:25:09 -07:00
Spottedleaf
3d7b5708ef Implement chunk system 2024-10-25 11:25:09 -07:00
Spottedleaf
16d2c9defe Implement Starlight 2024-10-25 11:25:09 -07:00
Spottedleaf
2a95ad1df3 Implement explosion optimisations 2024-10-25 11:25:09 -07:00
Spottedleaf
e9c58f5451 Implement chunk tick iteration optimisations 2024-10-25 11:25:09 -07:00
Spottedleaf
3b316215d7 Implement config hooks in PaperHooks 2024-10-25 11:25:09 -07:00
Spottedleaf
8e569ba62a Merge patches 2024-10-25 11:25:09 -07:00
Spottedleaf
ecf4d9715e Begin fixing issues
See diff in the update text file
2024-10-25 11:25:09 -07:00
Spottedleaf
47258a7118 Move common diffs to MCUtils 2024-10-25 11:25:09 -07:00
Spottedleaf
6df21e61af Start Moonrise update
This is based on Moonrise's 1.21.2 branch, but this on
1.21.1 so some diffs cannot be applied (and this doesn't
compile).

See moonrise_update_1_21_2.txt for progress
2024-10-25 11:25:09 -07:00
Lulu13022002
3518974270
fix some issues 2024-10-25 20:09:45 +02:00
Bjarne Koll
e19f48475d
Test compile fixes 2024-10-25 19:15:40 +02:00
Bjarne Koll
0a8fd78e37
Compiler issue v5 2024-10-25 18:08:28 +02:00
Bjarne Koll
bb124f4021
Compiler issues v4 2024-10-25 17:20:41 +02:00
Bjarne Koll
918ca965d9
Compiler issues v3 2024-10-25 15:15:12 +02:00
Bjarne Koll
6fb86bb20a
Compiler issues v2 2024-10-25 14:25:28 +02:00
Bjarne Koll
0f011a31b1
Some more compile issues 2024-10-25 13:34:01 +02:00
Bjarne Koll
9c83387157
Compile issues 1 2024-10-25 13:19:23 +02:00
Bjarne Koll
b06e0b0317
Work on compile errors 2024-10-25 13:13:43 +02:00
Bjarne Koll
afbb0d88dd
1037 2024-10-25 12:28:34 +02:00
Bjarne Koll
227caac7f0
Wrong attempt at Tag lifecycle 2024-10-25 12:06:49 +02:00
Bjarne Koll
6a315742d9
1020 2024-10-25 00:08:35 +02:00
Bjarne Koll
7616ebccd8
1000 2024-10-24 23:03:27 +02:00
Bjarne Koll
35e01d7a80
Update work 989 2024-10-24 22:29:29 +02:00
Shane Freeder
fe142cdcd5
Anti Xray 2024-10-24 20:10:38 +01:00
Shane Freeder
d67e55d367
Checkpoint 2024-10-24 19:40:24 +01:00
Bjarne Koll
9047541397
Upstream update 2024-10-24 19:29:35 +02:00
Bjarne Koll
fc05430719
963 2024-10-24 17:20:12 +02:00
Bjarne Koll
b2375286c9
Readd wrongly removed diff 2024-10-24 16:31:09 +02:00
Owen1212055
7d4cce94ae
Patch 2024-10-24 10:02:45 -04:00
Owen1212055
89bf08158b
Patch 2024-10-24 09:53:28 -04:00
Owen1212055
26f7b4c72e
Patch 2024-10-24 09:25:36 -04:00
Bjarne Koll
80de05ff33
Patch me this, patch me that 2024-10-24 12:22:30 +02:00
Bjarne Koll
457d03534d
Patches, patches, patches 2024-10-24 10:42:29 +02:00
Noah van der Aa
5d19e2b332
good luck americans 2024-10-24 00:42:38 +02:00
Noah van der Aa
5a6011c08c
MOOOOOOOOOOOOOORE 2024-10-24 00:32:21 +02:00
Noah van der Aa
dd87f9fe83
fix gruesome copyright violation 2024-10-24 00:11:28 +02:00
Noah van der Aa
4baf9ab44d
MOOOOOOOOOOORE 2024-10-24 00:08:29 +02:00
Noah van der Aa
d52e2d241d
MOOOOOOOORE 2024-10-23 23:35:21 +02:00
Noah van der Aa
1dc142534d
MOOOOORE 2024-10-23 23:12:09 +02:00
Noah van der Aa
cb79de80c4
moooore 2024-10-23 22:52:43 +02:00
Shane Freeder
6456b5dea8
A bunch more 637 2024-10-23 21:10:14 +01:00
Shane Freeder
cbf64163ba
A bunch of patches 2024-10-23 20:43:06 +01:00
Bjarne Koll
4db250389e
Work work work work 2024-10-23 20:50:46 +02:00
Bjarne Koll
0bb4d1d660
553 2024-10-23 20:15:25 +02:00
Bjarne Koll
2810f50ca2
503 2024-10-23 19:46:06 +02:00
Bjarne Koll
f5177aa121
Some more work 2024-10-23 17:58:11 +02:00
Bjarne Koll
1f8b53733f
440 2024-10-23 17:13:43 +02:00
Bjarne Koll
09b625eccf
400 2024-10-23 16:57:39 +02:00
Owen1212055
6bfc6db99e
Patch 2024-10-23 10:08:40 -04:00
Owen1212055
af125d26a9
Patch 2024-10-23 10:04:01 -04:00
Owen1212055
aa37f7250d
Patches 2024-10-23 09:54:09 -04:00
Bjarne Koll
5e262c1691
298 2024-10-23 15:02:51 +02:00
Bjarne Koll
f677393a88
Skip Improve-exact-choice-recipe-ingredients for now 2024-10-23 14:12:17 +02:00
Bjarne Koll
8851d25a4d
Fluid Flowing ifLoaded patch 2024-10-23 13:13:00 +02:00
Bjarne Koll
a400929816
242 2024-10-23 12:32:08 +02:00
Bjarne Koll
7c04a31c9f
Update projectile launch to 1.21.2 2024-10-23 12:02:36 +02:00
Bjarne Koll
dc5af4848a
Breakpoint before projectile mess 2024-10-23 11:04:00 +02:00
Bjarne Koll
9d63c814c2
Work work work 2024-10-23 00:02:50 +02:00
Bjarne Koll
f1649d702b
Work it 2024-10-22 23:30:51 +02:00
Bjarne Koll
9e92fed7a2
More work? 2024-10-22 22:38:26 +02:00
Bjarne Koll
152e82ceec
Some work 2024-10-22 22:00:33 +02:00
Noah van der Aa
6b27267fb7
oops 2024-10-22 20:09:28 +02:00
Noah van der Aa
3585434382
first 100! 2024-10-22 20:04:31 +02:00
Noah van der Aa
d280061a1a
First batch of server patches 2024-10-22 19:28:57 +02:00
Noah van der Aa
e080b20c45
Bundles are no longer experimental (thanks lynx) 2024-10-22 18:43:46 +02:00
Noah van der Aa
d0028b77c7
you saw nothing 2024-10-22 18:32:41 +02:00
Noah van der Aa
2ef589c820
okaaay let's go 2024-10-22 18:23:19 +02:00
Lulu13022002
d348cb88a9
Restrict BlockProjectileSource#launchProjectile
Spigot recently revamped their CraftBlockProjectileSource impl to make use of
the the ProjectileItem logic. During this move however, a couple of types were
added which do not provide a sensible ProjectileItem implementation.

The commit restricts the API once again to types that represent useful
ProjectileItems, removing support for the trident, enderpearl and breeze variant
of the windcharge.
2024-10-21 18:17:45 +02:00
Shane Freeder
14a48cda40
Some small touchups to the GUI (#11505)
As noted on the issue, the method here can blow up in
certain cases, the GUI logic already handles "the mouse is missing",
and so, we'll just catch this and move on.

Misc fix - There is probably an issue report for this somewhere,
but, the details section utilised the bukkit singleton to try to get
the TPS from the server. We already have the MinecraftServer instance
passed into us, and so we'll just get the information directly from there instead.

Fixes: #11494
2024-10-21 01:10:10 +02:00
Shane Freeder
260c3bbec0
Always send Banner patterns to the client (#11506)
The mojang client will not remove patterns from a Banner when none
are sent inside of an update packet, given that this is not an expected
flow for them, this is not all too surprising. So, we shall resort to always
sending the patterns over the network for update packets.

Fixes: #11487
2024-10-21 01:02:00 +02:00
caramel
c13f9fd06a
Fix potential annotation testing interruption (#11460) 2024-10-21 00:46:50 +02:00
Bjarne Koll
3b9db2b194
Updated Upstream (Bukkit/CraftBukkit) (#11501)
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:
bb4e97c6 Add support for Java 23
bc6874dd Bump asm to 9.7.1
50e8a00b PR-1064: Add specific getTopInventory methods for InventoryView derivatives
758b0a0f SPIGOT-7911: Fix Location#isWorldLoaded() for re-loaded worlds
133a64a7 Improve Registry#getOrThrow messages
be0f5957 PR-1058: Add tests for Minecraft registry <-> Bukkit fields
d1b31df2 PR-1062: Clarify BeaconView documentation
3fab4384 PR-1060: Cache Material to BlockType and ItemType conversion
967a7301 SPIGOT-7906: Increase YAML nesting limit to 100
6ecf033d SPIGOT-7899: Smithing recipes don't require inputs

CraftBukkit Changes:
0a7bd6c81 PR-1493: Improve reroute performance and add some tests
54941524c Add support for Java 23
f4d957fff SPIGOT-7915: Fix World#getKeepSpawnInMemory() using Spawn Radius rather than Spawn Chunk Radius
ded183674 Fix HIDE_ENCHANTS flag in items without enchantments
308785a0a Bump asm to 9.7.1 and re-add ClassReader to ClassWriter
72ce823cd PR-1487: Add specific getTopInventory methods for InventoryView derivatives
11a5e840c SPIGOT-7907, PR-1484: Improve merchant recipe item matching behavior to more closely align with older versions
45b66f7e4 SPIGOT-7909: Always set HIDE_ENCHANTS flag to item if flag is set
963459791 Increase outdated build delay
fc5b2d75f SPIGOT-7910: Fix launching breeze wind charge from API and improve dispenser launch API
c7d6428f2 SPIGOT-7856, PR-1483: End platform not dropping items after replacing blocks
2a5572b52 SPIGOT-7780, PR-1482: Cannot edit chunks during unload event
527041ab5 SPIGOT-7902, PR-1477: Fix CraftMetaPotion#hasCustomEffects() does not check if customEffects (List) is empty
5529a1769 Implement base methods for tags
30fbdbaaf Improve Registry#getOrThrow messages
6b71a7322 PR-1475: Add tests for Minecraft registry <-> Bukkit fields
5f24c255c SPIGOT-7908: Mark junit-platform-suite-engine as test scope
e4c92ef65 PR-1473: Change tests to use suites, to run tests in different environments and feature flags
d25e1e722 PR-1481: Fix BeaconView#set[X]Effect(null)
d69a05362 PR-1480: Fix PerMaterialTest#isEdible test running for legacy materials
bb3284a89 PR-1479: Use custom #isBlock method in legacy init instead of the one in Material, since it relies on legacy being init
98c57cbbe SPIGOT-7904: Fix NPE for PlayerItemBreakEvent
f35bae9ec Fix missing hasJukeboxPlayable
8a6f8b6d8 SPIGOT-7881: CTRL+Pick Block saves position data into item
7913b3be7 SPIGOT-7899: Smithing recipes don't require inputs
2024-10-21 00:06:54 +02:00
Shane Freeder
755a7753af
[ci skip] rebuild patches 2024-10-17 21:24:12 +01:00
Spottedleaf
aebbdc9e9a Add proper async player disconnections
Blocking can cause performance problems
2024-10-16 07:00:40 -07:00
Pedro
4430e96e1b
Add AnvilView#bypassEnchantmentLevelRestriction (#11475) 2024-10-12 23:10:05 +02:00
Lulu13022002
b16c0ae023
Add offline PDC API (#8117) 2024-10-12 21:38:18 +02:00
TonytheMacaroni
57c75a4b67
Fix CraftMagicNumbers#getTag (#11484) 2024-10-09 21:58:13 +01:00
Nassim Jahnke
7cd4f2c15f
Check if leash tag has a uuid 2024-10-03 17:10:27 +02:00