Uses of Class
net.minecraft.data.DataCache
Packages that use DataCache
Package
Description
-
Uses of DataCache in net.minecraft.data
Methods in net.minecraft.data with parameters of type DataCacheModifier and TypeMethodDescriptionvoid
void
private void
SnbtProvider.write
(DataCache cache, SnbtProvider.CompressedData data, Path root) static void
DataProvider.writeToPath
(Gson gson, DataCache cache, JsonElement output, Path path) -
Uses of DataCache in net.minecraft.data.client
Methods in net.minecraft.data.client with parameters of type DataCacheModifier and TypeMethodDescriptionvoid
private <T> void
BlockStateDefinitionProvider.writeJsons
(DataCache cache, Path root, Map<T, ? extends Supplier<JsonElement>> jsons, BiFunction<Path, T, Path> locator) -
Uses of DataCache in net.minecraft.data.dev
Methods in net.minecraft.data.dev with parameters of type DataCache -
Uses of DataCache in net.minecraft.data.report
Methods in net.minecraft.data.report with parameters of type DataCacheModifier and TypeMethodDescriptionvoid
void
void
void
private static <E,
T extends Registry<E>>
voidWorldgenListProvider.writeRegistryEntries
(Path path, DataCache cache, com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends T> registryKey, T registry, com.mojang.serialization.Encoder<E> encoder) private static <T> void
WorldgenListProvider.writeRegistryEntries
(DataCache cache, Path path, DynamicRegistryManager registryManager, com.mojang.serialization.DynamicOps<JsonElement> json, DynamicRegistryManager.Info<T> info) private static <E> void
WorldgenListProvider.writeToPath
(Path path, DataCache cache, com.mojang.serialization.DynamicOps<JsonElement> json, com.mojang.serialization.Encoder<E> encoder, E value) -
Uses of DataCache in net.minecraft.data.server
Methods in net.minecraft.data.server with parameters of type DataCacheModifier and TypeMethodDescriptionvoid
void
void
void
private static void
RecipesProvider.saveRecipe
(DataCache cache, JsonObject json, Path path) private static void
RecipesProvider.saveRecipeAdvancement
(DataCache cache, JsonObject json, Path path)