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
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
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
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
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
Nassim Jahnke
7be7139241
Handle entity type changes in show_entity hover events
...
Fixes #4199
2024-10-25 20:45:42 +02:00
Nassim Jahnke
fc07601f24
Fix glow squid index shift
2024-10-24 16:55:24 +02:00
FlorianMichael
94b26a903c
Check for suppress conversion warnings option in ComponentUtil functions
2024-10-22 22:31:17 +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
FlorianMichael
c2d2c6d067
Explain SerializerVersion terminology
2024-10-19 14:50:09 +02:00
FlorianMichael
4066a7b5b6
Mark serializer versions in ComponentRewriter as nullable
2024-10-19 14:43:43 +02:00
Nassim Jahnke
4a7624fef4
Update profile actions enum type
2024-10-19 13:18:14 +02:00
EnZaXD
e38b3f3824
Add new PROFILE_ACTIONS_ENUM type in Types for 1.21.2+
2024-10-19 11:45:51 +02:00
Nassim Jahnke
6fd421d36e
Fix finish configuration state change
2024-10-15 15:08:36 +02:00
Nassim Jahnke
84bd1d0782
Use recipe inputs from old recipe packet
2024-10-15 15:08:36 +02:00
Nassim Jahnke
cff2303c62
1.21.2-pre3
2024-10-15 15:08:36 +02:00
Nassim Jahnke
f5733c2cb8
They fixed the typo
2024-10-15 15:08:36 +02:00
RK_01
093acc519e
Fix CONTAINER_SET_SLOT translation ( #9 )
2024-10-15 15:08:35 +02:00
RK_01
886be3161e
Fix EXPLODE knockback check and affected blocks ( #8 )
2024-10-15 15:08:35 +02:00
RK_01
dc7b708556
Fix PLAYER_POSITION delta movement ( #7 )
2024-10-15 15:08:35 +02:00
Nassim Jahnke
e82f28c1ac
Rewrite particles
2024-10-15 15:08:35 +02:00
Nassim Jahnke
7c7239a70d
1.21.2-pre1
2024-10-15 15:08:35 +02:00
Nassim Jahnke
3e3dad9e33
Show notification on recipe add
2024-10-15 15:08:35 +02:00
Nassim Jahnke
4871977681
Fix recipe removal array index
2024-10-15 15:08:34 +02:00
Nassim Jahnke
0a56e57aec
Send stonecutter recipes
2024-10-15 15:08:34 +02:00
Nassim Jahnke
a6ff477b8a
Implement clientbound ghost recipe, fix null recipe groups
2024-10-15 15:08:34 +02:00
Nassim Jahnke
ddad0384f3
Make recipes mostly work again
2024-10-15 15:08:34 +02:00
Nassim Jahnke
aabe47f8bc
Start working on recipe rewriting
2024-10-15 15:08:34 +02:00
Nassim Jahnke
354a5f1b75
Update packet id comments
2024-10-15 15:08:34 +02:00
Nassim Jahnke
f58afd434d
WIP 24w40a
2024-10-15 15:08:34 +02:00
Nassim Jahnke
57d5652cd5
Remove SetWrapper, moved to addon
2024-10-15 15:08:33 +02:00
Nassim Jahnke
25b521dfcf
Rewrite lock nbt
2024-10-15 15:08:33 +02:00
Nassim Jahnke
ce655d0679
Use absolute day time value
2024-10-15 15:08:33 +02:00
Nassim Jahnke
e4e8297a82
24w39a
2024-10-15 15:08:33 +02:00
Nassim Jahnke
8357fd01aa
Update attributes in item hover events
2024-10-15 15:08:33 +02:00
Nassim Jahnke
12b420d3e7
Send instrument registry, handle duration change from ticks to seconds
2024-10-15 15:08:33 +02:00
Nassim Jahnke
db20bc0ae4
24w38a
2024-10-15 15:08:33 +02:00
Nassim Jahnke
2a2afa3821
Register component rewriter
2024-10-15 15:08:32 +02:00
Nassim Jahnke
f0b2d9aafe
24w37a
2024-10-15 15:08:32 +02:00
Nassim Jahnke
cd427a2a39
Don't use -1 to indicate no vehicle
2024-10-15 15:08:32 +02:00
Nassim Jahnke
75537d3f85
Cancel player input if not in a vehicle, fix shift/sprint input
2024-10-15 15:08:32 +02:00
Nassim Jahnke
a88e2f3fb5
Set impulse to 0.98 instead of 1 as per vanilla value
2024-10-15 15:08:32 +02:00
Nassim Jahnke
8a41e7add6
Remove new item data from serverbound items
2024-10-15 15:08:32 +02:00
Nassim Jahnke
9c35228287
24w36a
2024-10-15 15:08:32 +02:00
Nassim Jahnke
22d396d909
Add item hover event handling
2024-10-15 15:08:31 +02:00
Nassim Jahnke
39b28e21ca
24w35a, including missed change from 33a
2024-10-15 15:08:31 +02:00
Nassim Jahnke
0488cb7fbe
Fix item type in 1.21.2 entity data
2024-10-15 15:08:31 +02:00
Nassim Jahnke
ec4aa0637e
24w34a
2024-10-15 15:08:31 +02:00
Nassim Jahnke
ffc5584b1c
Null check component rewriter
2024-10-15 15:08:31 +02:00
Nassim Jahnke
45c6cfedb0
Update mappings
2024-10-15 15:08:30 +02:00
Nassim Jahnke
c150e50636
Store attribute mappings in full
2024-10-15 15:08:30 +02:00
Nassim Jahnke
1d18f2e45e
Fix container id conversion and itemrewriter explosion method
2024-10-15 15:08:20 +02:00
Nassim Jahnke
e46b38e58a
Remove outdated todos
2024-10-15 15:08:20 +02:00
Nassim Jahnke
033741d292
WIP 24w33a
2024-10-15 15:08:20 +02:00
Nassim Jahnke
5be41ed3e9
Use stripped key in tag getting
...
Fixes #4182
2024-10-14 21:35:10 +02:00
Nassim Jahnke
50084c112d
Fix tag related issues to prepare for 1.21.2
...
- Inline tag values in 1.21 enchantments
- Fix TagRewriter addTags if the server doesn't send values for a registry
- Send the tags packet in 1.12->1.13 before the play login packet to fix tracking in 1.20->1.20.2
2024-10-14 17:16:01 +02:00
EnZaXD
81682f4921
Change description of dump sub command to be more generic ( #4180 )
2024-10-13 10:33:58 +02:00
Nassim Jahnke
1c339e8b54
Null check input serializer version
...
Fixes ViaVersion/ViaBackwards#896
2024-10-11 19:37:35 +02:00
EnZaXD
1a9cda0579
Handle WRITTEN_BOOK_CONTENT component in rewriters as well ( #4175 )
...
Closes https://github.com/ViaVersion/ViaVersion/issues/4144
2024-10-10 22:42:21 +02:00
EnZaXD
6ad9a71907
Print book conversion errors to default logger in 1.20.2->1.20.3 ( #4158 )
2024-10-10 22:37:21 +02:00
EnZaXD
0b5fa37f96
Put title directly into component in 1.8->1.9 bossbar emulation ( #4173 )
...
The JsonParser#parseString detection in CommonBoss will detect " " as valid json (JsonNull) and won't wrap it around ComponentUtil#plainToJson like it should, at some point in the future I would like CommonBoss to only accept a JsonElement instance and not raw strings anymore.
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/494
2024-10-10 12:25:27 +02:00
EnZaXD
dab32bafa1
Write correct on ground state in 1.20.5->1.21 placement rotation fix ( #4170 )
2024-10-09 16:37:30 +02:00
Nassim Jahnke
9e5c541f79
Disable placement rotation fix for now
...
Closes #4168
2024-10-07 21:43:20 +02:00
EnZaXD
9674c617ca
Add option to fix wrong block placement rotation in 1.20.5->1.21 ( #4166 )
2024-10-06 15:19:05 +02:00
EnZaXD
9df1704357
Fix holder set direct id conversion in 1.20.3->1.20.5 component rewriter ( #4164 )
2024-10-05 21:34:34 +02:00
Nassim Jahnke
c358c39027
Make clearer distinction between filled and empty data component patch, simplify direct value getting
2024-09-29 13:34:32 +02:00
Nassim Jahnke
619eecacf8
Don't add block entity tag if the id is missing
2024-09-26 12:16:06 +02:00
EnZaXD
5287d4fb4f
Fix enchantment glint behaviour in 1.10->1.11 ( #4156 )
2024-09-23 19:24:46 +02:00
EnZaXD
27033e9096
Remove transaction tracking (and cancelling) in 1.16.4->1.17 ( #4140 )
2024-09-15 21:52:32 +02:00
EnZaXD
e436bbe375
Refactor dimension switch handling across all protocols ( #4146 )
2024-09-15 21:51:29 +02:00
EnZaXD
050a1dbacb
Fix set equipment body slot in 1.20.3->.5 if value is not the last ( #4149 )
2024-09-15 19:14:42 +02:00
EnZaXD
7235485802
Cleanup enchantment conversion in 1.12->1.13 to match vanilla ( #4147 )
...
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/560
2024-09-14 21:33:18 +02:00
EnZaXD
fcb472347e
Add EntityTrackerBase#hasClientEntityId and don't use -1 as not set indicator ( #4143 )
2024-09-14 10:45:19 +02:00
EnZaXD
e0ce8cc715
Make EntityTrackerBase#clearEntities call removeEntity for all entries ( #4142 )
2024-09-12 22:09:52 +02:00
EnZaXD
ebc0e61be8
Fix invalid book view not visible in 1.20.3->.5 ( #4139 )
2024-09-07 10:45:10 +02:00
EnZaXD
d0b49009e5
Rewrite display name component in player info packet in 1.20.3->.5 ( #4136 )
2024-09-04 20:27:38 +02:00
Nassim Jahnke
6555bcda74
Small cleanup to mapping file loading
2024-09-02 23:21:29 +02:00
Nassim Jahnke
e537dbb024
Clean up StructuredItemRewriter, also handle sound events
2024-08-30 19:10:43 +02:00
Nassim Jahnke
f92dbb655d
Also cache missing protocol paths, don't reverse base protocols
2024-08-30 11:19:32 +02:00