From 3be33bb522f468b812bb59b7f2edc8d1ca352661 Mon Sep 17 00:00:00 2001 From: nea Date: Wed, 3 May 2023 00:52:37 +0200 Subject: Modernize and 1.19.4ify --- src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea/notenoughupdates/rei') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt b/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt index c851758..6e88b42 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/rei/SBItemEntryDefinition.kt @@ -16,10 +16,10 @@ import moe.nea.notenoughupdates.repo.ItemCache.asItemStack import moe.nea.notenoughupdates.repo.ItemCache.getIdentifier import net.minecraft.client.util.math.MatrixStack import net.minecraft.item.ItemStack -import net.minecraft.tag.TagKey import net.minecraft.text.Text import net.minecraft.util.Identifier import java.util.stream.Stream +import net.minecraft.registry.tag.TagKey object SBItemEntryDefinition : EntryDefinition { override fun equals(o1: NEUItem?, o2: NEUItem?, context: ComparisonContext?): Boolean { @@ -61,7 +61,7 @@ object SBItemEntryDefinition : EntryDefinition { return null } - override fun getTagsFor(entry: EntryStack?, value: NEUItem?): Stream> { + override fun getTagsFor(entry: EntryStack?, value: NEUItem?): Stream>? { return Stream.empty() } -- cgit