kineticcat_
kineticcat_

Reputation: 167

Lang files not being used by fabric

I have got 4 items working but even with the lang files in the right place, the names are still all broken. the files are inside of src\resources\assets\cauldrons\lang\en_gb.json with the contents being

{
    "item.cauldrons.gold-base": "golden base",
    "item.cauldrons.iron-base": "iron base"
  }

I am definitely on the right language in Minecraft, What could be causing this?

Upvotes: 1

Views: 689

Answers (2)

Thomasina
Thomasina

Reputation: 1

You can't have '-' in a item/blocks tag, try replacing all instances of dashes with an underscore.

Upvotes: 0

makubas
makubas

Reputation: 9

Try renaming your lang file to en_us.json and check if you didn't misspell anything.

Upvotes: 0

Related Questions