diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-03-21 21:15:10 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-03-21 21:15:10 +0800 |
| commit | 0d7431e4981226aba9d8011d76eabfb03d134499 (patch) | |
| tree | b21f733f3c98377907358109c1011193bfd5029a /src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java | |
| parent | c2d28cbf7028ffed2f56169adbce3f03cc0c5b49 (diff) | |
| download | RoughlyEnoughItems-0d7431e4981226aba9d8011d76eabfb03d134499.tar.gz RoughlyEnoughItems-0d7431e4981226aba9d8011d76eabfb03d134499.tar.bz2 RoughlyEnoughItems-0d7431e4981226aba9d8011d76eabfb03d134499.zip | |
Large v2.5 Update
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java index 21bce43f6..e018d706e 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/TabWidget.java @@ -15,14 +15,14 @@ import java.util.List; public class TabWidget extends HighlightableWidget { - private static final Identifier CHEST_GUI_TEXTURE = new Identifier("roughlyenoughitems", "textures/gui/recipecontainer.png"); + public static final Identifier CHEST_GUI_TEXTURE = new Identifier("roughlyenoughitems", "textures/gui/recipecontainer.png"); - private boolean shown = false, selected = false; - private ItemStack item; - private int id; - private RecipeViewingScreen recipeViewingWidget; - private String categoryName; - private Rectangle bounds; + public boolean shown = false, selected = false; + public ItemStack item; + public int id; + public RecipeViewingScreen recipeViewingWidget; + public String categoryName; + public Rectangle bounds; private ItemRenderer itemRenderer; public TabWidget(int id, RecipeViewingScreen recipeViewingWidget, Rectangle bounds) { @@ -66,7 +66,7 @@ public class TabWidget extends HighlightableWidget { } @Override - public void draw(int mouseX, int mouseY, float partialTicks) { + public void render(int mouseX, int mouseY, float partialTicks) { if (shown) { int l = (int) this.bounds.getCenterX() - 8, i1 = (int) this.bounds.getCenterY() - 6; |
