diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-05-30 00:47:22 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-05-30 00:47:22 +0800 |
| commit | 6b50609e7670f25662394e5d6f6ec8b974d07a3d (patch) | |
| tree | 150d66af0801f77ef87049141e6f5f833b9b109f /src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java | |
| parent | d02c4819966c2ff0a8894c7e4853d385d3986141 (diff) | |
| download | RoughlyEnoughItems-6b50609e7670f25662394e5d6f6ec8b974d07a3d.tar.gz RoughlyEnoughItems-6b50609e7670f25662394e5d6f6ec8b974d07a3d.tar.bz2 RoughlyEnoughItems-6b50609e7670f25662394e5d6f6ec8b974d07a3d.zip | |
20w22a
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java index 603243fd2..d57a9bbfd 100644 --- a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java @@ -34,6 +34,7 @@ import me.shedaniel.rei.gui.config.RecipeScreenType; import me.shedaniel.rei.gui.widget.Widget; import me.shedaniel.rei.gui.widget.WidgetWithBounds; import me.shedaniel.rei.impl.ScreenHelper; +import net.minecraft.class_5348; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.Element; import net.minecraft.client.gui.screen.Screen; @@ -127,7 +128,7 @@ public class PreRecipeViewingScreen extends Screen { this.drawCenteredText(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").formatted(Formatting.GRAY), width - 30)) { + for (class_5348 s : this.textRenderer.wrapStringToWidthAsList(new TranslatableText("text.rei.recipe_screen_type.selection.sub").formatted(Formatting.GRAY), width - 30)) { this.drawCenteredText(matrices, this.textRenderer, s, width / 2, i, -1); i += 10; } |
