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
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
369b076cad
Null check channel in player join listener
...
Fixes #3390
2024-09-03 16:43:55 +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
RK_01
0b2dac9056
Copy item in Particle#copy ( #4130 )
2024-08-29 23:28:39 +02:00
EnZaXD
7cd5514b90
Add PacketWrapper#sendFutureRaw, cleanup login disconnect handling. ( #4129 )
...
Removes the special handling in Protocol1_8To1_9 and always send the correct/expected data by the client in ServerboundBaseProtocol1_7 itself. Also prevent sending the packet through the protocol pipeline since packet/format changes should also be handled inside the base protocol.
2024-08-29 21:46:43 +02:00
RK_01
5017d4bbb3
Add Particle#copy ( #4126 )
2024-08-29 15:32:28 +02:00
EnZaXD
32e51b52aa
Cleanup LOGIN/STATUS packet handlers ( #4113 )
2024-08-28 15:52:28 +02:00
Nassim Jahnke
4f66fd793b
Go back to fast entity data list iteration and mutation
...
This is a fairly hot method and the array list cannot be modified outside of the already managed event cancellation and provided extra list
2024-08-25 18:59:48 +02:00
Nassim Jahnke
2a71612aea
Small cleanup of a few rewriters
2024-08-25 18:42:21 +02:00
Nassim Jahnke
a993a08b8d
Only map between different primitive types when explicitly requested
...
This would otherwise only happen with unsafe type usage
2024-08-24 18:00:06 +02:00
Nassim Jahnke
a9c947517c
Don't unnecessarily re-wrap objects in passthrough
2024-08-24 17:10:20 +02:00
Pablo Herrera
2841bf3040
Add option to hide scoreboard numbers ( #4122 )
2024-08-24 15:49:09 +02:00
RK_01
7edddda36e
Split base protocols list ( #4118 )
2024-08-23 14:09:14 +02:00
RK_01
33de12ceb1
Reset reader before passing packet through protocols ( #4117 )
2024-08-23 09:42:50 +02:00
RK_01
f8eb57cdbb
Fix 1.8->1.9 click sound mappings ( #4116 )
2024-08-22 19:39:09 +02:00
EnZaXD
b2d523f5c0
Add more API for base protocols and skip manually added ones. ( #4115 )
2024-08-22 17:15:29 +02:00
EnZaXD
b586b0d361
Allow client intention packet to be cancelled ( #4114 )
2024-08-22 10:59:35 +02:00
EnZaXD
c6381e7f4d
Allow protocols to handle client intention packet ( #4112 )
2024-08-21 19:58:32 +02:00
EnZaXD
10ee7e1930
Deprecate StoredObject#getUser ( #4104 )
2024-08-21 19:14:40 +02:00
EnZaXD
78abf8be00
Use RedirectProtocolVersion#getOrigin in InitialBaseProtocol if possible ( #4110 )
...
This way, we should be able to get rid of manually adding the base protocol in projects like ViaAprilFools:
https://github.com/ViaVersion/ViaAprilFools/blob/main/common/src/main/java/net/raphimc/viaaprilfools/protocol/s3d_sharewaretov1_14/Protocol3D_SharewareTo1_14.java#L87
2024-08-21 16:56:20 +02:00
EnZaXD
1dde24bb68
[ci skip] Remove outdated comments ( #4111 )
2024-08-21 16:56:09 +02:00
EnZaXD
bc57512ca2
Allow for multiple base protocols per version ( #4106 )
2024-08-21 14:35:19 +02:00
github-actions[bot]
6ad3beca76
Update Gradle Wrapper from 8.9 to 8.10. ( #4105 )
...
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2024-08-18 11:04:12 +02:00
EnZaXD
9d75125e41
Make EntityTrackerBase#entities protected ( #4103 )
2024-08-18 11:03:57 +02:00