Class RecreatingSimpleRegionStorage
java.lang.Object
net.minecraft.world.level.chunk.storage.SimpleRegionStorage
net.minecraft.world.level.chunk.storage.RecreatingSimpleRegionStorage
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecreatingSimpleRegionStorage(RegionStorageInfo pInfo, Path pFolder, RegionStorageInfo pWriteInfo, Path pWriteFolder, com.mojang.datafixers.DataFixer pFixerUpper, boolean pSync, DataFixTypes pDataFixType, Supplier<LegacyTagFixer> pLegacyFixer) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()write(ChunkPos p_321592_, Supplier<CompoundTag> p_459028_) Methods inherited from class net.minecraft.world.level.chunk.storage.SimpleRegionStorage
chunkScanner, injectDatafixingContext, isOldChunkAround, markChunkDone, read, storageInfo, synchronize, upgradeChunkTag, upgradeChunkTag, upgradeChunkTag, write
-
Field Details
-
writeWorker
-
writeFolder
-
-
Constructor Details
-
RecreatingSimpleRegionStorage
public RecreatingSimpleRegionStorage(RegionStorageInfo pInfo, Path pFolder, RegionStorageInfo pWriteInfo, Path pWriteFolder, com.mojang.datafixers.DataFixer pFixerUpper, boolean pSync, DataFixTypes pDataFixType, Supplier<LegacyTagFixer> pLegacyFixer)
-
-
Method Details
-
write
- Overrides:
writein classSimpleRegionStorage
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classSimpleRegionStorage- Throws:
IOException
-