diff options
| author | Danielshe <shekwancheung0528@gmail.com> | 2019-08-29 23:24:43 +0800 |
|---|---|---|
| committer | Danielshe <shekwancheung0528@gmail.com> | 2019-08-29 23:24:43 +0800 |
| commit | 47ce58d320feedce57182ae0b88196bce518a57a (patch) | |
| tree | d5ea5b0e4d5aa6590929e2a3c37c9d642f831aba /src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | |
| parent | b960e33306056c126c3816ec471c58c3b5a7be7f (diff) | |
| download | RoughlyEnoughItems-47ce58d320feedce57182ae0b88196bce518a57a.tar.gz RoughlyEnoughItems-47ce58d320feedce57182ae0b88196bce518a57a.tar.bz2 RoughlyEnoughItems-47ce58d320feedce57182ae0b88196bce518a57a.zip | |
We are out of beta
- Fix #149
- Close #148
- SlotWidget API improvement
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | 1 |
1 files changed, 1 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 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)); |
