github-actions[bot]
b5eb568515
Update Gradle Wrapper from 8.11 to 8.11.1 ( #4279 )
...
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2024-11-24 02:09:07 +01:00
EnZaXD
7897fca5be
Add config option for 1.20.4->1.20.5 sword blocking fix ( #4276 )
2024-11-21 19:26:25 +01:00
EnZaXD
3ba86741f9
Send default entity data for items in 1.10->1.11 ( #4265 )
2024-11-18 15:05:25 +01:00
Nassim Jahnke
5515011644
Address Gradle deprecation warnings
2024-11-17 13:43:10 +01:00
DavyCraft648
f59e2a2de4
Fix Equippable allowed entities reading ( #4267 )
2024-11-17 12:21:02 +01:00
github-actions[bot]
88c103c0a5
Update Gradle Wrapper from 8.10.2 to 8.11 ( #4266 )
...
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2024-11-17 12:19:47 +01:00
Nassim Jahnke
5772ee4a93
Only send tags early for 1.20.5+ clients, track early send properly in 1.20->1.20.2
2024-11-17 11:47:33 +01:00
Nassim Jahnke
c525575d37
Revert hard limit in 1.17 book size check
2024-11-11 14:54:38 +01:00
Nassim Jahnke
b8a170873d
Add more info to missing light data warning
2024-11-11 14:38:10 +01:00
Nassim Jahnke
04e936d487
Some more pre-sizing
2024-11-11 14:33:29 +01:00
EnZaXD
6553fc9ae9
Only print invalid custom payload channel warnings in debug mode ( #4257 )
...
We previously had people complaining about this being an error and not understanding what it means + servers can't do anything about these errors anyway.
2024-11-10 21:45:06 +01:00
EnZaXD
ddbe8ef0fb
Apply page network limit when converting book pages in 1.17->1.17.1 ( #4256 )
2024-11-10 21:44:10 +01:00
EnZaXD
8e4da81022
Move config option check for placement fix into packet handlers ( #4248 )
...
Fixes the config option breaking when using the reload command, also changes the message when using the /reload sub command.
2024-11-06 15:46:11 +01:00
Pro
1620fc35f5
Change "fix-1_21-placement-rotation" to true by default ( #4245 )
2024-11-06 15:32:15 +01:00
Nassim Jahnke
e878d77959
Trim override materials are string to string
2024-11-06 10:42:18 +01:00
Nassim Jahnke
deab6a0cac
Don't allocate bufs in 1.18/1.20 chunk types
...
Unlike Mojang, we don't sneak a byte array of data outside of the actual packet reading, so there's no reason to not just use the original buffer.
Slicing doesn't allocate anything while also setting the reader index correctly, as also used in the previous types
2024-11-05 13:43:54 +01:00
Nassim Jahnke
77f0826ec8
Skip extra buf copying entirely if wrapper had no changes
2024-11-04 22:55:40 +01:00
Nassim Jahnke
76db43cab3
Don't copy full transformed buf during every transform
...
The resulting modified buf is the exact same as before
2024-11-04 22:12:39 +01:00
Nassim Jahnke
f0eab71644
Pre-size most allocated byte buffers
...
Also avoids the default allocation size of 256 bytes for bufs that are much smaller than that
2024-11-04 21:27:09 +01:00
Nassim Jahnke
e9985adafc
Update mcstructs
2024-11-04 20:34:03 +01:00
Nassim Jahnke
157a1fe249
Small cleanup here and there
2024-11-03 17:12:29 +01:00
Nassim Jahnke
d48d0a21db
Prettify error messages
2024-11-02 23:13:56 +01:00
Nassim Jahnke
908078becb
Bump version to 5.1.2-SNAPSHOT
2024-11-02 22:52:47 +01:00
Nassim Jahnke
d0815baac7
5.1.1 Release
2024-11-01 19:00:29 +01:00
EnZaXD
bc6ad16d40
Properly remove custom_data component if we created it in 1.20.5+ protocols ( #4229 )
2024-11-01 18:50:54 +01:00
EnZaXD
33aecef7b3
Handle custom name in block entities in 1.12->1.13 ( #4232 )
...
Fixes https://github.com/ViaVersion/ViaFabricPlus/issues/592
2024-11-01 18:18:31 +01:00
Nassim Jahnke
b7d37b16ae
Correctly convert lock code to json instead
...
The normal codec doesn't serialize components to nbt, but to json strings in a string tag...
2024-10-31 20:01:36 +01:00
FlorianMichael
2b840abfef
Check if blank, not empty
2024-10-31 19:31:34 +01:00
Valaphee The Meerkat
bc4ad7faa3
Remove empty lock item components in 1.21->1.21.2 ( #4228 )
...
* Fix protocol error when an empty lock is sent
* Cleanup code
---------
Co-authored-by: FlorianMichael <florian.michael07@gmail.com>
2024-10-31 19:27:49 +01:00
EnZaXD
f08a412db5
Drop idle packets where only horizontal collision changed in 1.21->1.21.2 ( #4220 )
2024-10-31 10:22:57 +01:00
Nassim Jahnke
dcf050a604
Remove unneeded optional item type from Types1_21_2
...
Was only used in food properties up until 1.21.2 (luckily)
2024-10-31 09:57:04 +01:00
Nassim Jahnke
1f8d1339f5
Fix painting entity data in 1.21->1.21.2
...
Fixes #4227
2024-10-31 09:38:24 +01:00
Nassim Jahnke
5278f8ba65
Remove enchantments with level 0 in 1.21->1.21.2
2024-10-30 21:40:15 +01:00
RK_01
8fdae33333
Add auto start option to runViaProxy task ( #4225 )
2024-10-30 20:48:31 +01:00
RK_01
4054e83ffe
Skip ViaProxy update check in runViaProxy gradle task ( #4224 )
2024-10-30 19:40:05 +01:00
RK_01
10f2cad8fd
Change the consume animation of swords to block ( #4223 )
2024-10-30 18:21:00 +01:00
Nassim Jahnke
74b9eb9f45
Fix boat entity type check
...
As per usual plugins sending data for untracked entities
Fixes #4222
2024-10-30 16:47:34 +01:00
EnZaXD
dde599c128
Fix boat colors not visible in 1.21->1.21.2 ( #4200 )
2024-10-30 10:42:27 +01:00
EnZaXD
af8cbaf439
Add item fixes to component rewriter in 1.21.x protocols as well ( #4217 )
...
Adds the rarity fix in 1.20.5->1.21 and the item/custom name fix in 1.21->1.21.2 to the component rewriters / chat items.
2024-10-30 10:31:45 +01:00
Nassim Jahnke
ad83d01fad
Creaking transient extends creaking
2024-10-30 10:18:18 +01:00
EnZaXD
7eb3632144
Fix written_book_content and potion_contents data to tag conversion ( #4218 )
2024-10-30 09:40:39 +01:00
EnZaXD
1ac668d9f2
Add URL of ViaProxy to runViaProxy task ( #4215 )
2024-10-30 09:39:15 +01:00
EnZaXD
f5033342c9
Use correct tag name for 1.21->1.21.2 item name fix ( #4214 )
2024-10-29 14:55:28 +01:00
RK_01
a0c0b7eff2
Add gradle task to quickly test/debug code changes ( #4211 )
2024-10-29 14:00:55 +01:00
Nassim Jahnke
7985b39ed5
Fix trail particle reading
2024-10-29 13:32:54 +01:00
Nassim Jahnke
f26e370a49
Handle 1.21.2 block_crumble particle
2024-10-29 13:15:40 +01:00
RK_01
cb0c301baf
Fix 1.21.1 -> 1.21.2 chunk loading edge case ( #4212 )
...
Will usually happen on 1.8 servers or older
2024-10-29 12:51:47 +01:00
RK_01
3858a83972
Small code cleanup ( #4213 )
2024-10-29 12:50:36 +01:00
EnZaXD
82ff0bae49
Fix item_name<->default name priority for items in 1.21->1.21.2 ( #4208 )
2024-10-29 11:56:23 +01:00
Nassim Jahnke
ee16d7af28
Fix two area effect cloud item particle issues
2024-10-28 12:10:36 +01:00