Package net.minecraft.core
Class RegistrySetBuilder
java.lang.Object
net.minecraft.core.RegistrySetBuilder
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
(package private) static class
(package private) static class
(package private) static final record
static interface
(package private) static final record
(package private) static final record
(package private) static class
(package private) static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(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_) private RegistrySetBuilder.BuildState
createState
(RegistryAccess p_256400_) List<? extends ResourceKey<? extends Registry<?>>>
(package private) static <T> HolderGetter<T>
wrapContextLookup
(HolderLookup.RegistryLookup<T> p_255625_)
-
Field Details
-
entries
-
-
Constructor Details
-
RegistrySetBuilder
public RegistrySetBuilder()
-
-
Method Details
-
wrapContextLookup
-
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
-
build
-
buildPatch
-