mojira.dev
MC-264541

Nine_sliced sprite glitch

In the main method of GuiGraphics#blitNineSliced, the fourth parameter of the last line is wrong, making it not work correctly when the left region and the right region are not equal

[media]

Attachments

Comments 5

Sorry, but only issues that affect vanilla gameplay are deemed bugs by Mojang; even if the issue occurs in vanilla code,the issue is not accepted if mods are needed.

Does this affect vanilla gameplay?

@ampolive It does, as you can customize the border width of the nine-sliced sprites since 1.20.2. And this bug is still reproducible in 1.20.2-pre2.

Please provide a minimal-setup resource pack for testing/inspecting then.

Can confirm in 1.21.2 Pre-Release 5 and 1.21.1.

Snownee

gegy

Confirmed

Rendering, Textures and models

rendering

1.20.1

24w44a

Retrieved