net.minecraft.core

public interface Holder<T>

je
net.minecraft.core.Holder
net.minecraft.class_6880
net.minecraft.unmapped.C_cjzoxshv
net.minecraft.registry.entry.RegistryEntry
net.minecraft.registry.Holder

Method summary

Modifier and TypeMethod
T
a()
value()
comp_349()
m_ydnvjjng()
value()
getValue()
boolean
b()
isBound()
method_40227()
m_aizevecj()
hasKeyAndValue()
isBound()
boolean
a(alg arg0)
is(ResourceLocation arg0)
method_40226(class_2960 arg0)
m_bgnpepne(C_ncpywfca arg0)
matchesId(Identifier id)
isRegistryKeyId(Identifier id)
boolean
a(alf<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> arg0)
boolean
a(Predicate<alf<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>> arg0)
boolean
a(axr<T> arg0)
is(TagKey<T> arg0)
method_40220(class_6862<T> arg0)
m_dcbwlfmo(C_ednuhnnn<T> arg0)
isIn(TagKey<T> tag)
isIn(TagKey<T> tag)
boolean
a(je<T> arg0)
is(Holder<T> arg0)
method_55838(class_6880<T> arg0)
m_cdttpfsq(C_cjzoxshv<T> arg0)
matches(RegistryEntry<T> entry)
matches(Holder<T> arg0)
Stream<TagKey<T>>
c()
tags()
method_40228()
m_uwpxznsu()
streamTags()
streamTags()
com.mojang.datafixers.util.Either<ResourceKey<T>, T>
d()
unwrap()
method_40229()
m_igwfqztq()
getKeyOrValue()
unwrap()
Optional<ResourceKey<T>>
e()
unwrapKey()
method_40230()
m_jdiodhmc()
getKey()
getKey()
Holder$Kind
f()
kind()
method_40231()
m_znglmuwb()
getType()
getKind()
boolean
a(jh<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46745(class_7876<T> arg0)
m_uexsrrou(C_hkebgttw<T> arg0)
ownerEquals(RegistryEntryOwner<T> owner)
isOwnedBy(HolderOwner<T> arg0)
default String
g()
getRegisteredName()
method_55840()
m_orzakqff()
getIdAsString()
getRegisteredName()
static <T> Holder<T>
a(T arg0)
direct(T arg0)
method_40223(T arg0)
m_hkxploul(T arg0)
of(T value)
createDirect(T value)