net.minecraft.world.level.storage

public class DimensionDataStorage

implements AutoCloseable

evx
net.minecraft.world.level.storage.DimensionDataStorage
net.minecraft.class_26
net.minecraft.unmapped.C_hsdphpvz
net.minecraft.world.PersistentStateManager
net.minecraft.world.PersistentStateManager
net.minecraft.src.C_2781_
net.minecraft.world.level.storage.WorldPersistentData

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_136
f_ubuxbvbt
LOGGER
LOGGER
f_78143_
private final Map<String, Optional<SavedData>>
b
cache
field_134
f_rfnumwwf
loadedStates
loadedStates
f_78144_
private final com.mojang.datafixers.DataFixer
c
fixerUpper
field_17663
f_omosbkir
dataFixer
dataFixer
f_78145_
private final HolderLookup$Provider
d
registries
field_48926
f_vusrxvaz
registries
f_316381_
private final Path
e
dataFolder
field_17664
f_bjozrhjj
directory
directory
f_78146_
private CompletableFuture<?>
f
pendingWriteFuture
field_52688
f_glqllzzn
savingFuture
f_347753_

Constructor summary

ModifierConstructor
public (Path directory, com.mojang.datafixers.DataFixer dataFixer, HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
private Path
a(String arg0)
getDataFile(String arg0)
method_17922(String arg0)
m_qipmtwag(String arg0)
getFile(String id)
getFile(String id)
m_78156_(String arg0)
public <T extends SavedData> T
a(evj$a<T> arg0, String arg1)
computeIfAbsent(SavedData$Factory<T> arg0, String arg1)
method_17924(class_18$class_8645<T> arg0, String arg1)
m_jacratca(C_uuhisnem$C_vpqwshwc<T> arg0, String arg1)
getOrCreate(PersistentState$Type<T> type, String id)
getOrCreate(PersistentState$Factory<T> factory, String id)
m_164861_(C_2764_$C_290195_<T> p_164864_, String arg1)
public <T extends SavedData> T
b(evj$a<T> arg0, String arg1)
get(SavedData$Factory<T> arg0, String arg1)
method_20786(class_18$class_8645<T> arg0, String arg1)
m_gqqspvok(C_uuhisnem$C_vpqwshwc<T> arg0, String arg1)
get(PersistentState$Type<T> type, String id)
get(PersistentState$Factory<T> factory, String id)
m_164858_(C_2764_$C_290195_<T> p_164860_, String arg1)
private <T extends SavedData> T
a(BiFunction<ux, js$a, T> arg0, bbs arg1, String arg2)
readSavedData(BiFunction<CompoundTag, HolderLookup$Provider, T> arg0, DataFixTypes arg1, String arg2)
method_120(BiFunction<class_2487, class_7225$class_7874, T> arg0, class_4284 arg1, String arg2)
m_qvqicwbq(BiFunction<C_hhlwcnih, C_vtbxyypo$C_etmlgbig, T> arg0, C_ccrrfaqj arg1, String arg2)
readFromFile(BiFunction<NbtCompound, RegistryWrapper$WrapperLookup, T> readFunction, DataFixTypes dataFixTypes, String id)
readFromFile(BiFunction<NbtCompound, HolderLookup$Provider, T> arg0, DataFixTypes dataFixTypes, String id)
m_164868_(BiFunction<C_4917_, C_213466_$C_254607_, T> p_300231_, C_208_ p_164870_, String arg2)
public void
a(String arg0, evj arg1)
set(String arg0, SavedData arg1)
method_123(String arg0, class_18 arg1)
m_whuuilcw(String arg0, C_uuhisnem arg1)
set(String id, PersistentState state)
set(String id, PersistentState state)
m_164855_(String p_164857_, C_2764_ arg1)
public CompoundTag
a(String arg0, bbs arg1, int arg2)
readTagFromDisk(String arg0, DataFixTypes arg1, int arg2)
method_17923(String arg0, class_4284 arg1, int arg2)
m_kuhqzpxi(String arg0, C_ccrrfaqj arg1, int arg2)
readNbt(String id, DataFixTypes dataFixTypes, int currentSaveVersion)
readNbt(String id, DataFixTypes dataFixTypes, int dataVersion)
m_78158_(String p_301060_, C_208_ p_78160_, int arg2)
private boolean
a(PushbackInputStream arg0)
isGzip(PushbackInputStream arg0)
method_17921(PushbackInputStream arg0)
m_nnxihiob(PushbackInputStream arg0)
isCompressed(PushbackInputStream stream)
isCompressed(PushbackInputStream inputStream)
m_78154_(PushbackInputStream arg0)
public CompletableFuture<?>
a()
scheduleSave()
method_61873()
m_optyskfs()
startSaving()
m_357170_()
private Map<Path, CompoundTag>
c()
collectDirtyTagsToSave()
method_61881()
m_bbgtxtpe()
collectStatesToSave()
m_355226_()
private static CompletableFuture<Void>
a(Path arg0, ux arg1)
tryWriteAsync(Path arg0, CompoundTag arg1)
method_61875(Path arg0, class_2487 arg1)
m_hagecnvl(Path arg0, C_hhlwcnih arg1)
save(Path path, NbtCompound nbt)
m_356777_(Path p_363654_, C_4917_ p_362150_)
public void
b()
saveAndJoin()
method_125()
m_ejbbxirx()
save()
m_356906_()
public void
close()
close()
close()