diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-07-27 02:13:43 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-07-27 02:13:43 +0800 |
| commit | f2345acc57d7d347507505a6976e20378bc0fbf9 (patch) | |
| tree | dbff335e174954e836c95f9344390feb3750da43 /fabric/src/main/java/me/shedaniel/rei/impl/client | |
| parent | 1d8b8e4e91adb33d208a5c3b4b2ccc36a0ef25a4 (diff) | |
| download | RoughlyEnoughItems-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/client')
| -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()) { |
