mojira.dev
MC-55751

Gamemode descriptions are off center

See screenshots.


Fix by @unknown in this comment.

Linked issues

Attachments

Comments 9

Language translation requests are NOT supported here! Please go here: https://crowdin.net/project/minecraft

Calling it 'free gliding' is a bug in itself.

At least it's not a run on sentence. Someone get a translator in here to fix this..

Confirmed for 14w21b

Confirmed for all gamemode descriptions in 14w21b.

Unable to reproduce in 1.8.2-pre1, but unsure if tested valid. Marking as "Awaiting Response".

Can be fixed by changing the text settings from the gamemode descriptions from "left" to "center"

So it is still an issue? Because again: I wasn't able to reproduce it.

Still in 1.8.1 / 1.8.2-pre1. Best visible with the text for Creative mode in English language

The following is based on a decompiled version of Minecraft 1.12 using MCP 9.40pre-1.

This can be fixed by simply changing the drawString method invocation to drawCenteredString in the method net.minecraft.client.gui.GuiCreateWorld.drawScreen() and by removing the - 150 from the x-coordinates of both strings. This will make the gamemode descriptions look like this.

net.minecraft.client.gui.GuiCreateWorld.drawScreen()

// ... this.drawCenteredString(<fontRendererObj>, <string to be drawn on screen>, <x-coordinates>, <y-coordinates>, <color>)
this.drawCenteredString(this.fontRendererObj, this.gameModeDesc1, this.width / 2, 137, -6250336);
this.drawCenteredString(this.fontRendererObj, this.gameModeDesc2, this.width / 2, 149, -6250336);

Joaquin Ortiz

Fry

Confirmed

description, gamemode, gui

Minecraft 1.7.9, Minecraft 14w21b, Minecraft 14w26c, Minecraft 14w27b, Minecraft 1.8, ..., Minecraft 1.8.2-pre1, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.12

Minecraft 17w43a

Retrieved