From 58ddb75642a241a454dbe367a250975edf3175a0 Mon Sep 17 00:00:00 2001 From: enbrain <69905075+enbrain@users.noreply.github.com> Date: Wed, 21 Oct 2020 01:55:43 +0900 Subject: [PATCH] Add javadoc for color parameters in TextRenderer (#1806) --- .../net/minecraft/client/font/TextRenderer.mapping | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mappings/net/minecraft/client/font/TextRenderer.mapping b/mappings/net/minecraft/client/font/TextRenderer.mapping index 53e740c754..fc3ea1a677 100644 --- a/mappings/net/minecraft/client/font/TextRenderer.mapping +++ b/mappings/net/minecraft/client/font/TextRenderer.mapping @@ -26,6 +26,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 y ARG 4 maxWidth ARG 5 color + COMMENT the text color in the 0xAARRGGBB format METHOD method_1713 getStringBoundedHeight (Ljava/lang/String;I)I ARG 1 text ARG 2 maxWidth @@ -38,6 +39,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format METHOD method_1721 mirror (Ljava/lang/String;)Ljava/lang/String; ARG 1 text METHOD method_1723 drawInternal (Lnet/minecraft/class_5481;FFIZLnet/minecraft/class_1159;Lnet/minecraft/class_4597;ZII)I @@ -74,6 +76,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format METHOD method_22941 draw (Lnet/minecraft/class_5481;FFILnet/minecraft/class_1159;Z)I ARG 1 text ARG 2 x @@ -86,6 +89,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 2 x ARG 3 y ARG 4 color + COMMENT the text color in the 0xAARRGGBB format ARG 5 shadow ARG 6 matrix ARG 7 vertexConsumers @@ -102,6 +106,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format METHOD method_27520 draw (Ljava/lang/String;FFILnet/minecraft/class_1159;ZZ)I ARG 1 text ARG 2 x @@ -115,6 +120,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 2 x ARG 3 y ARG 4 color + COMMENT the text color in the 0xAARRGGBB format ARG 5 shadow ARG 6 matrix ARG 7 vertexConsumers @@ -126,6 +132,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 2 x ARG 3 y ARG 4 color + COMMENT the text color in the 0xAARRGGBB format ARG 5 shadow ARG 6 matrix ARG 7 vertexConsumers @@ -151,6 +158,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format METHOD method_27529 drawInternal (Ljava/lang/String;FFIZLnet/minecraft/class_1159;Lnet/minecraft/class_4597;ZIIZ)I ARG 1 text ARG 2 x @@ -180,6 +188,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format ARG 6 rightToLeft METHOD method_30880 getWidth (Lnet/minecraft/class_5481;)I ARG 1 text @@ -189,11 +198,13 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format METHOD method_30882 draw (Lnet/minecraft/class_2561;FFIZLnet/minecraft/class_1159;Lnet/minecraft/class_4597;ZII)I ARG 1 text ARG 2 x ARG 3 y ARG 4 color + COMMENT the text color in the 0xAARRGGBB format ARG 5 shadow ARG 6 matrix ARG 7 vertexConsumers @@ -206,6 +217,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 3 x ARG 4 y ARG 5 color + COMMENT the text color in the 0xAARRGGBB format CLASS class_5232 Drawer FIELD field_24239 vertexConsumers Lnet/minecraft/class_4597; FIELD field_24241 shadow Z