COWMODSКаталог модов

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.

Автор: ringoway5703обновлён 15 апр. 2026 г.
Технологии

Описание

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, and minSize — 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.

Последние версии

Все версии →
release

Create TFMG: Network Fix 1.0.1

1.0.1
15 апр. 2026 г.534Minecraft: 1.20.1forge
Скачать
Что нового
- **Crash on startup with TFMG 1.0.2f** — Mixin used `@Inject` targeting `writeAdditional(FriendlyByteBuf)` / `readAdditional(FriendlyByteBuf)` on `IndustrialBlastingRecipe` and `VatMachineRecipe`, but these methods are not declared in those classes — they are inherited from Create's `ProcessingRecipe`. Mixin could not find the injection target, causing `MixinTransformerError`. - Changed approach: instead of `@Inject`, mixin now directly overrides the inherited methods. This correctly adds the missing network serialization without requiring the target class to explicitly declare the methods.
release

Create TFMG: Network-Fix 1.0.0

1.0.0
13 апр. 2026 г.36Minecraft: 1.20.1forge
Скачать
Что нового
- initial mod