EnZaXD
1b03e24160
Move VV specific item handling out of component<->nbt conversion in 1.20.3->1.20.5 ( #4094 )
...
The current code backups the tag in CUSTOM_DATA inside the toStructuredItem function which in VB is used for to server packets which causes bad data, this PR moves the backup logic out to the VV specific handler and also prevents toOldItem logic for using the backup to ever get executed in VB. The counterpart PR will add proper handling for CUSTOM_DATA.
Fixes https://github.com/ViaVersion/ViaVersion/issues/4092
2024-08-14 09:31:27 +02:00
Nassim Jahnke
fcd91bb855
Add item cost and particle types to item rewriter
2024-08-13 12:45:36 +02:00
Nassim Jahnke
bda4ea9fd0
[ci skip] Move template protocol into common module
...
Had to move the rewriter classes into the flattened package to make them package private, but this is nicer than having a separate module just for those
2024-08-13 10:24:20 +02:00
FlorianMichael
cbd26ce9d9
[ci skip] Link to our new website instead
2024-08-13 10:14:22 +02:00
Nassim Jahnke
8d53f4aa5a
Update mcstructs
2024-08-13 09:59:59 +02:00
EnZaXD
1438f1f68d
[ci skip] Update README.md ( #4088 )
2024-08-11 11:33:12 +02:00
RK_01
61fcf6f895
Update 1.21 version range ( #4082 )
2024-08-08 17:27:38 +02:00
Nassim Jahnke
736834441d
[ci skip] Update shadow
2024-08-08 10:55:56 +02:00
Nassim Jahnke
3f5417be97
5.0.3 Release
2024-08-07 17:56:01 +02:00
Nassim Jahnke
cc1c88001f
Hotfix item id changes in item hover events
2024-08-07 17:36:42 +02:00
Nassim Jahnke
274f98c24e
Fix double remapping of area effect cloud particle in 1.20.2->.3
...
Fixes #4042
2024-08-07 15:37:14 +02:00
Kichura
f39b466ac0
Update Ubuntu, Change wrapper-validation in publish. ( #4081 )
2024-08-07 15:27:03 +02:00
EnZaXD
aa22ca1d56
Handle pitch/yaw->data item frame rotation change in 1.16.4->1.17 ( #4064 )
...
See https://github.com/ViaVersion/ViaBackwards/pull/848
2024-08-07 13:02:51 +02:00
Nassim Jahnke
802e868b2e
Track sent armor trim registries in 1.20.3->1.20.5
2024-08-07 12:36:51 +02:00
Nassim Jahnke
02442a9775
Only resend attribute modifiers when necessary
...
Fixes #3973
2024-08-07 11:59:13 +02:00
EnZaXD
5349de91c5
Rename CI workflow and update gradle wrapper validation ( #4079 )
2024-08-07 11:32:16 +02:00
Nassim Jahnke
a8ef3c890a
Only add dummy enchantment once
2024-08-06 15:21:18 +02:00
EnZaXD
b556e6528a
Rename remaining packages in bukkit modules to new format ( #4074 )
2024-08-05 09:48:01 +02:00
EnZaXD
434b32cad8
Fix typo in ViaManagerImpl#destroy log message ( #4073 )
2024-08-05 09:30:48 +02:00
EnZaXD
60b3ba6bb7
Include snakeyaml into final jar, delete compat layers ( #4070 )
...
Snakeyaml is an untypical library which most Via platforms don't have and also broke in the past with V2, having it directly in the jar like Gson cleans up the build scripts massively, reduces the build time and also doesn't break in the future if they release V3 or any other breaking changes.
2024-08-05 09:30:34 +02:00
EnZaXD
864beef341
Regenerate toString() functions and remove them from protocol internals ( #4072 )
2024-08-05 09:09:34 +02:00
EnZaXD
7b21df2c12
Use GH repository description in platforms ( #4071 )
2024-08-05 09:09:09 +02:00
Nassim Jahnke
462a10363c
Only print reload info when needed, add additional log message after shutdown
...
Thanks to its name and dependency order, ViaVersion will generally be the last plugin to be disabled and has occasionally been blamed for other plugins stalling server shutdown
2024-08-03 20:35:22 +02:00
EnZaXD
040f85659d
Fix enchantment emulation in 1.20.5->1.21 on non Paper servers ( #4060 )
2024-08-02 11:05:17 +02:00
Nassim Jahnke
48d5aaf8fa
5.0.2 Release
2024-07-28 14:37:59 +02:00
EnZaXD
41b0d95d70
Fix horse/llama's armor/carpet not visible in 1.20.3->1.20.5 ( #4052 )
2024-07-27 20:26:53 +02:00
EnZaXD
b599399c48
Cleanup 1.20->1.20.2 item and recipe rewriter ( #4050 )
2024-07-27 19:53:59 +02:00
EnZaXD
721e27eb39
Rewrite show_item in translation components in 1.11.1->1.12 ( #4053 )
...
Fixes https://github.com/ViaVersion/ViaVersion/issues/4051
2024-07-27 19:53:44 +02:00
EnZaXD
c9d6fbfcd0
Add VersionProvider#getServerProtocol ( #4049 )
...
Most platforms won't ever throw an error and usually ViaVersion shouldn't even load when the server version can't be found. Therefore, I added this bouncer function, so I don't need to try catch my code in ViaLoader/VFP where an exception is never thrown
2024-07-27 19:53:33 +02:00
RK_01
b1f64fd081
Use enhanced switches in more places ( #4043 )
2024-07-24 14:32:36 +02:00
EnZaXD
2b508567db
Move damage types 1.20.3 into nbt file ( #4026 )
2024-07-24 13:13:36 +02:00
EnZaXD
24d0ae7607
Add ViaManager#addPostEnableListener ( #4038 )
2024-07-22 18:24:06 +02:00
EnZaXD
40a44d5dc5
Remove version type from dump ( #4036 )
2024-07-22 17:45:21 +02:00
EnZaXD
b5a06181d4
Fix item projectile hierarchy in 1.14+ ( #4034 )
2024-07-22 17:44:07 +02:00
EnZaXD
35fa7e78a0
Handle attribute_modifiers inside container components in 1.21->1.20.5 ( #4035 )
...
Closes https://github.com/ViaVersion/ViaVersion/issues/3968
2024-07-22 17:42:25 +02:00
EnZaXD
7f4faab4ab
Add 1.21 to the version table ( #4037 )
2024-07-22 17:40:37 +02:00
EnZaXD
3906b47654
Apply required changes for ViaAprilFools ( #4033 )
...
1. Allow the version provider to get the client version sent through the handshake packet
2. Allow platform to override provider instead
2024-07-21 17:45:13 +02:00
Nassim Jahnke
1476adb281
Slightly improve logging on config loading errors
2024-07-21 12:12:06 +02:00
EnZaXD
6fb072120b
Removes VFP as well and recommends ViaBackwards/ViaRewind on both platforms ( #4032 )
2024-07-21 09:43:40 +02:00
EnZaXD
f2f0be0581
Allow base protocols to set client version ( #4029 )
2024-07-20 09:15:15 +02:00
EnZaXD
5ec30ef18a
Expose origin version in RedirectProtocolVersion ( #4030 )
2024-07-20 09:12:44 +02:00
Nassim Jahnke
0915afe43b
Handle 1.21 attribute id changes
...
Fixes #4005
2024-07-19 11:26:28 +02:00
EnZaXD
87b041bf3a
Fix block predicate conversion in 1.20.3->1.20.5 ( #4025 )
2024-07-19 11:00:00 +02:00
EnZaXD
275b09bdbb
Use SerializerVersion#toTag when converting 1.20.5->1.20.3 block predicates ( #4024 )
2024-07-19 10:54:40 +02:00
Nassim Jahnke
cc87c02020
Add shulker box block entity id if missing
2024-07-17 18:48:07 +02:00
EnZaXD
a45985ed58
Validate index when reading structured data type ( #4020 )
2024-07-16 09:59:33 +02:00
Nassim Jahnke
92dedfb950
Update Gradle wrapper
2024-07-14 21:31:38 +02:00
RK_01
6bbcf7d784
Fix respawn "keep data" translation ( #4015 )
2024-07-13 11:00:12 +02:00
EnZaXD
465a2354c0
Call component rewriter in pre 1.20.3 advancement handler ( #4014 )
...
Required for ViaBackwards where we need to rewrite the translation key (and it also doesn't hurt to have this in forward protocols).
Closes https://github.com/ViaVersion/ViaBackwards/issues/819
2024-07-13 11:00:00 +02:00
EnZaXD
c59c15d6f3
[ci skip] Fix player combat packet value comments ( #4013 )
2024-07-13 10:59:47 +02:00