History - net.minecraft.registry.entry.LazyRegistryEntryReference

1.21.11_unobfuscated

Names

net.minecraft.world.item.EitherHolder

net.minecraft.class_9791

net.minecraft.registry.entry.LazyRegistryEntryReference

Fields

com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>>: contents, comp_3636, contents

Constructors

(RegistryEntry<T>)

(RegistryKey<T>)

(com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>>)

Methods

<T> com.mojang.serialization.Codec<LazyRegistryEntryReference<T>> (RegistryKey<Registry<T>>, com.mojang.serialization.Codec<RegistryEntry<T>>): codec, method_60736, createCodec

<T> PacketCodec<RegistryByteBuf, LazyRegistryEntryReference<T>> (RegistryKey<Registry<T>>, PacketCodec<RegistryByteBuf, RegistryEntry<T>>): streamCodec, method_60737, createPacketCodec

Optional<T> (Registry<T>): unwrap, method_60740, resolveValue

Optional<RegistryEntry<T>> (RegistryWrapper$WrapperLookup): unwrap, method_60739, resolveEntry

Optional<RegistryKey<T>> (): key, method_67385, getKey

com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> (): contents, comp_3636, contents

Optional (RegistryWrapper$WrapperLookup, RegistryKey): lambda$unwrap$4, method_67388, method_67388

RegistryEntry (RegistryEntry$Reference): lambda$unwrap$3, method_67386, method_67386

Optional (RegistryEntry): lambda$unwrap$2, method_67387, method_67387

com.mojang.serialization.DataResult (RegistryKey): lambda$codec$1, method_60735, method_60735

String (): lambda$codec$0, method_60744, method_60744