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