aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-01-17 14:31:30 +0800
committershedaniel <daniel@shedaniel.me>2020-01-17 14:31:30 +0800
commit7a1cf35934ef14c04f884fe6ae34282e1d6243ba (patch)
treee84d0c5bfb9929f065544e96ecc1fb07d3496c29 /src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
parentb4be45e414504afb49910d766bebcd00f55b052b (diff)
downloadRoughlyEnoughItems-7a1cf35934ef14c04f884fe6ae34282e1d6243ba.tar.gz
RoughlyEnoughItems-7a1cf35934ef14c04f884fe6ae34282e1d6243ba.tar.bz2
RoughlyEnoughItems-7a1cf35934ef14c04f884fe6ae34282e1d6243ba.zip
3.3.12
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
index 1220a4df2..1bc99288b 100644
--- a/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/PreRecipeViewingScreen.java
@@ -11,7 +11,6 @@ import me.shedaniel.clothconfig2.gui.widget.DynamicNewSmoothScrollingEntryListWi
import me.shedaniel.clothconfig2.impl.EasingMethod;
import me.shedaniel.math.api.Point;
import me.shedaniel.math.api.Rectangle;
-import me.shedaniel.rei.api.annotations.Internal;
import me.shedaniel.rei.gui.config.RecipeScreenType;
import me.shedaniel.rei.gui.widget.ButtonWidget;
import me.shedaniel.rei.gui.widget.LabelWidget;
@@ -27,16 +26,18 @@ import net.minecraft.text.TranslatableText;
import net.minecraft.util.Formatting;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.MathHelper;
+import org.jetbrains.annotations.ApiStatus;
import java.util.Collections;
import java.util.List;
-@Internal
-@Deprecated
+@ApiStatus.Internal
public class PreRecipeViewingScreen extends Screen {
private static final Identifier IDENTIFIER = new Identifier("roughlyenoughitems", "textures/gui/screenshot.png");
private final List<Widget> widgets;
+ protected long start;
+ protected long duration;
private boolean isSet;
private boolean original;
private double frame = 0;
@@ -44,8 +45,6 @@ public class PreRecipeViewingScreen extends Screen {
private BooleanConsumer callback;
private Screen parent;
private boolean showTips;
- protected long start;
- protected long duration;
public PreRecipeViewingScreen(Screen parent, RecipeScreenType type, boolean showTips, BooleanConsumer callback) {
super(new TranslatableText("text.rei.recipe_screen_type.selection"));