3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-16 21:10:25 +01:00
Commit graph

614 Commits

Autor SHA1 Nachricht Datum
Nassim Jahnke
e4e8297a82
24w39a 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
f0b2d9aafe
24w37a 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
c150e50636
Store attribute mappings in full 2024-10-15 15:08:30 +02:00
Nassim Jahnke
033741d292
WIP 24w33a 2024-10-15 15:08: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
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
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
e436bbe375
Refactor dimension switch handling across all protocols (#4146) 2024-09-15 21:51:29 +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
Nassim Jahnke
95581a6fa5
Fix mapping reading of changed_id type 2024-09-05 10:02: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
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
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
EnZaXD
10ee7e1930
Deprecate StoredObject#getUser (#4104) 2024-08-21 19:14:40 +02:00
EnZaXD
bc57512ca2
Allow for multiple base protocols per version (#4106) 2024-08-21 14:35:19 +02:00
RK_01
61fcf6f895
Update 1.21 version range (#4082) 2024-08-08 17:27:38 +02:00
EnZaXD
60b3ba6bb7
Include snakeyaml into final jar, delete compat layers (#4070)
Snakeyaml is an untypical library which most Via platforms don't have and also broke in the past with V2, having it directly in the jar like Gson cleans up the build scripts massively, reduces the build time and also doesn't break in the future if they release V3 or any other breaking changes.
2024-08-05 09:30:34 +02:00
EnZaXD
864beef341
Regenerate toString() functions and remove them from protocol internals (#4072) 2024-08-05 09:09:34 +02:00
Nassim Jahnke
462a10363c
Only print reload info when needed, add additional log message after shutdown
Thanks to its name and dependency order, ViaVersion will generally be the last plugin to be disabled and has occasionally been blamed for other plugins stalling server shutdown
2024-08-03 20:35:22 +02:00
EnZaXD
c9d6fbfcd0
Add VersionProvider#getServerProtocol (#4049)
Most platforms won't ever throw an error and usually ViaVersion shouldn't even load when the server version can't be found. Therefore, I added this bouncer function, so I don't need to try catch my code in ViaLoader/VFP where an exception is never thrown
2024-07-27 19:53:33 +02:00
EnZaXD
24d0ae7607
Add ViaManager#addPostEnableListener (#4038) 2024-07-22 18:24:06 +02:00
EnZaXD
b5a06181d4
Fix item projectile hierarchy in 1.14+ (#4034) 2024-07-22 17:44:07 +02:00
EnZaXD
f2f0be0581
Allow base protocols to set client version (#4029) 2024-07-20 09:15:15 +02:00
Nassim Jahnke
0915afe43b
Handle 1.21 attribute id changes
Fixes #4005
2024-07-19 11:26:28 +02:00
EnZaXD
a45985ed58
Validate index when reading structured data type (#4020) 2024-07-16 09:59:33 +02:00
EnZaXD
20f7738f08
Add cancel-block-sounds option for 1.8->1.9 place/break fix (#4011) 2024-07-12 00:11:11 +02:00
EnZaXD
323f0fa087
Remove minimize-cooldown config option (#4009) 2024-07-07 18:03:35 +02:00
EnZaXD
463381b84e
Rename missing metadata references to entity data (#4007) 2024-07-06 21:05:40 +02:00
EnZaXD
f4d6659760
Only print broken json in component type when debug mode is enabled (#3990) 2024-06-28 13:44:31 +02:00
EnZaXD
9d3db4cf97
Improve performance in ProtocolVersionRange#contains (#3964) 2024-06-22 11:02:16 +02:00
Nassim Jahnke
f5b3799db9
Use default dimension data for defaulted registry entry 2024-06-20 17:32:19 +02:00
RK_01
c098e24c4f
Return generic Item array in StructuredItem#emptyArray (#3955) 2024-06-17 20:08:34 +02:00
EnZaXD
824ff375d4
Fix GameMode#getById behaviour in 1.8->1.9 (#3947)
Vanilla fallbacks to SURVIVAL and doesn't throw any errors,
also NOT_SET was missing previously.
2024-06-16 22:28:50 +02:00
Nassim Jahnke
aa312f7332
Merge branch 'refs/heads/dev' into preview 2024-06-16 10:19:43 +02:00
EnZaXD
ec976dfb6c
Add method to remove sub commands from command handler (#3941) 2024-06-15 20:51:24 +02:00
Nassim Jahnke
00088a90fd
Keep data component types fully immutable 2024-06-14 00:27:56 +02:00