#After exporting my mod, none of my items have the appropriate name?

21 messages · Page 1 of 1 (latest)

quaint hearth
#

When I run the client inside intellij, the items have the correct name though

#

Im using datagen in my mod but not for the lang files, I just have the en_US json file

supple arrow
#

do you have fabric api in your production environment?

quaint hearth
#

I don't think so

#

what you're saying is that I need to put fabric api inside my mods folder on intellij?

supple arrow
#

no. in your launcher's mods folder

quaint hearth
#

I do

supple arrow
#

how are you exporting/building your mod?

quaint hearth
#

I ran "gradlew build" in cmd inside the project's directory

#

should I try exporting it in a different way?

supple arrow
#

no that should be fine

#

you made it en_us (lowercase) right?

#

and not in the minecraft folder

quaint hearth
#

I made it en_US

supple arrow
#

it doesnt handle uppercase

quaint hearth
#

lemme change it real quick

supple arrow
#

/src/main/resources/assets/yourmod/lang/en_us.json

quaint hearth
#

but isn't it weird that inside the project it works fine?

#

yeah, the location is correct

supple arrow
#

depends on the filesystem. some are not case sensitive (FAT filesystems for example)

quaint hearth
#

alright, thank you so much