neoforge • net.kernelpanicsoft.archie.data.common.conditions • AConditionsPlatform • NeoForgeConditionCodec
NeoForgeConditionCodec
class NeoForgeConditionCodec(codec: MapCodec<out IACondition>) : MapCodec<AConditionsPlatform.NeoForgeCondition> Constructors
NeoForgeConditionCodec
constructor(codec: MapCodec<out IACondition>)Properties
neoforge
val MapCodec<out IACondition>.neoforge: AConditionsPlatform.NeoForgeConditionCodecFunctions
ap
open fun <E : Any> ap(p0: MapDecoder<Function<in AConditionsPlatform.NeoForgeCondition, out E>>): MapDecoder<E>codec
open fun codec(): Codec<AConditionsPlatform.NeoForgeCondition>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
open fun decoder(): Decoder<AConditionsPlatform.NeoForgeCondition>dependent
open fun <E : Any> dependent(p0: MapCodec<E>, p1: Function<AConditionsPlatform.NeoForgeCondition, Pair<E, MapCodec<E>>>, p2: BiFunction<AConditionsPlatform.NeoForgeCondition, E, AConditionsPlatform.NeoForgeCondition>): MapCodec<AConditionsPlatform.NeoForgeCondition>deprecated
open fun deprecated(p0: Int): MapCodec<AConditionsPlatform.NeoForgeCondition>encode
open override fun <T> encode(input: AConditionsPlatform.NeoForgeCondition, ops: DynamicOps<T>, prefix: RecordBuilder<T>): RecordBuilder<T>encoder
open fun encoder(): Encoder<AConditionsPlatform.NeoForgeCondition>fieldOf
open fun fieldOf(p0: String): MapCodec<AConditionsPlatform.NeoForgeCondition>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
fun <O : Any> forGetter(p0: Function<O, AConditionsPlatform.NeoForgeCondition>): RecordCodecBuilder<O, AConditionsPlatform.NeoForgeCondition>keys
map
open fun <B : Any> map(p0: Function<in AConditionsPlatform.NeoForgeCondition, out B>): MapDecoder<B>mapResult
open fun mapResult(p0: MapCodec.ResultFunction<AConditionsPlatform.NeoForgeCondition>): MapCodec<AConditionsPlatform.NeoForgeCondition>orElse
open fun orElse(p0: AConditionsPlatform.NeoForgeCondition): MapCodec<AConditionsPlatform.NeoForgeCondition>open fun orElse(p0: Consumer<String>, p1: AConditionsPlatform.NeoForgeCondition): MapCodec<AConditionsPlatform.NeoForgeCondition>open fun orElse(p0: UnaryOperator<String>, p1: AConditionsPlatform.NeoForgeCondition): MapCodec<AConditionsPlatform.NeoForgeCondition>orElseGet
open fun orElseGet(p0: Supplier<out AConditionsPlatform.NeoForgeCondition>): MapCodec<AConditionsPlatform.NeoForgeCondition>open fun orElseGet(p0: Consumer<String>, p1: Supplier<out AConditionsPlatform.NeoForgeCondition>): MapCodec<AConditionsPlatform.NeoForgeCondition>open fun orElseGet(p0: UnaryOperator<String>, p1: Supplier<out AConditionsPlatform.NeoForgeCondition>): MapCodec<AConditionsPlatform.NeoForgeCondition>setPartial
open fun setPartial(p0: Supplier<AConditionsPlatform.NeoForgeCondition>): MapCodec<AConditionsPlatform.NeoForgeCondition>stable
open fun stable(): MapCodec<AConditionsPlatform.NeoForgeCondition>validate
open fun validate(p0: Function<AConditionsPlatform.NeoForgeCondition, DataResult<AConditionsPlatform.NeoForgeCondition>>): MapCodec<AConditionsPlatform.NeoForgeCondition>withLifecycle
open override fun withLifecycle(p0: Lifecycle): MapCodec<AConditionsPlatform.NeoForgeCondition>xmap
open fun <S : Any> xmap(p0: Function<in AConditionsPlatform.NeoForgeCondition, out S>, p1: Function<in S, out AConditionsPlatform.NeoForgeCondition>): MapCodec<S>