fix: Armor predicates not being loaded correctly
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package moe.nea.firmament.features.texturepack
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import net.minecraft.entity.LivingEntity
|
||||
import net.minecraft.item.ItemStack
|
||||
|
||||
@Serializable(with = FirmamentRootPredicateSerializer::class)
|
||||
interface FirmamentModelPredicate {
|
||||
fun test(stack: ItemStack, holder: LivingEntity?): Boolean = test(stack)
|
||||
fun test(stack: ItemStack): Boolean = test(stack, null)
|
||||
|
||||
Reference in New Issue
Block a user