aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/util
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-18 01:07:35 +0200
committernea <nea@nea.moe>2023-05-18 01:07:35 +0200
commit3ebe3e80b929b03ad0bcb0c76cec6b3285fe08bd (patch)
tree76ec3fb6387365320eb4805642a12d35e3ef9d65 /src/main/kotlin/moe/nea/firmament/util
parent13f2b320c34abff8cbe1daa196a2e5e8f3f79188 (diff)
downloadfirmament-3ebe3e80b929b03ad0bcb0c76cec6b3285fe08bd.tar.gz
firmament-3ebe3e80b929b03ad0bcb0c76cec6b3285fe08bd.tar.bz2
firmament-3ebe3e80b929b03ad0bcb0c76cec6b3285fe08bd.zip
Make recipes with higher stack counts properly display
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util')
-rw-r--r--src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt b/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
index 70d511c..2786941 100644
--- a/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
+++ b/src/main/kotlin/moe/nea/firmament/util/SkyblockId.kt
@@ -12,6 +12,10 @@ import net.minecraft.util.Identifier
@JvmInline
value class SkyblockId(val neuItem: String) {
val identifier get() = Identifier("skyblockitem", neuItem.lowercase().replace(";", "__"))
+
+ companion object {
+ val NULL: SkyblockId = SkyblockId("null")
+ }
}
val NEUItem.skyblockId get() = SkyblockId(skyblockItemId)