接口 RegistryAccess
- 所有超级接口:
HolderLookup.Provider
- 所有已知子接口:
RegistryAccess.Frozen
-
嵌套类概要
嵌套类修饰符和类型接口说明static interface
static class
static final record
-
字段概要
字段 -
方法概要
修饰符和类型方法说明default com.mojang.serialization.Lifecycle
default RegistryAccess.Frozen
freeze()
static RegistryAccess.Frozen
fromRegistryOfRegistries
(Registry<? extends Registry<?>> pRegistryOfRegistries) default <T> Optional<HolderLookup.RegistryLookup<T>>
lookup
(ResourceKey<? extends Registry<? extends T>> pRegistryKey) registry
(ResourceKey<? extends Registry<? extends E>> pRegistryKey) default <E> Registry<E>
registryOrThrow
(ResourceKey<? extends Registry<? extends E>> pRegistryKey) 从接口继承的方法 net.minecraft.core.HolderLookup.Provider
asGetterLookup, lookupOrThrow
-
字段详细资料
-
LOGGER
static final org.slf4j.Logger LOGGER -
EMPTY
-
-
方法详细资料
-
registry
-
lookup
default <T> Optional<HolderLookup.RegistryLookup<T>> lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) - 指定者:
lookup
在接口中HolderLookup.Provider
-
registryOrThrow
-
registries
Stream<RegistryAccess.RegistryEntry<?>> registries() -
fromRegistryOfRegistries
static RegistryAccess.Frozen fromRegistryOfRegistries(Registry<? extends Registry<?>> pRegistryOfRegistries) -
freeze
-
allRegistriesLifecycle
default com.mojang.serialization.Lifecycle allRegistriesLifecycle()
-