Nassim Jahnke
0fc0259d8c
Remove version check for getting protocol path
2024-05-14 20:55:36 +02:00
Nassim Jahnke
9fd40395eb
Move occluding state ids to data file
2024-05-14 20:55:35 +02:00
Nassim Jahnke
75d86851ce
Apply IJ code reformat, rename rewriter methods, change metadata references to entity data
...
Doing lots of things in one commit to not muddy file history too much - almost all of these changes are fully automated
2024-05-14 20:55:33 +02:00
Nassim Jahnke
b3f0c3e9a7
Update readme, actions
2024-05-14 18:54:24 +02:00
Nassim Jahnke
d6b5b5dc3e
Move PS compatibility to an addon
...
PS has long been dead, so moving it away removes unnecessary complexity/the extra module. The additional code when getting the protocol version was long dead as well, since all connections are injected.
2024-05-14 18:54:24 +02:00
EnZaXD
fcfea24b36
Rework logging inside protocols, add Protocol#getLogger() ( #3843 )
2024-05-14 18:54:23 +02:00
EnZaXD
9149f12809
Use global logger for configs, delete Config#LOGGER ( #3846 )
...
There is no reason to keep a separate logger for config files, this also doesn't work as intended since creating new Java loggers isn't really possible (they don't match the usually formatting Via.getPlatform().getLogger() would provide). This PR deletes the logger and uses the global/main logger provided by the platform, this has been tested with bukkit.
2024-05-14 18:54:23 +02:00
Nassim Jahnke
73c58518ad
Remove mavenLocal resolution
2024-05-14 18:54:23 +02:00
EnZaXD
c9dfc739a2
Change CUSTOM_PAYLOAD handler in 1.10->1.11 to soft fail. ( #3844 )
2024-05-14 18:54:23 +02:00
EnZaXD
bd4df2813d
Refactor protocols to match template module ( #3842 )
2024-05-14 18:54:23 +02:00
FlorianMichael
d47b5be7f3
Move GameMode enum into api module
...
Actually not needed there but still fits in there
2024-05-14 18:54:22 +02:00
FlorianMichael
0142e3aea7
Rename a few data classes, provider packages, task classes
2024-05-14 18:54:22 +02:00
FlorianMichael
d0fecb8951
Merge rewriter and packet classes (entities and items) in 1.8->1.9
2024-05-14 18:54:22 +02:00
Nassim Jahnke
5286efde15
Move type instances out of its enclosing class
...
Type constants being hold by its own abstract class has lead to classloading issues in the past, now we're finally free
2024-05-14 18:54:19 +02:00
EnZaXD
ca25e62d2d
Cleanup 1.8->1.9 class structure ( #3841 )
2024-05-14 18:53:54 +02:00
Nassim Jahnke
501f65e216
Packet and entity type renames
...
Use Mojang mapped names for packet types to be consistent with functionality and easy to look up
2024-05-14 18:53:51 +02:00
Nassim Jahnke
e965e97139
Package/class renames and moves
2024-05-14 18:53:05 +02:00
Nassim Jahnke
75db1a7cdf
Start work on ViaVersion 5.0.0
...
Bump Java target to 17, clean up using its new language features
Remove unnecessary checked exception throwing
Remove deprecated code
2024-05-14 18:53:02 +02:00
Nassim Jahnke
2d41eb52a6
Remove invalid chunk entities for 1.20.5 clients
...
Fixes #3804
2024-05-14 18:47:57 +02:00
Nassim Jahnke
7e268a6f87
Bump version to 4.10.3-SNAPSHOT
2024-05-14 16:33:39 +02:00
Nassim Jahnke
113bf1e275
4.10.2 Release
2024-05-10 13:24:23 +02:00
EnZaXD
2aec3ce6d1
Expose StructuredDataConverter#removeBackupTag ( #3838 )
2024-05-09 20:50:45 +02:00
EnZaXD
f60e31ac78
Add block entity ids in 1.20.3->.5 conversion ( #3837 )
2024-05-09 20:37:20 +02:00
EnZaXD
8c4ff7ebfc
Remove fix which got merged into MCStructs ( #3836 )
2024-05-09 20:04:36 +02:00
Nassim Jahnke
4c7729e602
Fixup banner handling, some other fixes
2024-05-09 19:33:26 +02:00
Nassim Jahnke
3dfc3bb15b
Actually add properties tag in 1.20.5->1.20.4 item handler
2024-05-09 17:21:53 +02:00
EnZaXD
69b33dc2d2
Handle invalid disconnect message in 1.8->1.9 ( #3834 )
2024-05-09 09:26:28 +02:00
EnZaXD
c24169c410
[ci skip] Use login/status packet enums in older protocols ( #3835 )
2024-05-09 09:25:54 +02:00
Nassim Jahnke
31211c2214
Fix tipped arrow and area effect cloud color
2024-05-08 20:28:55 +02:00
Nassim Jahnke
cb5fc9fb08
Fix empty effect handling
...
Fixes #3832
2024-05-08 11:55:35 +02:00
EnZaXD
a8d7ab62e3
Add alpha to particle colors in 1.20.3->.5 ( #3827 )
2024-05-06 09:51:41 +02:00
Nassim Jahnke
71313b4753
Simplify raider check in 1.13->1.14 entity data handler
2024-05-06 09:42:49 +02:00
Nassim Jahnke
994bc8eefc
Move down super onMappingDataLoaded calls
2024-05-05 23:15:20 +02:00
Nassim Jahnke
7d35826637
Bump version to 4.10.2-SNAPSHOT
2024-05-05 23:12:43 +02:00
Nassim Jahnke
4f40372392
4.10.1 Release
2024-05-05 16:38:28 +02:00
Nassim Jahnke
e993be751c
Filter items in entity data with amount < 1
2024-05-05 16:36:46 +02:00
Nassim Jahnke
f1b92fea8d
Move loadFullMappings to MappingDataBase, use loadMiMappings
2024-05-05 14:41:30 +02:00
Nassim Jahnke
fc9d5b6d9d
Clean up entriesLength usage
2024-05-05 13:33:21 +02:00
EnZaXD
9549a18cec
Handle duplicated registry ids in 1.20.3->.5 ( #3825 )
...
Minecraft 1.20.4 and earlier silently overrides the previous values if multiple registry elements have the same id (Tested using a Fabric 1.20.4 mod by parsing a registry sent by a server and then printing the parsed objects).
2024-05-05 13:08:09 +02:00
Nassim Jahnke
d691096ce1
Move around types, apply to other enums
...
This doesn't include ALL abstract types, mostly if they are single-use or not at all relevant to our handling and most likely never will
2024-05-05 12:10:57 +02:00
Nassim Jahnke
73ed425bf7
Fixup entity type hierarchy
2024-05-04 18:11:50 +02:00
EnZaXD
cdc9c3ae95
Update mappings ( #3823 )
...
48167fe5b6
2024-05-03 19:12:24 +02:00
EnZaXD
c113e19d41
Convert plain to json instead of doing component conversion in DeathListener ( #3821 )
...
Closes https://github.com/ViaVersion/ViaVersion/issues/3817
2024-05-02 17:09:27 +02:00
EnZaXD
d3af70d76c
Add optional registry utils to TagUtil ( #3819 )
2024-05-02 15:45:19 +02:00
Nassim Jahnke
c00bc6b667
Check both namespaced and implicit key when replacing registry
2024-05-01 10:28:53 +02:00
Nassim Jahnke
fa3c933b2f
Fix banner pattern backup
...
Fixes #3816
2024-05-01 00:06:22 +02:00
Nassim Jahnke
07bb0269c3
Auto: Update copyright headers
2024-04-30 22:23:11 +02:00
Nassim Jahnke
57c0d83608
Clean up component rewriter
2024-04-30 16:09:11 +02:00
Nassim Jahnke
4854b131b8
Some cleanup
2024-04-30 09:02:24 +02:00
Nassim Jahnke
1864b66e42
Handle new banner patterns in backwards translation
2024-04-29 23:58:57 +02:00