net.minecraft.data

public class HashCache

mj
net.minecraft.data.HashCache
net.minecraft.class_2408
net.minecraft.data.DataCache

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_11287
LOGGER
private static final String
b
HEADER_MARKER
field_38912
HEADER
private final Path
c
rootDir
field_11285
root
private final Path
d
cacheDir
field_38913
cachePath
private final String
e
versionId
field_38914
versionName
private final Map<String, HashCache$ProviderCache>
f
caches
field_40832
cachedDatas
private final Set<String>
g
cachesToWrite
field_38916
dataWriters
final Set<Path>
h
cachePaths
field_38917
paths
private final int
i
initialCount
field_38918
totalSize
private int
j
writes
field_40833
totalCacheMissCount

Constructor summary

ModifierConstructor
public (Path root, Collection<String> providerNames, WorldVersion gameVersion)

Method summary

Modifier and TypeMethod
private Path
b(String arg0)
getProviderCachePath(String arg0)
method_43353(String arg0)
getPath(String providerName)
private static HashCache$ProviderCache
a(Path arg0, Path arg1)
readCache(Path arg0, Path arg1)
method_43348(Path arg0, Path arg1)
parseOrCreateCache(Path root, Path dataProviderPath)
public boolean
a(String arg0)
shouldRunInThisVersion(String arg0)
method_43347(String arg0)
isVersionDifferent(String providerName)
public CompletableFuture<HashCache$UpdateResult>
a(String arg0, mj$d arg1)
generateUpdate(String arg0, HashCache$UpdateFunction arg1)
method_46570(String arg0, class_2408$class_7859 arg1)
run(String providerName, DataCache$Runner runner)
public void
a(mj$e arg0)
applyUpdate(HashCache$UpdateResult arg0)
method_46569(class_2408$class_7860 arg0)
store(DataCache$RunResult runResult)
public void
a()
purgeStaleAndWrite()
method_10326()
write()