From 47ce58d320feedce57182ae0b88196bce518a57a Mon Sep 17 00:00:00 2001 From: Danielshe Date: Thu, 29 Aug 2019 23:24:43 +0800 Subject: We are out of beta - Fix #149 - Close #148 - SlotWidget API improvement --- src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java') diff --git a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java index 1bed855c8..e09a64b8f 100644 --- a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java @@ -358,6 +358,7 @@ public class VillagerRecipeViewingScreen extends Screen { GuiLighting.disable(); recipeRenderers.get(i).setBlitOffset(1); recipeRenderers.get(i).render(buttonWidgets.get(i).getBounds().x, buttonWidgets.get(i).getBounds().y, mouseX, mouseY, delta); + ScreenHelper.getLastOverlay().addTooltip(recipeRenderers.get(i).getQueuedTooltip(delta)); } } double height = buttonWidgets.stream().map(ButtonWidget::getBounds).collect(Collectors.summingDouble(Rectangle::getHeight)); -- cgit