aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-05-12 16:26:48 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-05-12 16:26:48 +0800
commit45ed37cc8d0088b57cd2605482f471e69e5885f4 (patch)
tree8ee0867c3e6db6d0a6c3c6b0dab0ed8afab2106e /src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
parent2307972bc9fc7682499b12d3e9e3cdf33cc26d62 (diff)
downloadRoughlyEnoughItems-45ed37cc8d0088b57cd2605482f471e69e5885f4.tar.gz
RoughlyEnoughItems-45ed37cc8d0088b57cd2605482f471e69e5885f4.tar.bz2
RoughlyEnoughItems-45ed37cc8d0088b57cd2605482f471e69e5885f4.zip
Update Mappings
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
index 54560ed89..7509524c6 100644
--- a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
@@ -16,13 +16,13 @@ import me.shedaniel.rei.gui.widget.ButtonWidget;
import me.shedaniel.rei.gui.widget.HighlightableWidget;
import me.shedaniel.rei.gui.widget.Widget;
import net.minecraft.client.MinecraftClient;
-import net.minecraft.client.audio.PositionedSoundInstance;
import net.minecraft.client.gui.Element;
import net.minecraft.client.gui.Screen;
import net.minecraft.client.render.GuiLighting;
import net.minecraft.client.resource.language.I18n;
+import net.minecraft.client.sound.PositionedSoundInstance;
+import net.minecraft.network.chat.TextComponent;
import net.minecraft.sound.SoundEvents;
-import net.minecraft.text.TranslatableTextComponent;
import net.minecraft.util.Identifier;
import java.awt.*;
@@ -39,7 +39,7 @@ public class PreRecipeViewingScreen extends Screen {
private Map<RecipeCategory, List<RecipeDisplay>> map;
public PreRecipeViewingScreen(Map<RecipeCategory, List<RecipeDisplay>> map) {
- super(new TranslatableTextComponent("text.rei.recipe_screen_type.selection"));
+ super(new TextComponent("text.rei.recipe_screen_type.selection"));
this.widgets = Lists.newArrayList();
this.original = true;
this.map = map;