History - net.minecraft.world.item.EitherHolder
1.21.3
Names
ctl
cwp
Fields
Optional<Holder<T>>: a, holder, comp_2831, entry, f_336775_
Optional<Holder<T>>: a, holder, comp_2831, entry
ResourceKey<T>: b, key, comp_2832, key, f_336716_
ResourceKey<T>: b, key, comp_2832, key
Constructors
Methods
<T> com.mojang.serialization.Codec<EitherHolder<T>> (ResourceKey<Registry<T>>, com.mojang.serialization.Codec<Holder<T>>): a, codec, method_60736, createCodec, m_340220_
<T> com.mojang.serialization.Codec<EitherHolder<T>> (ResourceKey<Registry<T>>, com.mojang.serialization.Codec<Holder<T>>): a, codec, method_60736, createCodec
<T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> (ResourceKey<Registry<T>>, StreamCodec<RegistryFriendlyByteBuf, Holder<T>>): a, streamCodec, method_60737, createPacketCodec, m_338499_
<T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> (ResourceKey<Registry<T>>, StreamCodec<RegistryFriendlyByteBuf, Holder<T>>): a, streamCodec, method_60737, createPacketCodec
com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> (): a, asEither, method_60734, asEither, m_340003_
com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> (): a, asEither, method_60734, asEither
<T> EitherHolder<T> (com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>>): a, fromEither, method_60738, create, m_338940_
<T> EitherHolder<T> (com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>>): a, fromEither, method_60738, create
Optional<T> (Registry<T>): a, unwrap, method_60740, getValue, m_338653_
Optional<T> (Registry<T>): a, unwrap, method_60740, getValue
Optional<Holder<T>> (HolderLookup$Provider): a, unwrap, method_60739, getEntry, m_340095_
Optional<Holder<T>> (HolderLookup$Provider): a, unwrap, method_60739, getEntry
Optional<Holder<T>> (): b, holder, comp_2831, entry, f_336775_
Optional<Holder<T>> (): b, holder, comp_2831, entry
ResourceKey<T> (): c, key, comp_2832, key, f_336716_
ResourceKey<T> (): c, key, comp_2832, key
1.21.1
Names
Fields
Constructors
Methods
1.21
Names
ctl
net.minecraft.world.item.EitherHolder
net.minecraft.class_9791
net.minecraft.registry.RegistryPair
net.minecraft.src.C_336475_
net.minecraft.world.item.EitherHolder
Fields
Optional<Holder<T>>: a, holder, comp_2831, entry, f_336775_
ResourceKey<T>: b, key, comp_2832, key, f_336716_
Constructors
(Holder<T>)
(ResourceKey<T>)
(Optional<Holder<T>>, ResourceKey<T>)
Methods
<T> com.mojang.serialization.Codec<EitherHolder<T>> (ResourceKey<Registry<T>>, com.mojang.serialization.Codec<Holder<T>>): a, codec, method_60736, createCodec, m_340220_
<T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> (ResourceKey<Registry<T>>, StreamCodec<RegistryFriendlyByteBuf, Holder<T>>): a, streamCodec, method_60737, createPacketCodec, m_338499_
com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> (): a, asEither, method_60734, asEither, m_340003_
<T> EitherHolder<T> (com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>>): a, fromEither, method_60738, create, m_338940_
Optional<T> (Registry<T>): a, unwrap, method_60740, getValue, m_338653_
Optional<Holder<T>> (HolderLookup$Provider): a, unwrap, method_60739, getEntry, m_340095_
Optional<Holder<T>> (): b, holder, comp_2831, entry, f_336775_
ResourceKey<T> (): c, key, comp_2832, key, f_336716_