Package net.minecraft.data.info
Class BiomeParametersDumpReport
java.lang.Object
net.minecraft.data.info.BiomeParametersDumpReport
- All Implemented Interfaces:
DataProvider
-
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 com.mojang.serialization.Codec<Climate.ParameterList<ResourceKey<Biome>>>
private static final com.mojang.serialization.MapCodec<ResourceKey<Biome>>
private static final org.slf4j.Logger
private final CompletableFuture<HolderLookup.Provider>
private final Path
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
ConstructorDescriptionBiomeParametersDumpReport
(PackOutput p_256322_, CompletableFuture<HolderLookup.Provider> p_256222_) -
Method Summary
Modifier and TypeMethodDescriptionprivate Path
createPath
(ResourceLocation p_236179_) private static <E> CompletableFuture<?>
dumpValue
(Path p_254407_, CachedOutput p_254093_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_253788_, com.mojang.serialization.Encoder<E> p_254276_, E p_254073_) final String
getName()
run
(CachedOutput p_254091_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
topPath
-
registries
-
ENTRY_CODEC
-
CODEC
private static final com.mojang.serialization.Codec<Climate.ParameterList<ResourceKey<Biome>>> CODEC
-
-
Constructor Details
-
BiomeParametersDumpReport
public BiomeParametersDumpReport(PackOutput p_256322_, CompletableFuture<HolderLookup.Provider> p_256222_)
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
-
dumpValue
private static <E> CompletableFuture<?> dumpValue(Path p_254407_, CachedOutput p_254093_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_253788_, com.mojang.serialization.Encoder<E> p_254276_, E p_254073_) -
createPath
-
getName
- Specified by:
getName
in interfaceDataProvider
-