chore: Clean up some unused methods

This commit is contained in:
Linnea Gräf
2025-03-08 14:23:55 +01:00
parent cf63211a9f
commit 7070b0794c

View File

@@ -1,20 +1,6 @@
package moe.nea.firmament.compat.jade
import snownee.jade.api.ui.IElement
import snownee.jade.api.ui.IElementHelper
import net.minecraft.item.ItemStack
import net.minecraft.item.Items
import net.minecraft.util.Identifier
import moe.nea.firmament.util.SBData
import moe.nea.firmament.util.SkyblockId
import moe.nea.firmament.util.setSkyBlockId
fun String.jadeId(): Identifier = Identifier.of("firmament", this)
// This drill icon should work for CIT resource packs
val drillItem: ItemStack = Items.PRISMARINE_SHARD.defaultStack.setSkyBlockId(SkyblockId("TITANIUM_DRILL_1"))
val drillIcon: IElement = IElementHelper.get().item(drillItem, 0.5f).message(null)
fun isOnMiningIsland(): Boolean =
SBData.skyblockLocation?.hasCustomMining ?: false