aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-09-29 16:00:08 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-09-29 16:00:08 +0800
commitc3a7342da2a6fc4d451aba2b4816891448e794bf (patch)
tree344ea459ca8afe0539df9a3bb4a0cd674b948e83 /src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
parent897ee7224087ed4c6526ad0ceef6227ec8ace3dd (diff)
downloadRoughlyEnoughItems-c3a7342da2a6fc4d451aba2b4816891448e794bf.tar.gz
RoughlyEnoughItems-c3a7342da2a6fc4d451aba2b4816891448e794bf.tar.bz2
RoughlyEnoughItems-c3a7342da2a6fc4d451aba2b4816891448e794bf.zip
Update REi to 19w39a
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
index 41fb88c5d..11606bce0 100644
--- a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java
@@ -7,10 +7,10 @@ package me.shedaniel.rei.gui;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
+import com.mojang.blaze3d.systems.RenderSystem;
import com.zeitheron.hammercore.client.utils.Scissors;
import me.shedaniel.math.api.Point;
import me.shedaniel.math.api.Rectangle;
-import com.mojang.blaze3d.systems.RenderSystem;
import me.shedaniel.math.impl.PointHelper;
import me.shedaniel.rei.RoughlyEnoughItemsCore;
import me.shedaniel.rei.api.*;
@@ -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.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();
+ 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();
tessellator.draw();
RenderSystem.shadeModel(7424);
RenderSystem.disableBlend();