aboutsummaryrefslogtreecommitdiff
path: root/fabric/src/main/java/me/shedaniel/rei/impl
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2022-07-27 02:13:43 +0800
committershedaniel <daniel@shedaniel.me>2022-07-27 02:13:43 +0800
commitf2345acc57d7d347507505a6976e20378bc0fbf9 (patch)
treedbff335e174954e836c95f9344390feb3750da43 /fabric/src/main/java/me/shedaniel/rei/impl
parent1d8b8e4e91adb33d208a5c3b4b2ccc36a0ef25a4 (diff)
downloadRoughlyEnoughItems-f2345acc57d7d347507505a6976e20378bc0fbf9.tar.gz
RoughlyEnoughItems-f2345acc57d7d347507505a6976e20378bc0fbf9.tar.bz2
RoughlyEnoughItems-f2345acc57d7d347507505a6976e20378bc0fbf9.zip
Make Architectury Plugin compile only
Diffstat (limited to 'fabric/src/main/java/me/shedaniel/rei/impl')
-rw-r--r--fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplFabric.java (renamed from fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java)7
1 files changed, 4 insertions, 3 deletions
diff --git a/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java b/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplFabric.java
index 03a697957..2021b33aa 100644
--- a/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java
+++ b/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplFabric.java
@@ -26,7 +26,7 @@ package me.shedaniel.rei.impl.client.gui.fabric;
import com.mojang.blaze3d.vertex.PoseStack;
import me.shedaniel.rei.api.client.gui.widgets.Tooltip;
import me.shedaniel.rei.impl.ClientInternals;
-import me.shedaniel.rei.impl.client.gui.widget.QueuedTooltip;
+import me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent;
@@ -40,8 +40,9 @@ import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
-public class ScreenOverlayImplImpl {
- public static void renderTooltipInner(Screen screen, PoseStack matrices, Tooltip tooltip, int mouseX, int mouseY) {
+public class ScreenOverlayImplFabric extends ScreenOverlayImpl {
+ @Override
+ public void renderTooltipInner(Screen screen, PoseStack matrices, Tooltip tooltip, int mouseX, int mouseY) {
List<ClientTooltipComponent> lines = tooltip.entries().stream()
.flatMap(component -> {
if (component.isText()) {