History - net.minecraft.world.item.EitherHolder

1.21.4

Names

cwp

cvq

Fields

Constructors

Methods

1.21.3

Names

cwo

cwp

net.minecraft.world.item.ItemEgg

net.minecraft.world.item.EitherHolder

Fields

Constructors

Methods

1.21.2

Names

ctl

cwo

net.minecraft.world.item.EitherHolder

net.minecraft.world.item.ItemEgg

Fields

Constructors

Methods

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

ctl

net.minecraft.world.item.EitherHolder

net.minecraft.class_9791

net.minecraft.unmapped.C_cemdjcik

net.minecraft.registry.RegistryPair

net.minecraft.unmapped.C_cemdjcik

net.minecraft.src.C_336475_

net.minecraft.world.item.EitherHolder

Fields

Optional<Holder<T>>: a, holder, comp_2831, f_qnqhgyhl, entry, holder, f_336775_

ResourceKey<T>: b, key, comp_2832, f_thrdwewk, key, 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, m_eqftwaqy, createCodec, m_eqftwaqy, m_340220_

<T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> (ResourceKey<Registry<T>>, StreamCodec<RegistryFriendlyByteBuf, Holder<T>>): a, streamCodec, method_60737, m_buqemmca, createPacketCodec, m_buqemmca, m_338499_

com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> (): a, asEither, method_60734, m_uboflrdv, asEither, m_340003_

<T> EitherHolder<T> (com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>>): a, fromEither, method_60738, m_qbkrihis, create, m_338940_

Optional<T> (Registry<T>): a, unwrap, method_60740, m_qoomwnjz, getValue, m_qoomwnjz, m_338653_

Optional<Holder<T>> (HolderLookup$Provider): a, unwrap, method_60739, m_bomacrpw, getEntry, m_340095_

Optional<Holder<T>> (): b, holder, comp_2831, m_kkwdocbn, entry, holder, f_336775_

ResourceKey<T> (): c, key, comp_2832, m_ybbvrily, key, key, f_336716_