Skip to content

Commit

Permalink
new: swapZIndex param in TextRenderer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Octol1ttle committed Oct 15, 2024
1 parent e7c2e1d commit a4549ab
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit a4549ab

Please sign in to comment.