net.minecraft.data

public class HashCache

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

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<DataProvider, HashCache$ProviderCache>
f
existingCaches
field_38915
cachedDatas
f_236082_
private final Map<DataProvider, HashCache$CacheUpdater>
g
cachesToWrite
field_38916
dataWriters
f_236083_
private final Set<Path>
h
cachePaths
field_38917
paths
f_236084_
private final int
i
initialCount
field_38918
totalSize
f_236085_

Constructor summary

ModifierConstructor
public (Path root, List<DataProvider> dataProviders, WorldVersion gameVersion)

Method summary

Modifier and TypeMethod
private Path
c(iz arg0)
getProviderCachePath(DataProvider arg0)
method_43353(class_2405 arg0)
getPath(DataProvider dataProvider)
m_236109_(C_4765_ 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(iz arg0)
shouldRunInThisVersion(DataProvider arg0)
method_43347(class_2405 arg0)
isVersionDifferent(DataProvider dataProvider)
m_236090_(C_4765_ arg0)
public CachedOutput
b(iz arg0)
getUpdater(DataProvider arg0)
method_43352(class_2405 arg0)
getOrCreateWriter(DataProvider dataProvider)
m_236107_(C_4765_ arg0)
public void
a()
purgeStaleAndWrite()
method_10326()
write()
m_123937_()