Class RecreatingChunkStorage
java.lang.Object
net.minecraft.world.level.chunk.storage.ChunkStorage
net.minecraft.world.level.chunk.storage.RecreatingChunkStorage
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsFields inherited from class net.minecraft.world.level.chunk.storage.ChunkStorage
fixerUpper, LAST_MONOLYTH_STRUCTURE_DATA_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionRecreatingChunkStorage
(RegionStorageInfo pInfo, Path pFolder, RegionStorageInfo pWriteInfo, Path pWriteFolder, com.mojang.datafixers.DataFixer pFixerUpper, boolean pSync) -
Method Summary
Methods inherited from class net.minecraft.world.level.chunk.storage.ChunkStorage
chunkScanner, flushWorker, getVersion, handleLegacyStructureIndex, injectDatafixingContext, isOldChunkAround, read, storageInfo, upgradeChunkTag
-
Field Details
-
writeWorker
-
writeFolder
-
-
Constructor Details
-
RecreatingChunkStorage
public RecreatingChunkStorage(RegionStorageInfo pInfo, Path pFolder, RegionStorageInfo pWriteInfo, Path pWriteFolder, com.mojang.datafixers.DataFixer pFixerUpper, boolean pSync)
-
-
Method Details
-
write
- Overrides:
write
in classChunkStorage
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classChunkStorage
- Throws:
IOException
-