net.minecraft.core

public interface RegistryAccess

extends HolderLookup$Provider

hs
net.minecraft.core.RegistryAccess
net.minecraft.class_5455
net.minecraft.registry.DynamicRegistryManager
net.minecraft.src.C_4706_
net.minecraft.core.IRegistryCustom

Field summary

Modifier and TypeField
org.slf4j.Logger
a
LOGGER
field_25918
LOGGER
f_123047_
RegistryAccess$Frozen
b
EMPTY
field_40585
EMPTY
f_243945_

Method summary

Modifier and TypeMethod
<E> Optional<Registry<E>>
c(acp<? extends hr<? extends E>> arg0)
registry(ResourceKey<? extends Registry<? extends E>> arg0)
method_33310(class_5321<? extends class_2378<? extends E>> arg0)
getOptional(RegistryKey<? extends Registry<? extends E>> key)
m_6632_(C_5264_<? extends C_4705_<? extends E>> arg0)
default <T> Optional<HolderLookup$RegistryLookup<T>>
a(acp<? extends hr<? extends T>> arg0)
lookup(ResourceKey<? extends Registry<? extends T>> arg0)
method_46759(class_5321<? extends class_2378<? extends T>> arg0)
getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> arg0)
m_254861_(C_5264_<? extends C_4705_<? extends T>> arg0)
default <E> Registry<E>
d(acp<? extends hr<? extends E>> arg0)
registryOrThrow(ResourceKey<? extends Registry<? extends E>> arg0)
method_30530(class_5321<? extends class_2378<? extends E>> arg0)
get(RegistryKey<? extends Registry<? extends E>> key)
m_175515_(C_5264_<? extends C_4705_<? extends E>> arg0)
Stream<RegistryAccess$RegistryEntry<?>>
b()
registries()
method_40311()
streamAllRegistries()
m_206193_()
static RegistryAccess$Frozen
a(hr<? extends hr<?>> arg0)
fromRegistryOfRegistries(Registry<? extends Registry<?>> arg0)
method_40302(class_2378<? extends class_2378<?>> arg0)
of(Registry<? extends Registry<?>> registries)
m_206165_(C_4705_<? extends C_4705_<?>> p_206166_)
default RegistryAccess$Frozen
c()
freeze()
method_40316()
toImmutable()
m_203557_()
default com.mojang.serialization.Lifecycle
d()
allRegistriesLifecycle()
method_41201()
getRegistryLifecycle()
m_211816_()