net.minecraft.world.level.storage

public class DimensionDataStorage

eqz
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.slf4j.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 HolderLookup$Provider
d
registries
field_48926
registryLookup
f_316381_
private final File
e
dataFolder
field_17664
directory
f_78146_

Constructor summary

ModifierConstructor
public (File directory, com.mojang.datafixers.DataFixer dataFixer, HolderLookup$Provider registryLookup)

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(eql$a<T> arg0, 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_164861_(C_2764_$C_290195_<T> p_164864_, String arg1)
public <T extends SavedData> T
b(eql$a<T> arg0, 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_164858_(C_2764_$C_290195_<T> p_164860_, String arg1)
private <T extends SavedData> T
a(BiFunction<ub, jo$a, T> arg0, azw 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)
readFromFile(BiFunction<NbtCompound, RegistryWrapper$WrapperLookup, T> readFunction, 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, eql 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, azw arg1, 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_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_78154_(PushbackInputStream arg0)
public void
a()
save()
method_125()
save()
m_78151_()