ViaFabricPlus


#### Clientside ViaVersion, ViaLegacy, ViaBedrock and ViaAprilFools implementation with clientside fixes for Fabric This project has nothing to do with the original ViaFabric and is therefore also not compact
## Why? ViaFabricPlus is supposed to be an alternative to [multiconnect](https://github.com/Earthcomputer/multiconnect) that offers more compactness and more clientside improvements, as ViaFabricPlus implements all Via platforms (ViaVersion, ViaBackwards, ViaLegacy, ViaAprilFools, ViaBedrock) and adds tons of clientside fixes and QoL improvements like old rendering for all platforms. ## Issues and Contributions If you encounter any issues, please report them on the [issue tracker](https://github.com/FlorianMichael/ViaFabricPlus/issues). Contributions in the form of pull requests are always welcome, please just stick to my code style and make sure your code is easy to update and compatible with other mods. ## Translations Translations for other languages are always welcome, in ~/resources/assets/viafabricplus/lang you can find all translations, if you know a language well, feel free to make a PR and add translations for that language
**Currently supported languages**: - English ## Compatibility ViaFabricPlus is structured to interfere with mods as little as possible. It should work fine with most if not all mods and modpacks. ### Known incompatibilities: - ***[ViaFabric](https://github.com/ViaVersion/ViaFabric)*** - ***[multiconnect](https://github.com/Earthcomputer/multiconnect)*** - ***[Krypton](https://github.com/astei/krypton)*** - ***[Raknetify](https://github.com/RelativityMC/raknetify/tree/master)*** ## Basic Features - [x] ViaVersion implementation - [x] ViaBackwards implementation - [x] ViaLegacy implementation - [x] ViaAprilFools implementation - [x] ViaBedrock implementation - [x] BetaCraft implementation for MP Pass ## Clientside related Fixes - [x] Bounding boxes for all versions - [x] Entity interaction and movement related packet fixes - [x] Sync and async mouse/keyboard handling in <= 1.12.2 - [x] Mining speeds and item attributes - [x] Filter item creative tabs for only available items - [x] Combat system in <= 1.8 - [x] Tons of modifications to ViaVersion to make it more legit (Metadata fixes, broken packets, edge-cases) - [x] Visual and screen related changes (newer Command Block features, GameMode selection, ...) - [x] ViaAprilFools and ViaLegacy extensions to make it more legit - [x] Chat signatures (secure login) for all versions (1.19.0, 1.19.1, 1.19.2) - [x] Address parsing for all minecraft versions - [x] PackFormats and HTTP Header for all resource pack versions - [x] Raytrace related fixes in <= 1.8 - [x] Implementing HUD changes for <= b1.7.3 - [x] Chat lengths of all versions - [x] Implementing non-sequenced block placement in <= 1.18.2 - [x] Animation related fixes (1.7 Sneaking, c0.30 walking animation, ...) - [x] Fixed clientside packet handling (1.16.5 transactions, 1.19.0 tablist, ...) ## TODO - [ ] ClassiCube implementation for MP Pass - [ ] BetaCraft server list screen - [ ] More extensions for Classic Protocol Extensions protocol - [ ] Window click interactions in <= 1.16.5 ## Backports Basically there are no backports, the last version of ViaFabricPlus that supported a specific Minecraft version is also the last one that exists for that Minecraft version.
However, if a version between two Minecraft versions is too unstable, I will definitely make backports, you can find them only on modrinth/curseforge,
they do not have their own releases, current backports (named after their branch): - [1.19.3](https://modrinth.com/mod/viafabricplus/version/0.0.0) ## Dependencies | Dependency | Download | |------------------------|------------------------------------------------------------| | Fabric API | https://github.com/fabricMC/fabric | | 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 | | ViaBedrock | https://github.com/RaphiMC/ViaBedrock | | MC-Structs | https://github.com/Lenni0451/MCStructs | | Reflect | https://github.com/Lenni0451/Reflect | | ViaLoadingBase | https://github.com/FlorianMichael/ViaLoadingBase | | Netty-transport-RakNet | https://github.com/CloudburstMC/Network/tree/develop | ## Setting up a Workspace ViaFabricPlus uses Gradle, to make sure that it is installed properly you can check [Gradle's website](https://gradle.org/install/). 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. ## Settings and GUI In the multiplayer screen you will find the ViaFabricPlus button in the upper left corner by default, it is the main button,
click on it, and you will see the Protocol selection, there you can choose the Minecraft version you want to connect to,
in the upper left corner you can go to the Settings. ![](/.github/images/multiplayer.png) ![](/.github/images/protocol.png) ### Settings are optional settings that can turn fixes on and off, originally they were used for debugging
![](/.github/images/settings.png) ## Bedrock edition Keep in mind that the Java -> Bedrock support is still in beta phase, and therefore many things are not implemented
yet and there is no guarantee that everything will work as it should. ![](/.github/images/bedrock.png) To log in to a Bedrock account you can press the button **"Click to set account for Bedrock edition"** in the settings,
then you can log in via device login, the account logged in there will be stored in **~/ViaFabricPlus/bedrock.account**. ## Classic stuff ### Custom protocol extensions ViaFabricPlus implements new Classic Extensions into the CPE protocol of ViaLegacy which are rather client side.
- **WeatherType** extension (version **1**) ### Protocol commands To better control the Classic Protocol, there are a few clientside commands, the command prefix is **/v**:
- **/vhelp** - Displays all commands, available from: **c0.28-c0.30** - **/vsettime