Package net.minecraft.data.registries
Class RegistriesDatapackGenerator
java.lang.Object
net.minecraft.data.registries.RegistriesDatapackGenerator
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
DatapackBuiltinEntriesProvider
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
Deprecated.Deprecated.private final PackOutput
Deprecated.private final CompletableFuture<HolderLookup.Provider>
Deprecated.Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
ConstructorDescriptionRegistriesDatapackGenerator
(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_) Deprecated.RegistriesDatapackGenerator
(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_, Set<String> modIds) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> Optional<CompletableFuture<?>>
dumpRegistryCap
(CachedOutput p_256502_, HolderLookup.Provider p_256492_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_256000_, RegistryDataLoader.RegistryData<T> p_256449_) Deprecated.private static <E> CompletableFuture<?>
dumpValue
(Path p_255678_, CachedOutput p_256438_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_256127_, com.mojang.serialization.Encoder<E> p_255938_, E p_256590_) Deprecated.getName()
Deprecated.run
(CachedOutput p_255785_) Deprecated.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGERDeprecated. -
output
Deprecated. -
registries
Deprecated. -
namespacePredicate
Deprecated.
-
-
Constructor Details
-
RegistriesDatapackGenerator
@Deprecated public RegistriesDatapackGenerator(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_) Deprecated. -
RegistriesDatapackGenerator
public RegistriesDatapackGenerator(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_, @Nullable Set<String> modIds) Deprecated.
-
-
Method Details
-
run
Deprecated.- Specified by:
run
in interfaceDataProvider
-
dumpRegistryCap
private <T> Optional<CompletableFuture<?>> dumpRegistryCap(CachedOutput p_256502_, HolderLookup.Provider p_256492_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_256000_, RegistryDataLoader.RegistryData<T> p_256449_) Deprecated. -
dumpValue
private static <E> CompletableFuture<?> dumpValue(Path p_255678_, CachedOutput p_256438_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_256127_, com.mojang.serialization.Encoder<E> p_255938_, E p_256590_) Deprecated. -
getName
Deprecated.- Specified by:
getName
in interfaceDataProvider
-
DatapackBuiltinEntriesProvider
instead