Skip to content

neoforgenet.kernelpanicsoft.archie.data.common.conditionsAConditionsPlatformNeoForgeConditionCodec

NeoForgeConditionCodec


class NeoForgeConditionCodec(codec: MapCodec<out IACondition>) : MapCodec<AConditionsPlatform.NeoForgeCondition> 

Constructors

NeoForgeConditionCodec

constructor(codec: MapCodec<out IACondition>)

Properties

neoforge


Functions

ap


open fun <E : Any> ap(p0: MapDecoder<Function<in AConditionsPlatform.NeoForgeCondition, out E>>): MapDecoder<E>

codec


comap


open fun <B : Any> comap(p0: Function<in B, out AConditionsPlatform.NeoForgeCondition>): MapEncoder<B>

compressedBuilder


open fun <T : Any> compressedBuilder(p0: DynamicOps<T>): RecordBuilder<T>

compressedDecode


open fun <T : Any> compressedDecode(p0: DynamicOps<T>, p1: T): DataResult<AConditionsPlatform.NeoForgeCondition>

compressor


open override fun <T : Any> compressor(p0: DynamicOps<T>): KeyCompressor<T>

decode


open override fun <T> decode(ops: DynamicOps<T>, input: MapLike<T>): DataResult<AConditionsPlatform.NeoForgeCondition>

decoder


dependent


deprecated


encode


open override fun <T> encode(input: AConditionsPlatform.NeoForgeCondition, ops: DynamicOps<T>, prefix: RecordBuilder<T>): RecordBuilder<T>

encoder


fieldOf


flatComap


open fun <B : Any> flatComap(p0: Function<in B, out DataResult<out AConditionsPlatform.NeoForgeCondition>>): MapEncoder<B>

flatMap


open fun <B : Any> flatMap(p0: Function<in AConditionsPlatform.NeoForgeCondition, out DataResult<out B>>): MapDecoder<B>

flatXmap


open fun <S : Any> flatXmap(p0: Function<in AConditionsPlatform.NeoForgeCondition, out DataResult<out S>>, p1: Function<in S, out DataResult<out AConditionsPlatform.NeoForgeCondition>>): MapCodec<S>

forGetter


keys


open override fun <T> keys(ops: DynamicOps<T>): Stream<T>

map


open fun <B : Any> map(p0: Function<in AConditionsPlatform.NeoForgeCondition, out B>): MapDecoder<B>

mapResult


orElse




orElseGet




setPartial


stable


validate


withLifecycle


open override fun withLifecycle(p0: Lifecycle): MapCodec<AConditionsPlatform.NeoForgeCondition>

xmap