HomeJavaModsCreate TFMG: Network Fix
Create TFMG: Network Fix
ModsJava

Create TFMG: Network Fix

by ringoway · on CurseForge

Fixes TFMG recipe fields not syncing over the network, causing JEI to display vat recipes without machine modules on dedicated servers.

⬇ Download on CurseForge

The author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.

On dedicated servers, several TFMG recipe types do not serialize their custom fields into the network buffer. When the server sends recipes to clients, these fields arrive empty:

This only affects dedicated servers. In singleplayer, recipes are loaded directly from JSON, so all fields are present.

How it works

The mod uses Mixin to inject into the writeAdditional(FriendlyByteBuf) and readAdditional(FriendlyByteBuf) methods of both recipe classes. The missing fields are appended at the tail of the network buffer. No original TFMG code is replaced — the existing logic runs as-is.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more