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