blob: d10b6e9de23856bc5e69683cecbbd31a9a8e6650 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package moe.nea.firmament.features.texturepack
import kotlinx.serialization.Serializable
import net.minecraft.world.entity.LivingEntity
import net.minecraft.world.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)
}
|