Skip to content

Commit cba4f79

Browse files
Updates from main
Co-authored-by: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 715bc52 commit cba4f79

File tree

82 files changed

+130
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+130
-116
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ jobs:
88
runs-on: ubuntu-24.04-arm
99
steps:
1010
- name: Checkout Repository
11-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
11+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1
1212
with:
1313
persist-credentials: false
1414
- name: Set up Gradle
1515
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # 5.0.0
1616
- name: Set up JDK 21
17-
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # 5.0.0
17+
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # 5.1.0
1818
with:
1919
distribution: 'temurin'
2020
java-version: 21
2121
check-latest: true
2222
- name: Build with Gradle
2323
run: ./gradlew build
2424
- name: Upload Artifacts to GitHub
25-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # 5.0.0
25+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
2626
with:
2727
name: Artifacts
2828
path: build/libs/

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ubuntu-24.04-arm
1010
steps:
1111
- name: Checkout Repository
12-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
12+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 6.0.1
1313
with:
1414
persist-credentials: false
1515
- name: Set up Gradle
1616
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # 5.0.0
1717
- name: Set up JDK 21
18-
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # 5.0.0
18+
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # 5.1.0
1919
with:
2020
distribution: 'temurin'
2121
java-version: 21

README.md

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,30 @@
1010

1111
Allows the connection to/from different Minecraft versions on your Minecraft client/server (LAN worlds too)
1212

13-
If you are using the latest Minecraft version and care about the gameplay being more enjoyable/functional, you may want to
14-
check [ViaFabricPlus](https://modrinth.com/mod/viafabricplus) out. See the [differences](#viafabricplus) between ViaFabric and ViaFabricPlus.
13+
If you are using the latest Minecraft version and care about the gameplay being more enjoyable/functional, you may want
14+
to
15+
check [ViaFabricPlus](https://modrinth.com/mod/viafabricplus) out. See the [differences](#viafabricplus) between
16+
ViaFabric and ViaFabricPlus.
1517

16-
This mod can be installed on 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1, 1.20.4, 1.20.6, 1.21.4 with Fabric Loader.
18+
This mod can be installed on 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.6, 1.21.11 with Fabric Loader.
1719

1820
The `legacy` branch also supports Legacy Fabric 1.8.9 and 1.12.2 versions.
1921

2022
## Anti cheat integration
2123

22-
ViaFabric now supports custom payload sending to transmit player protocol version data to the server when installed on the client side. This allows servers to retrieve a player's protocol version via plugin messages, which can be useful for anti-cheat checks and version-dependent logic.
23-
For more details on how to use this feature, see the [Player Details Protocol wiki](https://github.com/ViaVersion/ViaVersion/wiki/Player-Details-Protocol).
24+
ViaFabric now supports custom payload sending to transmit player protocol version data to the server when installed on
25+
the client side. This allows servers to retrieve a player's protocol version via plugin messages, which can be useful
26+
for anti-cheat checks and version-dependent logic.
27+
For more details on how to use this feature, see
28+
the [Player Details Protocol wiki](https://github.com/ViaVersion/ViaVersion/wiki/Player-Details-Protocol).
2429

2530
## Dependencies
2631

27-
| Dependency | Download |
28-
|-----------------------------------------------|----------------------------------------------------------------|
29-
| (Bundled) ViaVersion | https://viaversion.com/ |
30-
| (Bundled) Cotton Client Commands (MC 1.14-15) | https://jitpack.io/#TinfoilMC/ClientCommands |
31-
| Fabric API | https://modrinth.com/mod/fabric-api |
32+
| Dependency | Download |
33+
|-----------------------------------------------|----------------------------------------------|
34+
| (Bundled) ViaVersion | https://viaversion.com/ |
35+
| (Bundled) Cotton Client Commands (MC 1.14-15) | https://jitpack.io/#TinfoilMC/ClientCommands |
36+
| Fabric API | https://modrinth.com/mod/fabric-api |
3237

3338
Note: ViaVersion is designed for Vanilla Minecraft servers. It probably will not work with modded registry entries or
3439
registry synchronization (fabric-registry-sync mod).
@@ -60,40 +65,48 @@ registry synchronization (fabric-registry-sync mod).
6065
| | 1.8.x | 1.9.x | 1.10-1.20.x | 1.21.x |
6166
|-----------------------|-------|-------|-------------|--------|
6267
| 1.14.4-1.20.6 clients ||||| ⟲ ⟲ |||||
63-
| 1.21.4 client |||||||||||
68+
| 1.21.11 client |||||||||||
6469

6570
✓ = [ViaVersion](https://viaversion.com) ⟲ = [ViaBackwards](https://viaversion.com/backwards)
6671
= [ViaRewind](https://viaversion.com/rewind)
6772

68-
*Note: 1.7.x is not supported in ViaFabric - 1.9.x, 1.10.x, 1.11.x, and 1.13.x may cause problems when visiting such servers in client-side mode.*
73+
*Note: 1.7.x is not supported in ViaFabric - 1.9.x, 1.10.x, 1.11.x, and 1.13.x may cause problems when visiting such
74+
servers in client-side mode.*
6975

7076
### Can ViaVersion, ViaBackwards and ViaRewind support snapshots?:
7177

72-
- Check https://viaversion.com/donate for getting early access to snapshots. You can use the preview ViaVersion builds with ViaFabric by
73-
putting them in the mods' folder. During Minecraft updates there will be usual a branch on this repository with the updated ViaFabric.
78+
- Check https://viaversion.com/donate for getting early access to snapshots. You can use the preview ViaVersion builds
79+
with ViaFabric by
80+
putting them in the mods' folder. During Minecraft updates there will be usual a branch on this repository with the
81+
updated ViaFabric.
7482

7583
## Alternatives
7684

7785
### Client-side:
7886

7987
- [ViaForge](https://modrinth.com/mod/viaforge): Clientside Implementation of ViaVersion for Forge.
80-
- [ViaFabricPlus](https://modrinth.com/mod/viafabricplus): Fabric mod for the latest Minecraft version with QoL fixes and enhancements to the gameplay.
81-
- [ClientViaVersion](https://github.com/Gerrygames/ClientViaVersion): Discontinued 5zig plugin.
82-
- [multiconnect](https://www.curseforge.com/minecraft/mc-mods/multiconnect): Discontinued Fabric mod for connecting to older
88+
- [ViaFabricPlus](https://modrinth.com/mod/viafabricplus): Fabric mod for the latest Minecraft version with QoL fixes
89+
and enhancements to the gameplay.
90+
- [multiconnect](https://www.curseforge.com/minecraft/mc-mods/multiconnect): Discontinued Fabric mod for connecting to
91+
older
8392
versions: down to 1.11 (stable) and 1.8 (experimental).
8493

8594
### Server-side:
8695

8796
- [ViaVersion](https://viaversion.com): Plugin for Velocity and Paper/Bukkit (and optionally also Sponge/BungeeCord).
88-
- [ProtocolSupport](https://github.com/ProtocolSupport/ProtocolSupport): Discontinued Bukkit plugin for older client versions (down to 1.4.7).
97+
- [ProtocolSupport](https://github.com/ProtocolSupport/ProtocolSupport): Discontinued Bukkit plugin for older client
98+
versions (down to 1.4.7).
8999

90100
### Standalone proxy:
91101

92-
- [ViaProxy](https://github.com/ViaVersion/ViaProxy): Standalone ViaVersion proxy with ViaBackwards, ViaRewind and ViaLegacy,
93-
allowing you to connect to a wide range of versions (down to classic versions) with your modern client (1.7.2+). Supports online mode.
102+
- [ViaProxy](https://github.com/ViaVersion/ViaProxy): Standalone ViaVersion proxy with ViaBackwards, ViaRewind and
103+
ViaLegacy,
104+
allowing you to connect to a wide range of versions (down to classic versions) with your modern client (1.7.2+).
105+
Supports online mode.
94106
- [VIAaaS](https://github.com/ViaVersion/VIAaaS): Standalone ViaVersion proxy with ViaBackwards and ViaRewind, allowing
95107
you to connect without a mod installed on your client. Supports online mode.
96-
- [DirtMultiversion](https://github.com/DirtPowered/DirtMultiversion): Discontinued Proxy allowing to connect down to Beta 1.3 with
108+
- [DirtMultiversion](https://github.com/DirtPowered/DirtMultiversion): Discontinued Proxy allowing to connect down to
109+
Beta 1.3 with
97110
newer Minecraft client versions.
98111

99112
### Cool things to try:
@@ -157,14 +170,15 @@ registry synchronization (fabric-registry-sync mod).
157170

158171
### Differences with ViaFabricPlus:
159172

160-
| | ViaFabric | ViaFabricPlus |
161-
|----------------------------------|-------------------------------------------------|-----------------------------------------------------------------|
162-
| Can be installed on | Multiple client/server versions with fabric | Latest client-side version with fabric |
163-
| Objectives | Simply implement ViaVersion | Implements ViaVersion with client-side fixes to version changes |
164-
| How does it work? | Modifying packets at network code | Modifying client code more deeply |
165-
| Triggering anti-cheats | Very likely | Mostly not |
173+
| | ViaFabric | ViaFabricPlus |
174+
|------------------------|---------------------------------------------|-----------------------------------------------------------------|
175+
| Can be installed on | Multiple client/server versions with fabric | Latest client-side version with fabric |
176+
| Objectives | Simply implement ViaVersion | Implements ViaVersion with client-side fixes to version changes |
177+
| How does it work? | Modifying packets at network code | Modifying client code more deeply |
178+
| Triggering anti-cheats | Very likely | Mostly not |
166179

167180
## Disclaimer
168181

169-
It cannot be guaranteed that this mod is allowed on specific servers as it can possibly cause problems with anti-cheat plugins.\
182+
It cannot be guaranteed that this mod is allowed on specific servers as it can possibly cause problems with anti-cheat
183+
plugins.\
170184
***(USE ONLY WITH CAUTION!)***

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# suppress inspection "UnusedProperty" for whole file
22
org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
33

4-
loader_version=0.17.2
5-
viaver_version=5.6.0
6-
viaback_version=5.6.0
7-
viarewind_version=4.0.12
4+
loader_version=0.18.4
5+
viaver_version=5.7.1-SNAPSHOT
6+
viaback_version=5.7.1-SNAPSHOT
7+
viarewind_version=4.0.14-SNAPSHOT
88

99
publish_mc_versions=1.12.2, 1.8.9

src/main/java/com/viaversion/fabric/common/AddressParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of ViaFabric - https://github.com/ViaVersion/ViaFabric
3-
* Copyright (C) 2018-2025 ViaVersion and contributors
3+
* Copyright (C) 2018-2026 ViaVersion and contributors
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/main/java/com/viaversion/fabric/common/ViaFabric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of ViaFabric - https://github.com/ViaVersion/ViaFabric
3-
* Copyright (C) 2018-2025 ViaVersion and contributors
3+
* Copyright (C) 2018-2026 ViaVersion and contributors
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/main/java/com/viaversion/fabric/common/commands/UserCommandSender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of ViaFabric - https://github.com/ViaVersion/ViaFabric
3-
* Copyright (C) 2018-2025 ViaVersion and contributors
3+
* Copyright (C) 2018-2026 ViaVersion and contributors
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/main/java/com/viaversion/fabric/common/commands/subs/LeakDetectSubCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of ViaFabric - https://github.com/ViaVersion/ViaFabric
3-
* Copyright (C) 2018-2025 ViaVersion and contributors
3+
* Copyright (C) 2018-2026 ViaVersion and contributors
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/main/java/com/viaversion/fabric/common/config/AbstractViaConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of ViaFabric - https://github.com/ViaVersion/ViaFabric
3-
* Copyright (C) 2018-2025 ViaVersion and contributors
3+
* Copyright (C) 2018-2026 ViaVersion and contributors
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

src/main/java/com/viaversion/fabric/common/config/VFConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is part of ViaFabric - https://github.com/ViaVersion/ViaFabric
3-
* Copyright (C) 2018-2025 ViaVersion and contributors
3+
* Copyright (C) 2018-2026 ViaVersion and contributors
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)