Fabric mod to connect to EVERY Minecraft server version (Release, Beta, Alpha, Classic, Snapshots, Bedrock) with QoL fixes to the gameplay
Go to file
2023-02-24 15:06:06 +01:00
gradle/wrapper pushed code 2023-02-19 23:17:33 +01:00
image updated README 2023-02-24 14:55:38 +01:00
src/main some gui improvements 2023-02-24 00:27:51 +01:00
ViaFabricPlus-Visual some gui improvements 2023-02-24 00:27:51 +01:00
.gitignore added git ignore 2023-02-11 16:21:11 +01:00
build.gradle some gui improvements 2023-02-24 00:27:51 +01:00
gradle.properties some gui improvements 2023-02-24 00:27:51 +01:00
gradlew pushed code 2023-02-19 23:17:33 +01:00
gradlew.bat pushed code 2023-02-19 23:17:33 +01:00
LICENSE change license to make the project public 2023-02-23 19:31:46 +01:00
LICENSE_multiconnect change license to make the project public 2023-02-23 19:31:46 +01:00
README.md some final updates on the README 2023-02-24 15:06:06 +01:00
settings.gradle Addon: ViaFabricPlusVisual 2023-02-21 02:02:06 +01:00

ViaFabricPlus

Clientside ViaVersion, ViaLegacy and ViaAprilFools implementation with clientside fixes for Fabric

This project has nothing to do with the original ViaFabric and is therefore also not compact

Contact

If you encounter any issues, please report them on the issue tracker.
If you just want to talk or need help with ViaFabricPlus feel free to join my Discord.

Why?

ViaFabricPlus implements ViaLegacy/ViaAprilFools clientside and adds a ton of fixes that improve the game experience,
as does MultiConnect from Earthcomputer.

Important: The focus on ViaFabricPlus is on client side fixes, so reporting bugs and contributing is welcome.

Dependencies

Dependency Download
ViaVersion https://github.com/ViaVersion/ViaVersion
ViaBackwards https://github.com/ViaVersion/ViaBackwards
Snake YAML https://mvnrepository.com/artifact/org.yaml/snakeyaml/1.33
ViaLegacy https://github.com/RaphiMC/ViaLegacy
ViaAprilFools https://github.com/RaphiMC/ViaAprilFools
MC-Structs https://github.com/Lenni0451/MCStructs
ViaLoadingBase https://github.com/FlorianMichael/ViaLoadingBase

Project structure

ViaFabricPlus splits into two major parts:

Part Description
ViaFabricPlus Core of the project, all fixes here are stable and have been tested many times
ViaFabricPlus-Visual Addon for the core, it adds only visual changes between the versions like old textures,
optional and not necessary for the gameplay, but recommended.

Setting up a Workspace

ViaFabricPlus uses Gradle, to make sure that it is installed properly you can check Gradle's website.

  1. Clone the repository using git clone https://github.com/FlorianMichael/ViaFabricPlus.
  2. CD into the local repository.
  3. Run ./gradlew genSources.
  4. Open the folder as a Gradle project in your preferred IDE.
  5. Run the mod.

Tip for developing Addons: the installAddons task automatically copies all built Addons to the run/mods folder of the main project

Values

Values are optional settings that can turn fixes on and off, originally they were used for debugging

Addon-API

For ViaFabricPlus-Visual and other future addons an AddonAPI has been developed to make it easier to access ViaFabricPlus,
to make a ViaFabricPlus addon you just have to implement the ViaFabricPlusAddon interface in your main class:

package net.example;

import de.florianmichael.viafabricplus.ViaFabricPlusAddon;

public class ViaFabricPlusExampleAddon implements ViaFabricPlusAddon {
    
    @Override
    public void onPreLoad() {
        // called directly after Via* is initialized
    }
    
    @Override
    public void onPostLoad() {
        // called after Minecraft is initialized
    }
    
    @Override
    public void onChangeVersion(ComparableProtocolVersion protocolVersion) {
        // called when the user changes the target version in the gui
    }
}

To load the addon you have to specify the addon main class as entrypoint in your fabric.mod.json:

{
  "entrypoints": {
    "viafabricplus": [
      "net.example.ViaFabricPlusExampleAddon"
    ]
  }
}

WARNING

I cannot guarantee that this mod is allowed on every (or even any) server. This mod may cause problems with anti cheat plugins. USE AT OWN RISK