net.minecraft.core

public class HolderSet$Named<T>

extends HolderSet$ListBacked<T>

All mapped superinterfaces:

HolderSet

jv$c
net.minecraft.core.HolderSet$Named
net.minecraft.class_6885$class_6888
net.minecraft.registry.entry.RegistryEntryList$Named
net.minecraft.core.HolderSet$Named

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
void
b(List<jr<T>> arg0)
bind(List<Holder<T>> arg0)
method_40250(List<class_6880<T>> arg0)
setEntries(List<RegistryEntry<T>> entries)
public TagKey<T>
h()
key()
method_40251()
getTag()
protected List<Holder<T>>
g()
contents()
method_40249()
getEntries()
public boolean
c()
isBound()
method_62680()
isBound()
public com.mojang.datafixers.util.Either<TagKey<T>, List<Holder<T>>>
d()
unwrap()
method_40248()
getStorage()
public Optional<TagKey<T>>
e()
unwrapKey()
method_45925()
getTagKey()
public boolean
a(jr<T> arg0)
contains(Holder<T> arg0)
method_40241(class_6880<T> arg0)
contains(RegistryEntry<T> arg0)
public boolean
a(ju<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46768(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> arg0)