类 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_312173_) private static HolderLookup.Provider
buildProviderWithContext
(RegistrySetBuilder.UniversalOwner p_326837_, RegistryAccess p_312694_, Stream<HolderLookup.RegistryLookup<?>> p_312024_) private <T> HolderLookup.RegistryLookup
<T> createLazyFullPatchedRegistries
(HolderOwner<T> p_312323_, Cloner.Factory p_311780_, ResourceKey<? extends Registry<? extends T>> p_311836_, HolderLookup.Provider p_312115_, HolderLookup.Provider p_312725_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311797_) private HolderLookup.Provider
createLazyFullPatchedRegistries
(RegistryAccess p_312301_, HolderLookup.Provider p_311942_, Cloner.Factory p_312464_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_312890_, HolderLookup.Provider p_311825_) private RegistrySetBuilder.BuildState
createState
(RegistryAccess p_256400_) List
<? extends ResourceKey<? extends Registry<?>>> (专用程序包) static <T> HolderLookup.RegistryLookup
<T> lookupFromMap
(ResourceKey<? extends Registry<? extends T>> p_312781_, com.mojang.serialization.Lifecycle p_312783_, HolderOwner<T> p_326787_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) (专用程序包) 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_312781_, com.mojang.serialization.Lifecycle p_312783_, HolderOwner<T> p_326787_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) -
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_326837_, RegistryAccess p_312694_, Stream<HolderLookup.RegistryLookup<?>> p_312024_) -
build
-
createLazyFullPatchedRegistries
private HolderLookup.Provider createLazyFullPatchedRegistries(RegistryAccess p_312301_, HolderLookup.Provider p_311942_, Cloner.Factory p_312464_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_312890_, HolderLookup.Provider p_311825_) -
createLazyFullPatchedRegistries
private <T> HolderLookup.RegistryLookup<T> createLazyFullPatchedRegistries(HolderOwner<T> p_312323_, Cloner.Factory p_311780_, ResourceKey<? extends Registry<? extends T>> p_311836_, HolderLookup.Provider p_312115_, HolderLookup.Provider p_312725_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311797_) -
buildPatch
public RegistrySetBuilder.PatchedRegistries buildPatch(RegistryAccess p_255676_, HolderLookup.Provider p_255900_, Cloner.Factory p_312173_)
-