net.minecraft.world.level.storage

public class DimensionDataStorage

crl
net.minecraft.world.level.storage.DimensionDataStorage
net.minecraft.class_26
net.minecraft.world.PersistentStateManager
net.minecraft.world.storage.DimensionSavedDataManager
net.minecraft.server.v1_15_R1.WorldPersistentData

Field summary

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

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)
func_215754_a(String arg0)
public <T extends SavedData> T
a(Supplier<T> arg0, String arg1)
computeIfAbsent(Supplier<T> arg0, String arg1)
method_17924(Supplier<T> arg0, String arg1)
getOrCreate(Supplier<T> factory, String id)
func_215752_a(Supplier<T> arg0, String arg1)
public <T extends SavedData> T
b(Supplier<T> arg0, String arg1)
get(Supplier<T> arg0, String arg1)
method_20786(Supplier<T> arg0, String arg1)
get(Supplier<T> factory, String id)
func_215753_b(Supplier<T> arg0, String arg1)
private <T extends SavedData> T
c(Supplier<T> arg0, String arg1)
readSavedData(Supplier<T> arg0, String arg1)
method_120(Supplier<T> arg0, String arg1)
readFromFile(Supplier<T> factory, String id)
func_223409_c(Supplier<T> arg0, String arg1)
public void
a(crb arg0)
set(SavedData arg0)
method_123(class_18 arg0)
set(PersistentState state)
func_215757_a(WorldSavedData arg0)
public CompoundTag
a(String arg0, int arg1)
readTagFromDisk(String arg0, int arg1)
method_17923(String arg0, int arg1)
readTag(String id, int dataVersion)
func_215755_a(String arg0, int arg1)
private boolean
a(PushbackInputStream arg0)
isGzip(PushbackInputStream arg0)
method_17921(PushbackInputStream arg0)
isCompressed(PushbackInputStream arg0)
func_215756_a(PushbackInputStream arg0)
public void
a()
save()
method_125()
save()
func_212775_b()