Uses of Class
net.minecraft.data.DataCache
Package
Description
-
Uses of DataCache in net.minecraft.data
Modifier 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
Modifier and TypeMethodDescriptionvoid
private <T> void
ModelProvider.writeJsons
(DataCache cache, Path root, Map<T, ? extends Supplier<JsonElement>> jsons, BiFunction<Path, T, Path> locator) -
Uses of DataCache in net.minecraft.data.dev
-
Uses of DataCache in net.minecraft.data.report
Modifier and TypeMethodDescriptionvoid
void
void
void
private static <E,
T extends Registry<E>>
voidWorldgenProvider.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
WorldgenProvider.writeRegistryEntries
(DataCache cache, Path path, DynamicRegistryManager registryManager, com.mojang.serialization.DynamicOps<JsonElement> json, DynamicRegistryManager.Info<T> info) private static <E> void
WorldgenProvider.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
Modifier and TypeMethodDescriptionvoid
void
void
void
private static void
RecipeProvider.saveRecipe
(DataCache cache, JsonObject json, Path path) private static void
RecipeProvider.saveRecipeAdvancement
(DataCache cache, JsonObject json, Path path)