Commit Graph

4287 Commits

Author SHA1 Message Date
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
Nassim Jahnke
f914d57678
Small cleanup 2024-10-28 11:23:27 +01:00
EnZaXD
c13b40a373
Add ParticleRewriter base (#4203)
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
2024-10-28 11:23:02 +01:00
Nassim Jahnke
d60a37f7e6
Flatten some PacketHandlers in rewriters 2024-10-27 23:07:13 +01:00
Nassim Jahnke
3caaed00dc
Write enabled features as string array 2024-10-27 16:02:37 +01:00
Nassim Jahnke
f56bfbebb5
Update some deps 2024-10-27 14:59:46 +01:00
EnZaXD
3eec520ebd
Send enable features packet after the play login packet in 1.19.1->1.19.3 (#4205) 2024-10-27 08:42:03 +01:00
Nassim Jahnke
df69f1f344
Fix InformativeException value shuffling 2024-10-26 18:55:32 +02:00
EnZaXD
009b6c810c
Fix and add missing javadocs in MappingData interface (#4202) 2024-10-26 18:55:08 +02:00
EnZaXD
65b76d53ef
Fix MappingDataBase#getOldBlockId implementation (#4201) 2024-10-26 17:24:34 +02:00
Nassim Jahnke
7be7139241
Handle entity type changes in show_entity hover events
Fixes #4199
2024-10-25 20:45:42 +02:00
Nassim Jahnke
9bc943ea67
Bump version to 5.1.1-SNAPSHOT 2024-10-25 20:34:55 +02:00
Nassim Jahnke
f880adced2
5.1.0 Release 2024-10-25 09:24:29 +02:00
Nassim Jahnke
fc07601f24
Fix glow squid index shift 2024-10-24 16:55:24 +02:00
Nassim Jahnke
ecb241c187
Exclude error prone annotations
Recently added to gson, can be safely excluded
2024-10-24 12:50:36 +02:00
Nassim Jahnke
46040b1f5d
Mark fallback return value in getProtocol as unknown 2024-10-23 17:04:54 +02:00
FlorianMichael
54daa11ce4
Fix ProtocolVersion#isKnown javadoc to make difference with isRegistered more clear 2024-10-23 17:02:45 +02:00
RaphiMC
c556420870
Add option to construct ChunkSectionLightImpl without block light 2024-10-23 16:42:21 +02:00
FlorianMichael
84d928ebe7 Update version ranges in gradle.properties 2024-10-23 16:25:52 +02:00
FlorianMichael
fa6eab5cc3 1.21.3 2024-10-23 15:42:16 +02:00
FlorianMichael
94b26a903c Check for suppress conversion warnings option in ComponentUtil functions 2024-10-22 22:31:17 +02:00
Nassim Jahnke
c242456c30
Remove snapshot version 2024-10-22 17:02:14 +02:00
Nassim Jahnke
8391e9d924
Fix consumable writing 2024-10-22 13:23:06 +02:00
RK_01
f5aac9b1ab
Convert all data from food component (#13) 2024-10-22 13:21:44 +02:00
RK_01
a6850392e1
Add failsafe handling to ACCEPT_TELEPORTATION packet order fix (#12) 2024-10-22 13:03:43 +02:00
RK_01
2b37178482
Fix ACCEPT_TELEPORTATION packet order (#11) 2024-10-22 11:13:45 +02:00