net.minecraft.registry

class RegistryBuilder$2

extends RegistryBuilder$UntaggedLookup<T>

All mapped superinterfaces:

RegistryEntryLookup, RegistryWrapper$Impl, RegistryWrapper, RegistryEntryOwner

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

Field summary

Modifier and TypeField
final RegistryKey
val$key
field_47488
field_47488
final com.mojang.serialization.Lifecycle
val$lifecycle
field_47489
field_47489
final Map
val$entries
field_40947
keysToEntries

Constructor summary

ModifierConstructor
(RegistryEntryOwner owner, RegistryKey val$key, com.mojang.serialization.Lifecycle val$lifecycle, Map val$entries)

Method summary

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