From b0713c655499dd6bcce7334deae27d498e5a398d Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 15 Oct 2024 14:12:07 +0100 Subject: [PATCH] 1.21.2-pre4 --- build.gradle | 2 +- .../minecraft/client/font/TextRenderer.mapping | 15 ++++++--------- .../screen/recipebook/RecipeBookWidget.mapping | 2 -- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index c5cbe3c804..f18108a16d 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ plugins { id 'net.fabricmc.filament' } -def minecraft_version = "1.21.2-pre3" +def minecraft_version = "1.21.2-pre4" filament { minecraftVersion = minecraft_version diff --git a/mappings/net/minecraft/client/font/TextRenderer.mapping b/mappings/net/minecraft/client/font/TextRenderer.mapping index 54447e7018..909cd5917d 100644 --- a/mappings/net/minecraft/client/font/TextRenderer.mapping +++ b/mappings/net/minecraft/client/font/TextRenderer.mapping @@ -34,7 +34,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 2 width METHOD method_1721 mirror (Ljava/lang/String;)Ljava/lang/String; ARG 1 text - METHOD method_1723 drawInternal (Lnet/minecraft/class_5481;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;II)I + METHOD method_1723 drawInternal (Lnet/minecraft/class_5481;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;IIZ)I ARG 1 text ARG 2 x ARG 3 y @@ -45,7 +45,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 8 layerType ARG 9 backgroundColor ARG 10 light - METHOD method_1724 drawLayer (Ljava/lang/String;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;II)F + 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 ARG 3 y @@ -86,7 +86,6 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 1 codePoint ARG 2 style METHOD method_27521 draw (Ljava/lang/String;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;II)I - ARG 1 text ARG 2 x ARG 3 y ARG 4 color @@ -97,8 +96,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 8 layerType ARG 9 backgroundColor ARG 10 light - METHOD method_27522 draw (Ljava/lang/String;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;IIZ)I - ARG 1 text + METHOD method_27522 draw (Lnet/minecraft/class_2561;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;II)I ARG 2 x ARG 3 y ARG 4 color @@ -109,7 +107,6 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 8 layerType ARG 9 backgroundColor ARG 10 light - ARG 11 rightToLeft METHOD method_27523 trimToWidth (Ljava/lang/String;I)Ljava/lang/String; COMMENT Trims a string to be at most {@code maxWidth} wide. COMMENT @@ -143,7 +140,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer ARG 9 backgroundColor ARG 10 light ARG 11 mirror - METHOD method_27530 drawLayer (Lnet/minecraft/class_5481;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;II)F + METHOD method_27530 drawLayer (Lnet/minecraft/class_5481;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;IIZ)F ARG 1 text ARG 2 x ARG 3 y @@ -157,7 +154,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer METHOD method_30880 getWidth (Lnet/minecraft/class_5481;)I COMMENT Gets the width of some text when rendered. ARG 1 text - METHOD method_30882 draw (Lnet/minecraft/class_2561;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;II)I + METHOD method_30882 draw (Lnet/minecraft/class_2561;FFIZLorg/joml/Matrix4f;Lnet/minecraft/class_4597;Lnet/minecraft/class_327$class_6415;IIZ)I ARG 1 text ARG 2 x ARG 3 y @@ -203,7 +200,7 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer FIELD field_54817 color I FIELD field_54818 backgroundColor I FIELD field_54911 glyphs Ljava/util/List; - METHOD (Lnet/minecraft/class_327;Lnet/minecraft/class_4597;FFIIZLorg/joml/Matrix4f;Lnet/minecraft/class_327$class_6415;I)V + METHOD (Lnet/minecraft/class_327;Lnet/minecraft/class_4597;FFIIZLorg/joml/Matrix4f;Lnet/minecraft/class_327$class_6415;IZ)V ARG 2 vertexConsumers ARG 3 x ARG 4 y diff --git a/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookWidget.mapping b/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookWidget.mapping index c67fd309b0..44dfcfdc79 100644 --- a/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookWidget.mapping +++ b/mappings/net/minecraft/client/gui/screen/recipebook/RecipeBookWidget.mapping @@ -33,8 +33,6 @@ CLASS net/minecraft/class_507 net/minecraft/client/gui/screen/recipebook/RecipeB METHOD method_17064 getToggleCraftableButtonText ()Lnet/minecraft/class_2561; METHOD method_2576 triggerPirateSpeakEasterEgg (Ljava/lang/String;)V ARG 1 search - METHOD method_2577 (Lnet/minecraft/class_516;)V - ARG 1 collection METHOD method_2579 reset ()V METHOD method_2581 drawGhostSlots (Lnet/minecraft/class_332;Z)V ARG 1 context