From 3ac5c34273342af62f44bd656e50d5d6ecb1c304 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 12 Nov 2024 22:14:49 +0100 Subject: fix: Re-add extra item tooltips to the item list --- .../java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/compat/rei/java') diff --git a/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt b/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt index de173ff..a708c5b 100644 --- a/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt +++ b/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt @@ -27,7 +27,9 @@ import net.minecraft.client.render.VertexConsumerProvider import net.minecraft.client.render.model.BakedModel import net.minecraft.client.texture.SpriteAtlasTexture import net.minecraft.item.ModelTransformationMode +import net.minecraft.item.tooltip.TooltipType import moe.nea.firmament.compat.rei.FirmamentReiPlugin.Companion.asItemEntry +import moe.nea.firmament.events.ItemTooltipEvent import moe.nea.firmament.repo.SBItemStack import moe.nea.firmament.util.MC import moe.nea.firmament.util.mc.displayNameAccordingToNbt @@ -52,7 +54,12 @@ object NEUItemEntryRenderer : EntryRenderer, BatchedEntryRenderer