aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-08-04 22:11:07 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-08-04 22:11:07 +0800
commit721ea24a226c2dca5cfef4b3f638d251547df0b8 (patch)
tree76c9d8c2790db8730c95af2d250a4b062df1215a /src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
parent82225991887f55047d161a18e6fa19f798c0ba67 (diff)
downloadRoughlyEnoughItems-721ea24a226c2dca5cfef4b3f638d251547df0b8.tar.gz
RoughlyEnoughItems-721ea24a226c2dca5cfef4b3f638d251547df0b8.tar.bz2
RoughlyEnoughItems-721ea24a226c2dca5cfef4b3f638d251547df0b8.zip
yes thank you
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
index 369993735..8a0b9c4e9 100644
--- a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
@@ -13,8 +13,8 @@ import me.shedaniel.rei.api.RecipeDisplay;
import me.shedaniel.rei.client.ScreenHelper;
import me.shedaniel.rei.gui.config.RecipeScreenType;
import me.shedaniel.rei.gui.widget.ButtonWidget;
-import me.shedaniel.rei.gui.widget.WidgetWithBounds;
import me.shedaniel.rei.gui.widget.Widget;
+import me.shedaniel.rei.gui.widget.WidgetWithBounds;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.Element;
import net.minecraft.client.gui.screen.Screen;
@@ -72,7 +72,7 @@ public class PreRecipeViewingScreen extends Screen {
this.renderBackground();
this.drawCenteredString(this.font, this.title.asFormattedString(), this.width / 2, 20, 16777215);
int i = 30;
- for(String s : this.font.wrapStringToWidthAsList(I18n.translate("text.rei.recipe_screen_type.selection.sub"), width - 30)) {
+ for (String s : this.font.wrapStringToWidthAsList(I18n.translate("text.rei.recipe_screen_type.selection.sub"), width - 30)) {
this.drawCenteredString(this.font, Formatting.GRAY.toString() + s, width / 2, i, -1);
i += 10;
}