r/CreateMod • • 38m ago

Help IllegalArgumentException: Itemstack 1 randomchaos:sum already exists in the tab's list when adding item to creative tab (MC 1.21.1, NeoForge, Create 6.0.10, Registrate)

I'm making a small addon (randomchaos) for Minecraft 1.21.1, NeoForge 21.1.268, Create 6.0.10, and Registrate 1.3.0+67, and I'm stuck on a creative tab crash when registering a test item (sum, dont ask why).

Without any tab placement (no .tab(...) or BuildCreativeModeTabContentsEvent) on the builder and no BuildCreativeModeTabContentsEvent listener): the game launches fine and opening the inventory does not crash. The item only shows up in the Search tab, and if i add BuildCreativeModeTabContentsEvent or .tab like in the screenshot it crashes

1 Upvotes

0 comments sorted by