net.minecraft.util

final class ExtraCodecs$StrictOptionalFieldCodec<A>

extends com.mojang.serialization.MapCodec<Optional<A>>

arf$d
net.minecraft.util.ExtraCodecs$StrictOptionalFieldCodec
net.minecraft.class_5699$class_8742
net.minecraft.util.dynamic.Codecs$StrictOptionalField
net.minecraft.src.C_140989_$C_290038_
net.minecraft.util.ExtraCodecs$d

Field summary

Modifier and TypeField
private final String
a
name
field_45717
field
f_291177_
private final com.mojang.serialization.Codec<A>
b
elementCodec
field_45718
codec
f_291168_

Constructor summary

ModifierConstructor
public (String field, com.mojang.serialization.Codec<A> codec)

Method summary

Modifier and TypeMethod
public <T> com.mojang.serialization.DataResult<Optional<A>>
decode(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.MapLike<T> arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.MapLike<T> arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.MapLike<T> arg1)
decode(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.MapLike<T> input)
decode(com.mojang.serialization.DynamicOps<T> p_298150_, com.mojang.serialization.MapLike<T> arg1)
public <T> com.mojang.serialization.RecordBuilder<T>
a(Optional<A> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
encode(Optional<A> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
method_53060(Optional<A> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
encode(Optional<A> arg0, com.mojang.serialization.DynamicOps<T> arg1, com.mojang.serialization.RecordBuilder<T> arg2)
encode(Optional<A> p_299809_, com.mojang.serialization.DynamicOps<T> p_300932_, com.mojang.serialization.RecordBuilder<T> arg2)
public <T> Stream<T>
keys(com.mojang.serialization.DynamicOps<T> arg0)
keys(com.mojang.serialization.DynamicOps<T> arg0)
keys(com.mojang.serialization.DynamicOps<T> arg0)
keys(com.mojang.serialization.DynamicOps<T> ops)
keys(com.mojang.serialization.DynamicOps<T> arg0)