-
Posts
110 -
Joined
-
Last visited
Posts posted by cinsiian
-
-
35 minutes ago, diesieben07 said:
It's a varargs parameter.
Oh I didnt know that. I thought it was necessary. Thank you
-
I18n.format("my_translation", null)
I wanna just get the translation string
-
can i return the parameters null and just getting the string?
-
Can you make an example just getting a string from the .json file? Putting "hello" it will return the word "hello" in-game but if I change the game's language, it will return "hello" again, right? So it's not a "translation"
-
What are the "parameters" of the format method I18n.format(stringKey, parameters)?
-
How can I get a translation in 1.13.2? In 1.12 there was implemented a I18n.translateToLocal method but in 1.13.2 seems that it does not exists.
-
Hello everyone, I maded 2 custom configs and registered them in the game but apparently the "CONFIG" button in the mod menù does'nt open anything.
Can you watch my code and tell me whats the problem?
Thank You
https://github.com/cinsiian/Crystal/tree/master/src/main/java/cinsiian/crystal/config
https://github.com/cinsiian/Crystal/blob/master/src/main/java/cinsiian/crystal/Crystal.java
-
I am kinda new to this things so instead of copy other people's code i tried to make my own things. Apparently I did everything wrong lol. The ItemTab class is supposed to return my mod item group if the boolean in CrystalConfig is true, then, if false it will return a vanilla item group. I'm going to totally rewrite my mod. Thanks everyone.
-
Hello everyone. In these days i had an issue related to registering items and blocks. Seems that they're not integreted i the game.
Can you help me about that?
My github repository is https://github.com/cinsiian/Crystal.
Thanks for helping me in this project.
Bye.
[1.13.2] Translation System
in Modder Support
Posted
Seems that is not working correctly in my mod.
https://github.com/cinsiian/Crystal/blob/master/src/main/java/cinsiian/crystal/CrystalHandler.java
https://github.com/cinsiian/Crystal/blob/master/src/main/resources/assets/crystal/lang/en_us.json