Class SimpleRegionStorage
java.lang.Object
net.minecraft.world.level.chunk.storage.SimpleRegionStorage
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
RecreatingSimpleRegionStorage
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataFixTypes
private final com.mojang.datafixers.DataFixer
private final IOWorker
-
Constructor Summary
ConstructorDescriptionSimpleRegionStorage
(RegionStorageInfo p_327836_, Path p_328804_, com.mojang.datafixers.DataFixer p_332309_, boolean p_335456_, DataFixTypes p_331426_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
synchronize
(boolean p_334675_) com.mojang.serialization.Dynamic
<Tag> upgradeChunkTag
(com.mojang.serialization.Dynamic<Tag> p_329521_, int p_334930_) upgradeChunkTag
(CompoundTag p_330988_, int p_328203_) write
(ChunkPos p_328507_, CompoundTag p_328699_)
-
Field Details
-
worker
-
fixerUpper
private final com.mojang.datafixers.DataFixer fixerUpper -
dataFixType
-
-
Constructor Details
-
SimpleRegionStorage
public SimpleRegionStorage(RegionStorageInfo p_327836_, Path p_328804_, com.mojang.datafixers.DataFixer p_332309_, boolean p_335456_, DataFixTypes p_331426_)
-
-
Method Details
-
read
-
write
-
upgradeChunkTag
-
upgradeChunkTag
-
synchronize
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
storageInfo
-