net.minecraft.data

public class DynamicRegistriesProvider

implements DataProvider

net.minecraft.data.registries.RegistriesDatapackGenerator
net.minecraft.data.registries.RegistriesDatapackGenerator
net.minecraft.class_5475
net.minecraft.data.DynamicRegistriesProvider

Field summary

Modifier and TypeField
private final DataOutput
output
output
field_40665
output
private final CompletableFuture<RegistryWrapper$WrapperLookup>
registries
registries
field_40952
registriesFuture

Constructor summary

ModifierConstructor
public (DataOutput output, CompletableFuture<RegistryWrapper$WrapperLookup> registriesFuture)

Method summary

Modifier and TypeMethod
public CompletableFuture<?>
run(CachedOutput cache)
run(CachedOutput cache)
method_10319(class_7403 arg0)
run(DataWriter arg0)
private <T> Optional<CompletableFuture<?>>
dumpRegistryCap(CachedOutput cache, HolderLookup$Provider registries, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> writeOps, RegistryDataLoader$RegistryData<T> v)
dumpRegistryCap(CachedOutput cache, HolderLookup$Provider registries, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> writeOps, RegistryDataLoader$RegistryData<T> v)
method_39678(class_7403 arg0, class_7225$class_7874 arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, class_7655$class_7657<T> arg3)
writeRegistryEntries(DataWriter writer, RegistryWrapper$WrapperLookup registries, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoading$Entry<T> registry)
private static <E> CompletableFuture<?>
dumpValue(Path path, CachedOutput cache, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Encoder<E> codec, E value)
dumpValue(Path path, CachedOutput cache, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Encoder<E> codec, E value)
method_39680(Path arg0, class_7403 arg1, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg2, com.mojang.serialization.Encoder<E> arg3, E arg4)
writeToPath(Path path, DataWriter cache, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> json, com.mojang.serialization.Encoder<E> encoder, E value)
public final String
getName()
getName()
method_10321()
getName()