For Minecraft 1.12.2.
RecommendJarStep.class
init method
Both "PressableButton" instantiations are using hardcoded texts instead of lang keys.
new PressableButton(1, screen.width / 2 - 104, screen.height / 2 + 20, 100, 20, "Select", (b)
and
new PressableButton(2, screen.width / 2 + 4, screen.height / 2 + 20, 100, 20, "Change", (b)
Guess you forgot to create:
private final String selectButton = I18n.format("step.recommended_jar.select");
private final String changeButton = I18n.format("step.recommended_jar.change");
and then call:
new PressableButton(1, screen.width / 2 - 104, screen.height / 2 + 20, 100, 20, selectButton, (b)
and
new PressableButton(2, screen.width / 2 + 4, screen.height / 2 + 20, 100, 20, changeButton, (b)
Also, I don't see these lang keys defined in the .lang file:
server_entry.title=Order Server
server_entry.description=Let's create your Minecraft Server.
Edit: Sorry I just read your server_creator_banner description 😅
For Minecraft 1.12.2.
RecommendJarStep.class
init method
Both "PressableButton" instantiations are using hardcoded texts instead of lang keys.
new PressableButton(1, screen.width / 2 - 104, screen.height / 2 + 20, 100, 20, "Select", (b)and
new PressableButton(2, screen.width / 2 + 4, screen.height / 2 + 20, 100, 20, "Change", (b)Guess you forgot to create:
and then call:
new PressableButton(1, screen.width / 2 - 104, screen.height / 2 + 20, 100, 20, selectButton, (b)and
new PressableButton(2, screen.width / 2 + 4, screen.height / 2 + 20, 100, 20, changeButton, (b)Also, I don't see these lang keys defined in the .lang file:
Edit: Sorry I just read your server_creator_banner description 😅