类 RegistrySetBuilder
java.lang.Object
net.minecraft.core.RegistrySetBuilder
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static final record
(专用程序包) static class
(专用程序包) static class
(专用程序包) static class
(专用程序包) static class
static final record
(专用程序包) static final record
static interface
(专用程序包) static final record
(专用程序包) static final record
(专用程序包) static class
(专用程序包) static class
(专用程序包) static final record
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明add
(ResourceKey<? extends Registry<T>> p_256446_, com.mojang.serialization.Lifecycle p_256394_, RegistrySetBuilder.RegistryBootstrap<T> p_256638_) add
(ResourceKey<? extends Registry<T>> p_256261_, RegistrySetBuilder.RegistryBootstrap<T> p_256010_) build
(RegistryAccess p_256112_) buildPatch
(RegistryAccess p_255676_, HolderLookup.Provider p_255900_, Cloner.Factory p_310265_) private static HolderLookup.Provider
buildProviderWithContext
(RegistrySetBuilder.UniversalOwner p_328219_, RegistryAccess p_311176_, Stream<HolderLookup.RegistryLookup<?>> p_311668_) private <T> HolderLookup.RegistryLookup
<T> createLazyFullPatchedRegistries
(HolderOwner<T> p_312548_, Cloner.Factory p_312934_, ResourceKey<? extends Registry<? extends T>> p_313093_, HolderLookup.Provider p_311682_, HolderLookup.Provider p_313198_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311605_) private HolderLookup.Provider
createLazyFullPatchedRegistries
(RegistryAccess p_312999_, HolderLookup.Provider p_309815_, Cloner.Factory p_311992_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_309672_, HolderLookup.Provider p_312434_) private RegistrySetBuilder.BuildState
createState
(RegistryAccess p_256400_) List
<? extends ResourceKey<? extends Registry<?>>> (专用程序包) static <T> HolderLookup.RegistryLookup
<T> lookupFromMap
(ResourceKey<? extends Registry<? extends T>> p_311196_, com.mojang.serialization.Lifecycle p_311352_, HolderOwner<T> p_335968_, Map<ResourceKey<T>, Holder.Reference<T>> p_311458_) (专用程序包) static <T> HolderGetter
<T> wrapContextLookup
(HolderLookup.RegistryLookup<T> p_255625_)
-
字段详细资料
-
entries
-
-
构造器详细资料
-
RegistrySetBuilder
public RegistrySetBuilder()
-
-
方法详细资料
-
wrapContextLookup
-
lookupFromMap
static <T> HolderLookup.RegistryLookup<T> lookupFromMap(ResourceKey<? extends Registry<? extends T>> p_311196_, com.mojang.serialization.Lifecycle p_311352_, HolderOwner<T> p_335968_, Map<ResourceKey<T>, Holder.Reference<T>> p_311458_) -
add
public <T> RegistrySetBuilder add(ResourceKey<? extends Registry<T>> p_256446_, com.mojang.serialization.Lifecycle p_256394_, RegistrySetBuilder.RegistryBootstrap<T> p_256638_) -
add
public <T> RegistrySetBuilder add(ResourceKey<? extends Registry<T>> p_256261_, RegistrySetBuilder.RegistryBootstrap<T> p_256010_) -
getEntryKeys
-
createState
-
buildProviderWithContext
private static HolderLookup.Provider buildProviderWithContext(RegistrySetBuilder.UniversalOwner p_328219_, RegistryAccess p_311176_, Stream<HolderLookup.RegistryLookup<?>> p_311668_) -
build
-
createLazyFullPatchedRegistries
private HolderLookup.Provider createLazyFullPatchedRegistries(RegistryAccess p_312999_, HolderLookup.Provider p_309815_, Cloner.Factory p_311992_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_309672_, HolderLookup.Provider p_312434_) -
createLazyFullPatchedRegistries
private <T> HolderLookup.RegistryLookup<T> createLazyFullPatchedRegistries(HolderOwner<T> p_312548_, Cloner.Factory p_312934_, ResourceKey<? extends Registry<? extends T>> p_313093_, HolderLookup.Provider p_311682_, HolderLookup.Provider p_313198_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311605_) -
buildPatch
public RegistrySetBuilder.PatchedRegistries buildPatch(RegistryAccess p_255676_, HolderLookup.Provider p_255900_, Cloner.Factory p_310265_)
-