From be7b641955a197d55251c3cbd4a314476cf94fb3 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Thu, 30 Apr 2020 01:08:07 +0800 Subject: Update to 20w18a and add recipe exporter Signed-off-by: shedaniel --- src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java') diff --git a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java index 0fd4f6a0c..bdf3bf4e2 100644 --- a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java @@ -127,7 +127,7 @@ public class PreRecipeViewingScreen extends Screen { this.method_27534(matrices, this.textRenderer, this.title, this.width / 2, 20, 16777215); if (showTips) { int i = 30; - for (Text s : this.textRenderer.wrapStringToWidthAsList(new TranslatableText("text.rei.recipe_screen_type.selection.sub").method_27692(Formatting.GRAY), width - 30)) { + for (Text s : this.textRenderer.wrapLines(new TranslatableText("text.rei.recipe_screen_type.selection.sub").formatted(Formatting.GRAY), width - 30)) { this.method_27534(matrices, this.textRenderer, s, width / 2, i, -1); i += 10; } -- cgit