#Translation Key using minecraft instead of my mod id

20 messages · Page 1 of 1 (latest)

earnest river
#

The game version is 1.21.5

old perch
#

are you perhaps doing Identifier.of("raw_manaite") instead of Identifier.of(MOD_ID, "raw_manaite")

earnest river
#

Which file would that be in?

old perch
#

wherever you are registering your item

earnest river
#

ok I did use Identifier.of(MOD_ID, "raw_manaite")

#

Here is a screenshot of my item registeies

old perch
#

yea looks good to me

earnest river
#

It's still isn't working for me

old perch
#

does it say item.minecraft.raw_manite though?

earnest river
#

yea

dim lodge
#

it looks like youre calling the register method in net.minecraft.item.Items, rather than your registerModItem method

old perch
#

oh i just noticed that lmao

dim lodge
#

i thought that was private tbh but ig it isnt

earnest river
#

so do I remove the minecraft thing?

dim lodge
#

yea remove the static import for that method

earnest river
#

ok but now it's showing this now

dim lodge
#

update the registers to registerModItem, or rename registerModItem to register your choice

#

(you can keep this as MOD_ID btw)

earnest river
#

It work

#

Thank you for the help 🙂