Uses of Record Class
net.minecraft.resources.RegistryDataLoader.RegistryData
Package
Description
-
Uses of RegistryDataLoader.RegistryData in net.minecraft.data.registries
Modifier and TypeMethodDescriptionprivate <T> Optional<CompletableFuture<?>>
RegistriesDatapackGenerator.dumpRegistryCap
(CachedOutput p_256502_, HolderLookup.Provider p_256492_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_256000_, RegistryDataLoader.RegistryData<T> p_256449_) Deprecated. -
Uses of RegistryDataLoader.RegistryData in net.minecraft.resources
Modifier and TypeFieldDescriptionstatic final List<RegistryDataLoader.RegistryData<?>>
RegistryDataLoader.DIMENSION_REGISTRIES
static final List<RegistryDataLoader.RegistryData<?>>
RegistryDataLoader.WORLDGEN_REGISTRIES
Modifier and TypeMethodDescriptionstatic RegistryAccess.Frozen
RegistryDataLoader.load
(ResourceManager p_252046_, RegistryAccess p_249916_, List<RegistryDataLoader.RegistryData<?>> p_250344_) -
Uses of RegistryDataLoader.RegistryData in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static LayeredRegistryAccess<RegistryLayer>
WorldLoader.loadAndReplaceLayer
(ResourceManager p_249913_, LayeredRegistryAccess<RegistryLayer> p_252077_, RegistryLayer p_250346_, List<RegistryDataLoader.RegistryData<?>> p_250589_) private static RegistryAccess.Frozen
WorldLoader.loadLayer
(ResourceManager p_251529_, LayeredRegistryAccess<RegistryLayer> p_250737_, RegistryLayer p_250790_, List<RegistryDataLoader.RegistryData<?>> p_249516_) -
Uses of RegistryDataLoader.RegistryData in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate final RegistryDataLoader.RegistryData<T>
DataPackRegistryEvent.DataPackRegistryData.loaderData
The field for theloaderData
record component.Modifier and TypeFieldDescriptionprivate static final List<RegistryDataLoader.RegistryData<?>>
DataPackRegistriesHooks.DATA_PACK_REGISTRIES
private static final List<RegistryDataLoader.RegistryData<?>>
DataPackRegistriesHooks.DATA_PACK_REGISTRIES_VIEW
Modifier and TypeMethodDescriptionDataPackRegistryEvent.DataPackRegistryData.loaderData()
Returns the value of theloaderData
record component.Modifier and TypeMethodDescriptionstatic List<RegistryDataLoader.RegistryData<?>>
DataPackRegistriesHooks.getDataPackRegistries()
Returns An unmodifiable view of the list of datapack registries.static Stream<RegistryDataLoader.RegistryData<?>>
DataPackRegistriesHooks.getDataPackRegistriesWithDimensions()
ModifierConstructorDescription(package private)
DataPackRegistryData
(RegistryDataLoader.RegistryData<T> loaderData, @Nullable com.mojang.serialization.Codec<T> networkCodec) Creates an instance of aDataPackRegistryData
record class.