From 973c13e84f8e091a6a920779103d96559dcd32a8 Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 27 Aug 2022 01:38:49 +0200 Subject: Switch to yarn mappings --- src/main/kotlin/moe/nea/notenoughupdates/rei/NEUReiPlugin.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin/moe/nea/notenoughupdates/rei/NEUReiPlugin.kt') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/rei/NEUReiPlugin.kt b/src/main/kotlin/moe/nea/notenoughupdates/rei/NEUReiPlugin.kt index 624f5d8..475a5c9 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/rei/NEUReiPlugin.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/rei/NEUReiPlugin.kt @@ -8,19 +8,18 @@ import me.shedaniel.rei.api.common.entry.type.EntryTypeRegistry import me.shedaniel.rei.api.common.entry.type.VanillaEntryTypes import moe.nea.notenoughupdates.repo.ItemCache.asItemStack import moe.nea.notenoughupdates.repo.RepoManager -import net.minecraft.resources.ResourceLocation -import net.minecraft.world.item.ItemStack +import net.minecraft.item.ItemStack +import net.minecraft.util.Identifier class NEUReiPlugin : REIClientPlugin { companion object { - fun EntryStack.asItemEntry(): EntryStack { return EntryStack.of(VanillaEntryTypes.ITEM, value.asItemStack()) } - val SKYBLOCK_ITEM_TYPE_ID = ResourceLocation("notenoughupdates", "skyblockitems") + val SKYBLOCK_ITEM_TYPE_ID = Identifier("notenoughupdates", "skyblockitems") } override fun registerEntryTypes(registry: EntryTypeRegistry) { -- cgit