From a3b1001b3c52c13d6c92f505e6eab1adad5b98aa Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 29 Jul 2024 17:01:05 +0200 Subject: Fix mob drop recipe icon --- src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/moe/nea') diff --git a/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt b/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt index f0f8a6d..edb00ac 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt @@ -15,7 +15,7 @@ import me.shedaniel.rei.api.client.gui.widgets.Widgets import me.shedaniel.rei.api.client.registry.display.DisplayCategory import me.shedaniel.rei.api.common.category.CategoryIdentifier import me.shedaniel.rei.api.common.util.EntryStacks -import net.minecraft.block.Blocks +import net.minecraft.item.Items import net.minecraft.text.Text import net.minecraft.util.Identifier import moe.nea.firmament.Firmament @@ -35,7 +35,7 @@ class SBMobDropRecipe(override val neuRecipe: NEUMobDropRecipe) : SBRecipe() { return 100 } - override fun getIcon(): Renderer = EntryStacks.of(Blocks.ANVIL) + override fun getIcon(): Renderer = EntryStacks.of(Items.DIAMOND_SWORD) override fun setupDisplay(display: SBMobDropRecipe, bounds: Rectangle): List { return buildList { add(Widgets.createRecipeBase(bounds)) -- cgit