aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/rei
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-29 17:01:05 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-29 17:01:05 +0200
commita3b1001b3c52c13d6c92f505e6eab1adad5b98aa (patch)
treed44c887c7c1f4ca5cc8a009cb4bc0c1d2de6b714 /src/main/kotlin/moe/nea/firmament/rei
parent7598f374774317f3eebbb614d6860d8a47a5e370 (diff)
downloadFirmament-a3b1001b3c52c13d6c92f505e6eab1adad5b98aa.tar.gz
Firmament-a3b1001b3c52c13d6c92f505e6eab1adad5b98aa.tar.bz2
Firmament-a3b1001b3c52c13d6c92f505e6eab1adad5b98aa.zip
Fix mob drop recipe icon
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/rei')
-rw-r--r--src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt4
1 files changed, 2 insertions, 2 deletions
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<Widget> {
return buildList {
add(Widgets.createRecipeBase(bounds))