Everything posted by cinsiian
-
[1.13.2] Translation System
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
-
[1.13.2] Translation System
Oh I didnt know that. I thought it was necessary. Thank you
-
[1.13.2] Translation System
I18n.format("my_translation", null) I wanna just get the translation string
-
[1.13.2] Translation System
can i return the parameters null and just getting the string?
-
[1.13.2] Translation System
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"
-
[1.13.2] Translation System
What are the "parameters" of the format method I18n.format(stringKey, parameters)?
-
[1.13.2] Translation System
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.
-
[1.13.2] ForgeConfigSpec gui not working
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
-
[1.13.2] Blocks and Items not registered in the game.
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.
-
[1.13.2] Blocks and Items not registered in the game.
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.