fabric: Registry remap events are causing colliding IDs

I’ve now run into a few issues with folks playing with Epicurean Gastronomy running into Int2ObjectMap contained two equal IDs crashes when they try to load their world with the new Fabric API. I thought it might be something with Epicurean, but then OliviaTheVampire in the Fabric discord ran into it with their mods as well. It seems to be happening with real items along with the minecraft:air bug Epicurean’s been running into. The crash only begins happening in builds 171 and above, so it’s probably something with the new API.

Epicurean issue 1 (air) Epicurean issue 2 (real item)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (1 by maintainers)

Most upvoted comments

AH HA!

Flaw in Epicurean Gastronomy. Fabric will now correctly detect it and throw at the game load stage. o/

It’s trying to map the block model registry and the item registry at the same time, causing their IDs to run into each other!

hey @TimGoll @Luxley, could you try this version of Fabric API and send me the crash logs? It should get us one step closer to fixing it, since the logs will actually say what the real problem is.