Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map 'swapZIndex' in more TextRenderer methods #4026

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mappings/net/minecraft/client/font/TextRenderer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer
ARG 8 layerType
ARG 9 backgroundColor
ARG 10 light
ARG 11 swapZIndex
METHOD method_1724 drawLayer (Ljava/lang/String;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;IIZ)F
ARG 1 text
ARG 2 x
Expand All @@ -56,6 +57,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer
ARG 8 layerType
ARG 9 backgroundColor
ARG 10 light
ARG 11 swapZIndex
METHOD method_1726 isRightToLeft ()Z
COMMENT Checks if the currently set language uses right to left writing.
METHOD method_1727 getWidth (Ljava/lang/String;)I
Expand Down Expand Up @@ -153,6 +155,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer
ARG 8 layerType
ARG 9 backgroundColor
ARG 10 light
ARG 11 swapZIndex
METHOD method_30880 getWidth (Lnet/minecraft/class_5481;)I
COMMENT Gets the width of some text when rendered.
ARG 1 text
Expand Down