net.minecraft.registry.entry

public final class RegistryEntryList$Direct<T>

extends RegistryEntryList$ListBacked<T>

All mapped superinterfaces:

RegistryEntryList

net.minecraft.core.HolderSet$Direct
net.minecraft.class_6885$class_6886
net.minecraft.registry.entry.RegistryEntryList$Direct

Field summary

Modifier and TypeField
private static final RegistryEntryList$Direct<?>
EMPTY
field_50070
EMPTY
private final List<RegistryEntry<T>>
contents
field_36457
entries
private Set<RegistryEntry<T>>
contentsSet
field_36458
entrySet

Constructor summary

ModifierConstructor
private (List<RegistryEntry<T>> entries)

Method summary

Modifier and TypeMethod
protected List<RegistryEntry<T>>
contents()
method_40249()
getEntries()
public boolean
isBound()
method_62680()
isBound()
public com.mojang.datafixers.util.Either<TagKey<T>, List<RegistryEntry<T>>>
unwrap()
method_40248()
getStorage()
public Optional<TagKey<T>>
unwrapKey()
method_45925()
getTagKey()
public boolean
contains(Holder<T> value)
method_40241(class_6880<T> arg0)
contains(RegistryEntry<T> arg0)