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
FieldsModifier 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.Loggerprivate final CompletableFuture<HolderLookup.Provider> private final PathFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionBiomeParametersDumpReport(PackOutput output, CompletableFuture<HolderLookup.Provider> registries) -
Method Summary
Modifier and TypeMethodDescriptionprivate PathcreatePath(ResourceLocation location) private static <E> CompletableFuture<?> dumpValue(Path path, CachedOutput output, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Encoder<E> encoder, E value) final StringgetName()run(CachedOutput output)
-
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 output, CompletableFuture<HolderLookup.Provider> registries)
-
-
Method Details
-
run
- Specified by:
runin interfaceDataProvider
-
dumpValue
private static <E> CompletableFuture<?> dumpValue(Path path, CachedOutput output, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Encoder<E> encoder, E value) -
createPath
-
getName
- Specified by:
getNamein interfaceDataProvider
-