net.minecraft.core

class RegistrySetBuilder$2

extends RegistrySetBuilder$EmptyTagRegistryLookup<T>

All mapped superinterfaces:

HolderGetter, HolderLookup$RegistryLookup, HolderLookup, HolderOwner

kg$2
net.minecraft.core.RegistrySetBuilder$2
net.minecraft.class_7877$2
net.minecraft.registry.RegistryBuilder$2
net.minecraft.core.RegistrySetBuilder$2

Constructor summary

ModifierConstructor
(HolderOwner arg0, ResourceKey arg1, com.mojang.serialization.Lifecycle arg2, Map arg3)

Method summary

Modifier and TypeMethod
public ResourceKey<? extends Registry<? extends T>>
g()
key()
method_46765()
getKey()
public com.mojang.serialization.Lifecycle
h()
registryLifecycle()
method_46766()
getLifecycle()
public Optional<Holder$Reference<T>>
a(aly<T> arg0)
get(ResourceKey<T> arg0)
method_46746(class_5321<T> arg0)
getOptional(RegistryKey<T> arg0)
public Stream<Holder$Reference<T>>
c()
listElements()
method_42017()
streamEntries()