Create TFMG: Network Fix
Modby ringoway
Fixes TFMG recipe fields not syncing over the network, causing JEI to display vat recipes without machine modules on dedicated servers.
Description
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:
- VatMachineRecipe loses
machines,allowedVatTypes, andminSize— JEI displays vat recipes without machine modules (mixer, centrifuge, electrodes) and without material overlays (firebrick, cast iron). - IndustrialBlastingRecipe loses
hotAirUsage— blast furnace recipes show incorrect hot air requirements.
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.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
[Armory] ICBM Sentries
Classic sentries from the original 1.6.4 ICBM mod
Utilize
Yet another Minecraft modding library, made for DevPieter's mods.
RPG Errands
Villagers who want something
Analog Horror
Adding analog horrors to minecraft.
Dinnerware
Immersive dinnerware mod: place, display and eat!
pv-addon-flashback
Compatibility add-on for Plasmo Voice and Flashback that allows you to record voice chat with Flashback.