net.minecraft.core

public class HolderSet$Named<T>

extends HolderSet$ListBacked<T>

All mapped superinterfaces:

HolderSet

hi$c
net.minecraft.core.HolderSet$Named
net.minecraft.class_6885$class_6888
net.minecraft.registry.entry.RegistryEntryList$Named
net.minecraft.src.C_203233_$C_203236_
net.minecraft.core.HolderSet$Named

Field summary

Modifier and TypeField
private final HolderOwner<T>
a
owner
field_40936
owner
f_254711_
private final TagKey<T>
b
key
field_36459
tag
f_205829_
private List<Holder<T>>
c
contents
field_36460
entries
f_205830_

Constructor summary

ModifierConstructor
(HolderOwner<T> owner, TagKey<T> tag)

Method summary

Modifier and TypeMethod
void
b(List<he<T>> arg0)
bind(List<Holder<T>> arg0)
method_40250(List<class_6880<T>> arg0)
copyOf(List<RegistryEntry<T>> entries)
m_205835_(List<C_203228_<T>> arg0)
public TagKey<T>
f()
key()
method_40251()
getTag()
m_205839_()
protected List<Holder<T>>
e()
contents()
method_40249()
getEntries()
m_203661_()
public com.mojang.datafixers.util.Either<TagKey<T>, List<Holder<T>>>
c()
unwrap()
method_40248()
getStorage()
m_203440_()
public Optional<TagKey<T>>
d()
unwrapKey()
method_45925()
getTagKey()
m_245234_()
public boolean
a(he<T> arg0)
contains(Holder<T> arg0)
method_40241(class_6880<T> arg0)
contains(RegistryEntry<T> arg0)
m_203333_(C_203228_<T> arg0)
public boolean
a(hh<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46768(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> arg0)
m_207277_(C_254571_<T> arg0)