Back to mods

Modrinth · Minecraft mod

ViaVersion Recipe Fix

Server-side Fabric mod that prevents Fabric API recipe sync packets from crashing clients connecting via ViaVersion/ViaBackwards with older protocol versions.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ViaVersion Recipe Fix release should I use?

Updated 8 months ago
Latest stable file 1.0.1
Game version 1.21.10, 1.21.11, 26.1
Loader Fabric

ViaVersion Recipe Fix 1.0.1 targets 1.21.10, 1.21.11, 26.1 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is ViaVersion Recipe Fix required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does ViaVersion Recipe Fix 1.0.1 need?

1.0.1. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

4 listed on this file 1 pulled in by one of those mods
ViaFabric Optional for ViaVersion Recipe Fix 1.0.1
optional
Matching file found Matched file: 0.4.22+189-26.x
Fabric API Needed by ViaVersion Recipe Fix 1.0.1
required
Matching file found Matched file: 0.155.3+26.1.2
ViaVersion Optional for ViaVersion Recipe Fix 1.0.1
optional
Matching file found Matched file: 5.12.3
ViaBackwards Optional for ViaVersion Recipe Fix 1.0.1
optional
Matching file found Matched file: 5.12.3
ViaRewind Needed by ViaVersion
pulled in
Matching file found Matched file: 4.2.0

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add ViaVersion Recipe Fix without breaking your instance.

Built for ViaVersion Recipe Fix 1.0.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.1. It targets 1.21.10, 1.21.11, 26.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.1. It opens that exact file at the source.

About this project

What does ViaVersion Recipe Fix add?

ViaVersion Recipe Fix

A server-side Fabric mod that prevents Fabric API's recipe sync packets from crashing clients connecting via ViaVersion/ViaBackwards with non-native protocol versions.

Problem

Since Minecraft 1.21.2, vanilla no longer syncs all recipes to clients. Fabric API added an opt-in recipe sync API (fabric-recipe-api-v1) for mods that need client-side recipe data (e.g. JEI). When a server uses this alongside ViaFabric and ViaBackwards, clients on older Minecraft versions crash with:

Failed to decode packet 'clientbound/minecraft:custom_payload'
Caused by: Tried to read NBT tag that was too big

Neither ViaVersion nor ViaBackwards translates Fabric API's custom RecipeSyncPayloadS2C packet, causing the client to misparse the data.

Solution

This mod intercepts recipe sync at the server level and skips sending the packet to players whose protocol version (detected via ViaVersion API) differs from the server's native protocol.

Native-version clients receive recipe sync as normal.

Requirements

  • Minecraft 1.21.10+
  • Fabric Loader >=0.18.0
  • Fabric API (with fabric-recipe-api-v1)
  • ViaFabric (optional) — the mod does nothing without it but won't crash

Building

./gradlew build

Output jar is in build/libs/.

License

MIT

Project description from Modrinth.

Pick your setup

ViaVersion Recipe Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ViaVersion Recipe Fix versions and loaders

2 of 2 releases match

Looking for an older file? The official Modrinth project page is in Resources.