net.minecraft.core

public interface Holder<T>

hc
net.minecraft.core.Holder
net.minecraft.class_6880
net.minecraft.unmapped.C_cjzoxshv
net.minecraft.util.registry.RegistryEntry
net.minecraft.util.Holder
net.minecraft.src.C_203228_
net.minecraft.core.Holder

Method summary

Modifier and TypeMethod
T
a()
value()
comp_349()
m_ydnvjjng()
value()
value()
m_203334_()
boolean
b()
isBound()
method_40227()
m_aizevecj()
hasKeyAndValue()
isBound()
m_203633_()
boolean
a(abb arg0)
is(ResourceLocation arg0)
method_40226(class_2960 arg0)
m_bgnpepne(C_ncpywfca arg0)
matchesId(Identifier id)
isRegistryKeyId(Identifier id)
m_203373_(C_5265_ arg0)
boolean
a(aba<T> arg0)
is(ResourceKey<T> arg0)
method_40225(class_5321<T> arg0)
m_ejvoczrq(C_xhhleach<T> arg0)
matchesKey(RegistryKey<T> key)
isRegistryKey(RegistryKey<T> registryKey)
m_203565_(C_5264_<T> arg0)
boolean
a(Predicate<aba<T>> arg0)
is(Predicate<ResourceKey<T>> arg0)
method_40224(Predicate<class_5321<T>> arg0)
m_jhcqoiku(Predicate<C_xhhleach<T>> arg0)
matches(Predicate<RegistryKey<T>> predicate)
matches(Predicate<RegistryKey<T>> predicate)
m_203425_(Predicate<C_5264_<T>> arg0)
boolean
a(akz<T> arg0)
is(TagKey<T> arg0)
method_40220(class_6862<T> arg0)
m_dcbwlfmo(C_ednuhnnn<T> arg0)
isIn(TagKey<T> tag)
hasTag(TagKey<T> tag)
m_203656_(C_203208_<T> arg0)
Stream<TagKey<T>>
c()
tags()
method_40228()
m_uwpxznsu()
streamTags()
streamTags()
m_203616_()
com.mojang.datafixers.util.Either<ResourceKey<T>, T>
d()
unwrap()
method_40229()
m_igwfqztq()
getKeyOrValue()
unwrap()
m_203439_()
Optional<ResourceKey<T>>
e()
unwrapKey()
method_40230()
m_jdiodhmc()
getKey()
getKey()
m_203543_()
Holder$Kind
f()
kind()
method_40231()
m_znglmuwb()
getType()
getKind()
m_203376_()
boolean
a(hm<T> arg0)
isValidInRegistry(Registry<T> arg0)
method_40222(class_2378<T> arg0)
m_psqktiqz(C_tqxyjqsk<T> arg0)
matchesRegistry(Registry<T> registry)
isRegistry(Registry<T> registry)
m_203401_(C_4705_<T> arg0)
static <T> Holder<T>
a(T arg0)
direct(T arg0)
method_40223(T arg0)
m_hkxploul(T arg0)
of(T value)
createDirect(T value)
m_205709_(T p_205710_)
static <T> Holder<T>
a(hc<? extends T> arg0)
hackyErase(Holder<? extends T> arg0)
method_40221(class_6880<? extends T> arg0)
m_okckgmwt(C_cjzoxshv<? extends T> arg0)
upcast(RegistryEntry<? extends T> entry)
upcast(Holder<? extends T> other)
m_205706_(C_203228_<? extends T> p_205707_)