Skip to content

Failure when syncing recipes with Forgified Fabric API and certain other mods installed #288

Description

@unilock

Minecraft version

26.1.x

Describe the bug

Recipes from certain mods fail to sync when a mod requests it and Forgified Fabric API is installed, due to "multiple entries with same key" when creating the client-side RecipeMap

Steps to reproduce

  1. Install Minecraft, NeoForge, Sinytra Connector, Launchpad, and Forgified Fabric API
  2. Install a mod that requires recipes to be synced, such as Reliable Recipe Viewer
  3. Install a mod that triggers this issue, such as Alloyed
  4. Start the game and create a new world
  5. Observe in the logs that the recipe sync packet failed to handle on the client
  6. Observe in the recipe viewer that only tags can be viewed when attempting to view recipes for any item (meaning there is no recipe data available)

Logs

https://gist.github.com/unilock/2111c945174a44833cbbf60c1b9fd9de

Additional context

Also occurs with Tech Reborn recipes, and most likely those from other mods that I haven't tested

Metadata

Metadata

Assignees

Labels

26.1.xTargets Minecraft 26.1.xbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions