Package mindustry.io.versions
Class Save12
java.lang.Object
mindustry.io.SaveFileReader
mindustry.io.SaveVersion
mindustry.io.versions.Save12
Changes data patches to be read before content, and adds support for more complex data patch IO.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.io.SaveFileReader
SaveFileReader.CustomChunk, SaveFileReader.IORunner<T>, SaveFileReader.IORunnerLength<T> -
Field Summary
Fields inherited from class mindustry.io.SaveVersion
customChunks, versionFields inherited from class mindustry.io.SaveFileReader
byteOutput, byteOutput2, chunkNested, chunkReads, dataBytes, dataBytes2, fallback, modContentNameMap, writes1, writes2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadDataPatches(DataInput stream, SaveReadState saveState) Methods inherited from class mindustry.io.SaveVersion
addCustomChunk, getMeta, read, readContentHeader, readCustomChunks, readEntities, readEntityMapping, readMap, readMarkers, readMeta, readRules, readTeamBlocks, readWorldEntities, write, writeContentHeader, writeCustomChunks, writeDataPatches, writeEntities, writeEntityMapping, writeMap, writeMarkers, writeMeta, writeTeamBlocks, writeWorldEntitiesMethods inherited from class mindustry.io.SaveFileReader
mapFallback, readChunk, readChunkReads, readLegacyShortChunk, readRegion, readStringMap, skipChunk, skipLegacyShortChunk, writeChunk, writeRegion, writeStringMap
-
Constructor Details
-
Save12
public Save12()
-
-
Method Details
-
readDataPatches
- Overrides:
readDataPatchesin classSaveVersion- Throws:
IOException
-