aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-10-10 20:42:31 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-10-10 20:42:31 +0800
commit675387b674b648f013d7fd95508845eedc0e4647 (patch)
tree196600eceebd667de41ca32fee42df5d611b3027 /src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
parentbfbd294a9485f54248d7510aefcbcc4828c5ea2d (diff)
downloadRoughlyEnoughItems-675387b674b648f013d7fd95508845eedc0e4647.tar.gz
RoughlyEnoughItems-675387b674b648f013d7fd95508845eedc0e4647.tar.bz2
RoughlyEnoughItems-675387b674b648f013d7fd95508845eedc0e4647.zip
19w41a
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
index 11606bce0..4d02a3a5f 100644
--- a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
@@ -375,10 +375,10 @@ public class VillagerRecipeViewingScreen extends Screen {
RenderSystem.shadeModel(7425);
buffer.begin(7, VertexFormats.POSITION_COLOR);
float b = ScreenHelper.isDarkModeEnabled() ? 0.37f : 1f;
- buffer.method_22912(scrollbarPositionMinX, minY + scrollBarHeight, 1000D).method_22915(b, b, b, scrollBarAlpha).next();
- buffer.method_22912(scrollbarPositionMaxX, minY + scrollBarHeight, 1000D).method_22915(b, b, b, scrollBarAlpha).next();
- buffer.method_22912(scrollbarPositionMaxX, minY, 1000D).method_22915(b, b, b, scrollBarAlpha).next();
- buffer.method_22912(scrollbarPositionMinX, minY, 1000D).method_22915(b, b, b, scrollBarAlpha).next();
+ buffer.vertex(scrollbarPositionMinX, minY + scrollBarHeight, 1000D).color(b, b, b, scrollBarAlpha).next();
+ buffer.vertex(scrollbarPositionMaxX, minY + scrollBarHeight, 1000D).color(b, b, b, scrollBarAlpha).next();
+ buffer.vertex(scrollbarPositionMaxX, minY, 1000D).color(b, b, b, scrollBarAlpha).next();
+ buffer.vertex(scrollbarPositionMinX, minY, 1000D).color(b, b, b, scrollBarAlpha).next();
tessellator.draw();
RenderSystem.shadeModel(7424);
RenderSystem.disableBlend();