Cleanup for the saving in interface

This commit is contained in:
tom lee
2021-12-29 21:32:04 +08:00
parent df6253af39
commit 8b3404e5f8
@@ -105,13 +105,11 @@ public interface LevelContainer
void updateData(LevelContainer lowerLevelContainer, int posX, int posZ);
/**
* This will write the raw data without metadata to the output stream
* This will write the raw data with metadata to the output stream
* @return isAllGenerated whether the data is all generated
* @throws IOException
*/
default boolean writeData(DataOutputStream output) throws IOException {
throw new UnsupportedOperationException();
}
boolean writeData(DataOutputStream output) throws IOException;
/**
* This will give the data to save in the file