
Create TFMG: Network Fix
Fixes TFMG recipe fields not syncing over the network, causing JEI to display vat recipes without machine modules on dedicated servers.
44
3
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.
Совместимость
Ссылки
Создатели
Детали
Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:2 недели назад
Обновлён:2 недели назад
