SoSeDiK
2a6a5fef59
Add a way to check whether the chest is blocked ( #10635 )
...
* More Chest Block API
* rebased and slight logic fixes
2024-05-05 10:57:28 -07:00
Bridge
21d91ce634
Prevent profile lookups when unnecessary ( #10651 )
2024-05-05 19:07:30 +02:00
Tamion
716dfd8698
Fix EntityLoadCrossbowEvent ( #10645 )
...
* fix
* hehe
2024-05-05 09:54:04 -07:00
NonSwag
54c5ecb4e4
Add missing SpigotConfig logCommands check ( #10659 )
2024-05-05 18:41:02 +02:00
Nostal Yuu
0e43d3c103
Added API to get player's proxy address ( #10400 )
2024-05-05 18:39:32 +02:00
Jake Potrebic
9d8d38d137
Updated Upstream (CraftBukkit) ( #10646 )
...
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:
66fd94322 SPIGOT-7652: Remove remap for SPELL_MOB_AMBIENT which no longer exists
ecfa4f973 SPIGOT-7654: ItemStack#isSimilar does not work with empty BlockStateMeta
4460ecc49 SPIGOT-7655: ItemMeta#addItemFlags(ItemFlag.HIDE_ATTRIBUTES) not working when no attribute modifiers set
5d84f48a4 SPIGOT-7653: Update ApiVersion.CURRENT with latest version and include tests
2024-05-05 18:08:55 +02:00
Lulu13022002
b13c7dbe36
Add missing experimental field and annotations ( #10653 )
2024-05-05 09:00:54 -07:00
Bjarne Koll
7ae2c671c6
Keep components using single items in creative ( #10664 )
...
The craftbukkit implementation stores the old and new data patch of an
item during ItemStack#useOn(UseOnContext) to properly cancel events via
comparison and change detection of the component patch.
However, it uses #getComponentsPatch to fetch the new stack component
patch, which always yields an empty patch set if an itemstack is
considered empty by the game.
As the restoration of an itemstack's count to its previous state is
handled after the entire ItemStack#useOn method, items used in creative
mode temporarily have a count of zero, which causes craftbukkit to
consider their new component patch as EMPTY even tho said item may have
data.
The new patch is applied and, after useOn completes, the count is reset
if the player is in creative mode, leading to lost data.
This commit fixes said inconsistency by directly accessing the
components of the item via components#asPatch, storing the proper
component patch even for an item that temporarily has a count of zero.
2024-05-05 11:40:36 +02:00
Jake Potrebic
7401313e16
fix shear drops for wolf and bogged
...
Fixes #10661
2024-05-04 22:48:10 -07:00
Nassim Jahnke
6fcca46674
Add missing step in V3818
2024-05-04 22:50:20 +02:00
Jake Potrebic
5632210f10
add RegistryAccess for managing registries ( #10154 )
...
* add RegistryAccess for managing registries
* add missing types to key data generator
* fix some stuff
* Add RegistryKeys for all other non-server-backed registries
* fix tests
* remove Experimental annotations
2024-05-04 11:22:35 -07:00
Joseph Burton
156675c773
Fix lodestone compass target conversion
2024-05-04 12:58:06 +02:00
Joseph Burton
0db72ac19e
Fix can_place_on conversion and size check for item containers
2024-05-02 20:23:15 +02:00
Shane Freeder
59fe7ccc3b
default save-empty-scoreboard-teams to vanilla
...
The primary environmental factor which caused this feature to be implemented
is no longer much of a factor within the community
2024-05-02 09:53:43 +01:00
SoSeDiK
544ce20e01
Expose #hasColor to leather armor ( #10638 )
2024-05-01 19:14:42 +02:00
Nassim Jahnke
310b47bb96
Update Java version references, add note on var usages
2024-05-01 18:44:39 +02:00
Andrew Teeter
b8c454c2ba
Add damage check for mending ( #10631 )
2024-05-01 12:01:48 +02:00
SoSeDiK
4cfd9e25fa
Expose canReach to mob pathfinding API ( #10636 )
2024-05-01 12:00:11 +02:00
Jake Potrebic
fa6013d83b
Fixes beds not exploding in the nether
...
Also correctly marks the captured BlockState as "unplaced"
Fixes #10629
2024-04-30 16:42:43 -07:00
Nassim Jahnke
937a67a651
Add initial size cap to component map
2024-04-30 11:14:35 +02:00
Jason Penilla
3fdd0948b7
Fix sealed package check in BytecodeModifyingURLClassLoader ( #10627 )
2024-04-30 01:21:16 -07:00
Jake Potrebic
25e44bc63b
fix dumpitem command nbt format
...
use the snbt visitor instead of plain string
2024-04-29 18:49:19 -07:00
Jake Potrebic
812ccb96a4
fix spawnChunkRadius gamerule resetting
...
Fixes #10622
2024-04-29 15:22:29 -07:00
Noah van der Aa
44ee092878
1.20.6 ( #10623 )
2024-04-30 00:16:07 +02:00
Bjarne Koll
8f7ac62905
Validate manifest provided mapping namespace ( #10612 )
...
With plugins adopting paperweights mapping namespaces in their manifest
file in and after paper 1.20.5, incorrectly spelled namespaces
previously were simply implied as the spigot namespace.
This commit properly ensures plugin authors are using a known mapping
namespace in their manifest, avoiding down the line confusion on
incorrect remapping behaviour.
The commit also fixes two incorrect log parameters.
2024-04-28 20:43:50 -07:00
Jake Potrebic
f9397e108e
Fix incorrect Commodore mapping of sweeping enchant
2024-04-28 17:25:21 -07:00
Jake Potrebic
69a971a35c
Reset component prototype on itemtype change
2024-04-28 17:13:30 -07:00
Jason Penilla
05308fc299
Remap plugin libraries with namespace set to spigot ( #10610 )
...
* Remap plugin libraries with namespace set to spigot
* Remap plugin libraries with namespace set to spigot
2024-04-28 14:55:10 -07:00
Jason Penilla
7f2d5315fd
Rewrite reflection in library loader jars ( #10608 )
...
* Rewrite reflection in library loader jars
* Address todos
2024-04-28 13:14:10 -07:00
Jake Potrebic
61c9c07e95
Fix CraftMetaBlockState adding extra tags
2024-04-28 12:34:16 -07:00
Shane Freeder
52ff3b7382
Add itemName components ( Resolves #10467 ) ( #10471 )
...
* Add itemName components (Resolves ##10467)
* improve javadocs and formatting
* rebased
---------
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-04-28 10:08:59 -07:00
Jake Potrebic
0f4d328fc1
final missing validation for data components
2024-04-28 09:46:33 -07:00
Nassim Jahnke
aed7dcab98
Fix overly strong name validation in player heads
...
Closes #10477
2024-04-28 18:25:32 +02:00
Jake Potrebic
4491ac05d1
respect hard list size limits in ItemMeta
2024-04-28 09:06:14 -07:00
Nassim Jahnke
9d6e7e3df0
Don't hard fail on plugin remap error
...
Closes #10474
2024-04-28 17:25:44 +02:00
Jake Potrebic
c4a1cd137a
Fix issue with empty lists in adventure predicates
...
Fixes #10473
2024-04-28 08:22:16 -07:00
Shane Freeder
37b3891032
Fix another missing book meta tag
2024-04-28 13:48:20 +01:00
Shane Freeder
6e31f385e3
Fix book meta lacking resolved tag from older versions ( Fixes #10470 )
2024-04-28 13:22:54 +01:00
Nassim Jahnke
1a03cc9b60
Fix test compilation
2024-04-28 14:20:52 +02:00
Jake Potrebic
306b203c2d
more fixes for ItemMeta relating to components
2024-04-27 22:27:51 -07:00
Jake Potrebic
e16263c39f
Fix firework meta NPE
...
Fixes #10466
2024-04-27 20:57:42 -07:00
caramel
a3c4dc95e3
Fix the incorrect codec usage in the Style convert ( #10465 )
2024-04-27 20:32:11 -07:00
Jason Penilla
f187fd696a
Only scan org.bukkit.craftbukkit.inventory
in MetaHandledTagsTest
...
fixes tests OOMing
2024-04-27 18:25:15 -07:00
Jake Potrebic
d93c6f91f7
remove calls to DoNotUse methods
2024-04-27 18:18:20 -07:00
Jake Potrebic
3e90a19183
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
d964c15e15
fix last test issue
2024-04-27 17:45:37 -07:00
Jake Potrebic
8ce62b3492
Fix issue with hopppers
...
Fixes #10464
2024-04-27 17:33:25 -07:00
Jake Potrebic
4ad6022ee3
improve checking handled tags in itemmeta ( #9470 )
2024-04-27 17:33:17 -07:00
Jason Penilla
83767f9544
Use JetBrains runtime for run tasks
...
allows for better runtime class redefinition
closes #10459
2024-04-27 17:28:40 -07:00
Jake Potrebic
d02bb811de
proper migration to gamerules for keep spawn loaded distance
2024-04-27 15:50:38 -07:00
Nassim Jahnke
dd571d89f2
Fix bad diff in build gradle file
2024-04-28 00:43:17 +02:00
Jake Potrebic
a771940776
Revert to vanilla handling of LivingEntity#actuallyHurt ( #10463 )
2024-04-27 14:35:53 -07:00
Jake Potrebic
b3ea907b77
more ItemFlag fixes
2024-04-27 14:32:34 -07:00
Jason Penilla
20af7a753c
remove funny diff
2024-04-27 14:11:35 -07:00
Jason Penilla
a390119b04
Move cb version definition to gradle patch
2024-04-27 14:02:33 -07:00
Jason Penilla
b7e148a107
Move obfhelper/stack deobf diff into original patch
2024-04-27 13:54:09 -07:00
Lulu13022002
af97400701
update generator
2024-04-27 22:32:16 +02:00
Jason Penilla
711dbd74ea
Bump adventure ansi serializer
2024-04-27 13:31:37 -07:00
Jason Penilla
e2552eea24
Start cleaning up plugin remapping patches
2024-04-27 13:27:01 -07:00
Lulu13022002
0b1b1fe067
fix helmet damage reduction inconsistencies
...
See: https://github.com/PaperMC/Paper/issues/9555#issuecomment-1681120506
2024-04-27 21:56:29 +02:00
Lulu13022002
55b1a8740d
fix PotionEffectType#getEffectAttributes
2024-04-27 21:48:14 +02:00
Spottedleaf
f933c35700
Update DataConverter to 1.20.6-rc1
...
Fixes trader llama inventory incorrectly converting
2024-04-27 12:41:47 -07:00
Jake Potrebic
c82766d436
fix item flags
2024-04-27 12:18:01 -07:00
Jason Penilla
f037f08035
Unify plugin remapping debug flags
2024-04-27 11:41:56 -07:00
Shane Freeder
5731f346e2
Restore Handle Large Packets Disconnecting Client Patch
2024-04-27 15:06:52 +01:00
Jake Potrebic
f85d423535
improve dumpitem and pgive commands
2024-04-26 23:57:49 -07:00
Jake Potrebic
91b5de66bf
bunch of fixes and improvements
2024-04-26 23:17:58 -07:00
Jake Potrebic
81f4405e26
add back hunk to async SavedData IO
2024-04-26 19:33:30 -07:00
Jake Potrebic
9bac3894e1
more fixes
2024-04-26 19:09:42 -07:00
Jake Potrebic
68e23db25d
add back missing call to profile fill events
2024-04-26 18:41:54 -07:00
Jake Potrebic
80bd01527f
fix adventure converters not using RegistryOps
2024-04-26 18:16:31 -07:00
Jake Potrebic
2f19f0fb7b
fix enchantment order issue
2024-04-26 18:06:41 -07:00
Jake Potrebic
f1fc1b30be
readd old UUID format patch
2024-04-26 17:41:36 -07:00
Jake Potrebic
c38f96b0e5
deprecate our ItemRarity API
2024-04-26 17:00:40 -07:00
Jake Potrebic
464cc81633
fix custom potion mixes
2024-04-26 16:17:14 -07:00
Jake Potrebic
4c53acedce
fix exact choice recipes
2024-04-26 15:25:20 -07:00
Jake Potrebic
882ea0a430
fix adventure translations
2024-04-26 15:08:39 -07:00
Jason Penilla
e856d17ec5
Update paper plugin check in PluginRemapper
2024-04-26 14:31:53 -07:00
Jake Potrebic
19ac9d43ce
remove no longer needed patches and fix tests
2024-04-26 14:29:21 -07:00
Jason Penilla
1bc278b125
Update patched spigot decompiler to fix inconsistency based on processing order
2024-04-26 11:45:56 -07:00
Jake Potrebic
44e68c301a
fix some more issues
2024-04-26 11:39:20 -07:00
Jake Potrebic
cc81668863
fix some issues on the todo list
2024-04-26 09:22:55 -07:00
Jake Potrebic
f6fae41cdf
fix chat_type issue
2024-04-26 08:33:00 -07:00
Owen1212055
00dac83d67
Drop old decompile fix
2024-04-26 08:39:10 -04:00
Nassim Jahnke
8b28f9f564
Fix accumulated total ticking chunks not being updated
2024-04-26 11:55:56 +02:00
Nassim Jahnke
478a971a7b
Fix light setting in protochunk
2024-04-26 11:18:15 +02:00
Nassim Jahnke
813cfbf2b0
Fix compile issues
2024-04-26 10:45:00 +02:00
Jake Potrebic
7e9da43b33
support patch versions in api-version
2024-04-25 23:29:16 -07:00
Jason Penilla
2997fd6459
plugin manager updates
2024-04-25 23:18:04 -07:00
Jake Potrebic
43d110e9a9
fix issue with item default attribute API
2024-04-25 23:10:38 -07:00
Jake Potrebic
bcdf1f96b8
fixup loom pattern select event patch
2024-04-25 22:44:49 -07:00
Jason Penilla
c5c2a5fe13
hunk system fixes
2024-04-25 22:25:02 -07:00
Jason Penilla
62b96c520f
compile fixes
2024-04-25 21:58:13 -07:00
Jason Penilla
867eb9054b
compile fixes
2024-04-25 20:15:07 -07:00
Jason Penilla
7c6411b930
compile fixes
2024-04-25 19:54:07 -07:00
Jake Potrebic
31ad90b018
some more compile fixes
2024-04-25 18:51:31 -07:00
Jake Potrebic
10e6143499
fixup adventure's book meta handling
2024-04-25 17:46:17 -07:00
Jake Potrebic
e85e1ec4a6
fixup sus effect entry patches
2024-04-25 17:10:12 -07:00
Jake Potrebic
3062eb208d
address my own comments
2024-04-25 16:24:08 -07:00
Nassim Jahnke
68aea43526
Fixup damage source change
2024-04-25 23:28:56 +02:00