net.minecraft.data

public class HashCache

mb
net.minecraft.data.HashCache
net.minecraft.class_2408
net.minecraft.data.DataCache
net.minecraft.src.C_4766_

Field summary

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

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)
m_252859_(String arg0)
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)
m_236092_(Path p_236093_, Path p_236094_)
public boolean
a(String arg0)
shouldRunInThisVersion(String arg0)
method_43347(String arg0)
isVersionDifferent(String providerName)
m_253256_(String arg0)
public CompletableFuture<HashCache$UpdateResult>
a(String arg0, mb$d arg1)
generateUpdate(String arg0, HashCache$UpdateFunction arg1)
method_46570(String arg0, class_2408$class_7859 arg1)
run(String providerName, DataCache$Runner runner)
m_253234_(String p_254321_, C_4766_$C_252369_ arg1)
public void
a(mb$e arg0)
applyUpdate(HashCache$UpdateResult arg0)
method_46569(class_2408$class_7860 arg0)
store(DataCache$RunResult runResult)
m_253116_(C_4766_$C_252367_ arg0)
public void
a()
purgeStaleAndWrite()
method_10326()
write()
m_123937_()