Commit Graph

4302 Commits

Author SHA1 Message Date
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
f9ec6b9d03
Split holder implementation 2024-10-15 15:08:31 +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
16e32a62e5
Bump version to 5.1.0-SNAPSHOT 2024-10-15 15:08:27 +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
7a3ef1e0b7
5.0.5 Release 2024-10-15 10:44:03 +02:00
Nassim Jahnke
5be41ed3e9
Use stripped key in tag getting
Fixes #4182
2024-10-14 21:35:10 +02:00
Nassim Jahnke
83e44641d0
5.0.4 Release 2024-10-14 17:24:05 +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
Nassim Jahnke
9f24576ba7
Update some dependencies 2024-10-10 21:21:54 +02:00
EnZaXD
8661bbc1fc
Update required ViaFabric version, don't require fabric-loader (#4174) 2024-10-10 12:26:32 +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
EnZaXD
c0821de2e2
Define as Sponge plugin for ViaSponge (#4163) 2024-10-02 10:41:59 +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
github-actions[bot]
451b3a2637
Update Gradle Wrapper from 8.10.1 to 8.10.2 (#4161)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2024-09-29 04:19:11 +02:00
Nassim Jahnke
619eecacf8
Don't add block entity tag if the id is missing 2024-09-26 12:16:06 +02:00
RK_01
6bae039d52
Update mcstructs (#4159) 2024-09-24 19:09:32 +02:00
dependabot[bot]
b321029886
Bump gradle-update/update-gradle-wrapper-action from 1 to 2 (#4157)
Bumps [gradle-update/update-gradle-wrapper-action](https://github.com/gradle-update/update-gradle-wrapper-action) from 1 to 2.
- [Release notes](https://github.com/gradle-update/update-gradle-wrapper-action/releases)
- [Changelog](https://github.com/gradle-update/update-gradle-wrapper-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gradle-update/update-gradle-wrapper-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: gradle-update/update-gradle-wrapper-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 19:44:27 +02:00
EnZaXD
5287d4fb4f
Fix enchantment glint behaviour in 1.10->1.11 (#4156) 2024-09-23 19:24:46 +02:00
EnZaXD
a0a2794291
Change player parent to living entity base in 1.9/1.12 entity enums (#4154) 2024-09-20 13:35:58 +02:00
EnZaXD
9e354e956e
Update MCStructs (#4153) 2024-09-20 13:35:48 +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
github-actions[bot]
ae1838d78a
Update Gradle Wrapper from 8.10 to 8.10.1. (#4148)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2024-09-15 09:51:02 +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
Nassim Jahnke
95581a6fa5
Fix mapping reading of changed_id type 2024-09-05 10:02:55 +02:00