promotional bannermobile promotional banner

TFC Food Sync Fix

Client-side fix for TFC food ingredients missing in JEI usage index on dedicated servers

Fixes tfc:not_rotten (and other FoodCapability-dependent) ingredients missing from JEI's usage index (U) when the client connects to a dedicated server.

After TFC's food data sync from a physical server completes, the client-side food definition cache is not rebuilt, so food ingredients enumerate as empty. This mod rebuilds the cache and invalidates Forge ingredients right after the sync, on the client main thread.

  • Client-side only (the dedicated server does not need it)
  • Requires: Minecraft 1.20.1, Forge 47.4.10+, TerraFirmaCraft 3.2.24+
  • Does not touch JEI's API, does not trigger datapack/resource reloads, and does not alter recipe matching; safe to run without JEI

Source: https://github.com/syntaxHighlight/JEI-TFC-Patch

The TFC Food Sync Fix Team

profile avatar
  • 3
    Projects
  • 371
    Downloads

More from syntaxHighlight