net.minecraft.world.level.storage

public class DimensionDataStorage

djj
net.minecraft.world.level.storage.DimensionDataStorage
net.minecraft.class_26
net.minecraft.world.PersistentStateManager
net.minecraft.src.C_2781_
net.minecraft.world.level.storage.WorldPersistentData

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_136
LOGGER
f_78143_
private final Map<String, SavedData>
b
cache
field_134
loadedStates
f_78144_
private final com.mojang.datafixers.DataFixer
c
fixerUpper
field_17663
dataFixer
f_78145_
private final File
d
dataFolder
field_17664
directory
f_78146_

Constructor summary

ModifierConstructor
public (File directory, com.mojang.datafixers.DataFixer dataFixer)

Method summary

Modifier and TypeMethod
private File
a(String arg0)
getDataFile(String arg0)
method_17922(String arg0)
getFile(String id)
m_78156_(String arg0)
public <T extends SavedData> T
a(Function<oc, T> arg0, Supplier<T> arg1, String arg2)
computeIfAbsent(Function<CompoundTag, T> arg0, Supplier<T> arg1, String arg2)
method_17924(Function<class_2487, T> arg0, Supplier<T> arg1, String arg2)
getOrCreate(Function<NbtCompound, T> readFunction, Supplier<T> supplier, String id)
m_164861_(Function<C_4917_, T> p_164863_, Supplier<T> p_164864_, String arg2)
public <T extends SavedData> T
a(Function<oc, T> arg0, String arg1)
get(Function<CompoundTag, T> arg0, String arg1)
method_20786(Function<class_2487, T> arg0, String arg1)
get(Function<NbtCompound, T> readFunction, String id)
m_164858_(Function<C_4917_, T> p_164860_, String arg1)
private <T extends SavedData> T
b(Function<oc, T> arg0, String arg1)
readSavedData(Function<CompoundTag, T> arg0, String arg1)
method_120(Function<class_2487, T> arg0, String arg1)
readFromFile(Function<NbtCompound, T> readFunction, String id)
m_164868_(Function<C_4917_, T> p_164870_, String arg1)
public void
a(String arg0, diy arg1)
set(String arg0, SavedData arg1)
method_123(String arg0, class_18 arg1)
set(String id, PersistentState state)
m_164855_(String p_164857_, C_2764_ arg1)
public CompoundTag
a(String arg0, int arg1)
readTagFromDisk(String arg0, int arg1)
method_17923(String arg0, int arg1)
readNbt(String id, int dataVersion)
m_78158_(String p_78160_, int arg1)
private boolean
a(PushbackInputStream arg0)
isGzip(PushbackInputStream arg0)
method_17921(PushbackInputStream arg0)
isCompressed(PushbackInputStream arg0)
m_78154_(PushbackInputStream arg0)
public void
a()
save()
method_125()
save()
m_78151_()