类 RegistryAccess.ImmutableRegistryAccess
java.lang.Object
net.minecraft.core.RegistryAccess.ImmutableRegistryAccess
- 所有已实现的接口:
HolderLookup.Provider
,RegistryAccess
- 封闭接口:
- RegistryAccess
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.core.RegistryAccess
RegistryAccess.Frozen, RegistryAccess.ImmutableRegistryAccess, RegistryAccess.RegistryEntry<T>
-
字段概要
字段从接口继承的字段 net.minecraft.core.RegistryAccess
EMPTY, LOGGER
-
构造器概要
构造器构造器说明ImmutableRegistryAccess
(List<? extends Registry<?>> p_248540_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> pRegistries) ImmutableRegistryAccess
(Stream<RegistryAccess.RegistryEntry<?>> pRegistries) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.core.HolderLookup.Provider
asGetterLookup, lookupOrThrow
从接口继承的方法 net.minecraft.core.RegistryAccess
allRegistriesLifecycle, freeze, lookup, registryOrThrow
-
字段详细资料
-
registries
-
-
构造器详细资料
-
ImmutableRegistryAccess
-
ImmutableRegistryAccess
public ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> pRegistries) -
ImmutableRegistryAccess
-
-
方法详细资料
-
registry
public <E> Optional<Registry<E>> registry(ResourceKey<? extends Registry<? extends E>> pRegistryKey) - 指定者:
registry
在接口中RegistryAccess
-
registries
- 指定者:
registries
在接口中RegistryAccess
-