net.minecraft.core

public class Holder$Reference<T>

implements Holder<T>

gz$c
net.minecraft.core.Holder$Reference
net.minecraft.class_6880$class_6883
net.minecraft.unmapped.C_cjzoxshv$C_rjzpeyec
net.minecraft.registry.entry.RegistryEntry$Reference
net.minecraft.registry.Holder$Reference
net.minecraft.src.C_203228_$C_203231_
net.minecraft.core.Holder$c

Field summary

Modifier and TypeField
private final HolderOwner<T>
a
owner
field_40930
f_gtphnzhp
owner
owner
f_254697_
private Set<TagKey<T>>
b
tags
field_36450
f_lkepjgcv
tags
tags
f_205749_
private final Holder$Reference$Type
c
type
field_36451
f_ziqtcscn
referenceType
type
f_205750_
private ResourceKey<T>
d
key
field_36452
f_hhiogamu
registryKey
registryKey
f_205751_
private T
e
value
field_36453
f_xpbnecjo
value
value
f_205752_

Constructor summary

ModifierConstructor
private (Holder$Reference$Type referenceType, HolderOwner<T> owner, ResourceKey<T> registryKey, T value)

Method summary

Modifier and TypeMethod
public static <T> Holder$Reference<T>
a(hc<T> arg0, ace<T> arg1)
createStandAlone(HolderOwner<T> arg0, ResourceKey<T> arg1)
method_40234(class_7876<T> arg0, class_5321<T> arg1)
m_spfiiuqs(C_hkebgttw<T> arg0, C_xhhleach<T> arg1)
standAlone(RegistryEntryOwner<T> owner, RegistryKey<T> registryKey)
create(HolderOwner<T> owner, RegistryKey<T> registryKey)
m_254896_(C_254571_<T> p_255955_, C_5264_<T> p_255958_)
public static <T> Holder$Reference<T>
a(hc<T> arg0, T arg1)
createIntrusive(HolderOwner<T> arg0, T arg1)
method_40233(class_7876<T> arg0, T arg1)
m_fksmldal(C_hkebgttw<T> arg0, T arg1)
intrusive(RegistryEntryOwner<T> owner, T value)
createIntrusive(HolderOwner<T> owner, T value)
m_255375_(C_254571_<T> p_256106_, T p_255948_)
public ResourceKey<T>
g()
key()
method_40237()
m_suxyyjcp()
registryKey()
getRegistryKey()
m_205785_()
public T
a()
value()
comp_349()
m_ydnvjjng()
value()
value()
m_203334_()
public boolean
a(acf arg0)
is(ResourceLocation arg0)
method_40226(class_2960 arg0)
m_bgnpepne(C_ncpywfca arg0)
matchesId(Identifier arg0)
isRegistryKeyId(Identifier arg0)
m_203373_(C_5265_ arg0)
public boolean
a(ace<T> arg0)
is(ResourceKey<T> arg0)
method_40225(class_5321<T> arg0)
m_ejvoczrq(C_xhhleach<T> arg0)
matchesKey(RegistryKey<T> arg0)
isRegistryKey(RegistryKey<T> arg0)
m_203565_(C_5264_<T> arg0)
public boolean
a(amr<T> arg0)
is(TagKey<T> arg0)
method_40220(class_6862<T> arg0)
m_dcbwlfmo(C_ednuhnnn<T> arg0)
isIn(TagKey<T> arg0)
isIn(TagKey<T> arg0)
m_203656_(C_203208_<T> arg0)
public boolean
a(Predicate<ace<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>> arg0)
matches(Predicate<RegistryKey<T>> arg0)
m_203425_(Predicate<C_5264_<T>> arg0)
public boolean
a(hc<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46745(class_7876<T> arg0)
m_uexsrrou(C_hkebgttw<T> arg0)
ownerEquals(RegistryEntryOwner<T> arg0)
isOwnedBy(HolderOwner<T> arg0)
m_203401_(C_254571_<T> arg0)
public com.mojang.datafixers.util.Either<ResourceKey<T>, T>
d()
unwrap()
method_40229()
m_igwfqztq()
getKeyOrValue()
unwrap()
m_203439_()
public Optional<ResourceKey<T>>
e()
unwrapKey()
method_40230()
m_jdiodhmc()
getKey()
getKey()
m_203543_()
public Holder$Kind
f()
kind()
method_40231()
m_znglmuwb()
getType()
getKind()
m_203376_()
public boolean
b()
isBound()
method_40227()
m_aizevecj()
hasKeyAndValue()
isBound()
m_203633_()
void
b(ace<T> arg0)
bindKey(ResourceKey<T> arg0)
method_45917(class_5321<T> arg0)
m_fkurmhix(C_xhhleach<T> arg0)
setRegistryKey(RegistryKey<T> registryKey)
setRegistryKey(RegistryKey<T> registryKey)
m_246870_(C_5264_<T> arg0)
void
b(T arg0)
bindValue(T arg0)
method_45918(T arg0)
m_xtyteimy(T arg0)
setValue(T value)
setValue(T value)
m_247654_(T arg0)
void
a(Collection<amr<T>> arg0)
bindTags(Collection<TagKey<T>> arg0)
method_40235(Collection<class_6862<T>> arg0)
m_ytsaopap(Collection<C_ednuhnnn<T>> arg0)
setTags(Collection<TagKey<T>> tags)
setTags(Collection<TagKey<T>> tags)
m_205769_(Collection<C_203208_<T>> arg0)
public Stream<TagKey<T>>
c()
tags()
method_40228()
m_uwpxznsu()
streamTags()
streamTags()
m_203616_()