aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-01-02 14:31:16 +0800
committershedaniel <daniel@shedaniel.me>2020-01-02 14:31:16 +0800
commit5e2eccadbd91171c01cdb209d1338bcfb7786b1c (patch)
tree6c7387de5baea8b335e8abe58651018f77ad2d41 /src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java
parente8714fe8fc1dcaec7ad299c63e2b657870c8fb40 (diff)
downloadRoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.tar.gz
RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.tar.bz2
RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.zip
3.3
Fix #58 Close #134 Close #158 Fix #227
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java
index 06e9f45ed..f48d3020e 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java
@@ -15,21 +15,21 @@ import java.util.Collections;
import java.util.List;
public class RecipeArrowWidget extends WidgetWithBounds {
-
+
private int x, y;
private boolean animated;
-
+
public RecipeArrowWidget(int x, int y, boolean animated) {
this.x = x;
this.y = y;
this.animated = animated;
}
-
+
@Override
public Rectangle getBounds() {
return new Rectangle(x, y, 24, 17);
}
-
+
@Override
public void render(int mouseX, int mouseY, float delta) {
MinecraftClient.getInstance().getTextureManager().bindTexture(DefaultPlugin.getDisplayTexture());
@@ -39,7 +39,7 @@ public class RecipeArrowWidget extends WidgetWithBounds {
blit(x, y, 82, 91, width, 17);
}
}
-
+
@Override
public List<? extends Element> children() {
return Collections.emptyList();