net.minecraft.world

public class PersistentStateManager

implements AutoCloseable

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

Field summary

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

Constructor summary

ModifierConstructor
public (Path directory, com.mojang.datafixers.DataFixer dataFixer, RegistryWrapper$WrapperLookup registries)

Method summary

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