diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-05-12 00:42:09 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-05-12 00:42:09 +0800 |
| commit | aa916b6d14d62e062fec49c378e0f62b254c83ae (patch) | |
| tree | 9ac8ad66b682ff0f6ed77464088b9366f33c014b /src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | |
| parent | 7797c3bc83ba198eb6e13b67cb7980012dfa1663 (diff) | |
| download | RoughlyEnoughItems-aa916b6d14d62e062fec49c378e0f62b254c83ae.tar.gz RoughlyEnoughItems-aa916b6d14d62e062fec49c378e0f62b254c83ae.tar.bz2 RoughlyEnoughItems-aa916b6d14d62e062fec49c378e0f62b254c83ae.zip | |
Extra button texture
Close #92
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java index 99ca687d8..d57c9a53b 100644 --- a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java @@ -102,6 +102,12 @@ public class VillagerRecipeViewingScreen extends Screen { selectedRecipeIndex = finalIndex; VillagerRecipeViewingScreen.this.init(); } + + @Override + protected int getTextureId(boolean boolean_1) { + enabled = selectedRecipeIndex != finalIndex; + return super.getTextureId(boolean_1); + } }); index++; } |
