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 pOutput, CompletableFuture<HolderLookup.Provider> pRegistries) -
Method Summary
Modifier and TypeMethodDescriptionprivate PathcreatePath(ResourceLocation pLocation) private static <E> CompletableFuture<?> dumpValue(Path pPath, CachedOutput pOutput, com.mojang.serialization.DynamicOps<JsonElement> pOps, com.mojang.serialization.Encoder<E> pEncoder, E pValue) final StringgetName()run(CachedOutput pOutput)
-
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 pOutput, CompletableFuture<HolderLookup.Provider> pRegistries)
-
-
Method Details
-
run
- Specified by:
runin interfaceDataProvider
-
dumpValue
private static <E> CompletableFuture<?> dumpValue(Path pPath, CachedOutput pOutput, com.mojang.serialization.DynamicOps<JsonElement> pOps, com.mojang.serialization.Encoder<E> pEncoder, E pValue) -
createPath
-
getName
- Specified by:
getNamein interfaceDataProvider
-