Companion¶
object Companion
Properties¶
CODEC¶
val CODEC: Codec<IACondition>
The dispatch codec that decodes any registered IACondition type by its identifier.
Functions¶
register¶
inline fun <T : IACondition> register(identifier: ResourceLocation, codec: MapCodec<T>)
Registers condition type T under identifier so it can be decoded via CODEC.