Curios API (Forge/NeoForge)

Curios API (Forge/NeoForge)

204M Downloads

[Bug]: Trouble Getting Custom Item into Curio Slot After Porting to NeoForge 1.21.1

Closed this issue ยท 6 comments

commented

Minecraft Version

1.21.1

What happened?

I'm currently porting a mod I made for Forge 1.20.1 over to NeoForge 1.21.1. From looking at the documentation, it seems that tagging items, in my case, bracelets, which still work the same way. However, when I boot up the game, the item doesn't go into a Curio slot as expected.

GitHub repo with all the code: https://github.com/SucksAtstuff/Succs-Mod-Neoforge

Relevant Log Outputs

latest.log
debug.log

commented

It seems like you have the tags in curios/tags/items, in 1.21.1 Minecraft changed it so that tags like this should go in curios/tags/item instead, the difference being singular instead of plural (which will apply to other tags like blocks to block as well. Updating this part should resolve your issue.

commented

i changed items to item but it still isn't becoming a curio item

commented

Did you update your repo with that change? Just double-checking, since I don't see it reflected there.

In either case, as long as your change is done locally, can you verify if your item does or does not have a tooltip that shows its slots?

commented

i just now updated my repo with the change

the item does not have the tooltip that shows its slots

Image

commented

Okay, I see the issue. In your files, you have "replace": "false", these should be "replace": false, without the quotation marks around the false value.

commented

oh wesome, it works now thanks