Skip to content

Commit

Permalink
Add a status field to the chunk nbt (Johni0702#158)
Browse files Browse the repository at this point in the history
This allows you to just put all the region files from the .bobby folder into a minecraft world and view them. Without a status field set to full minecraft regenerates the chunks.
  • Loading branch information
BanTheNons authored Jun 13, 2023
1 parent 7f117cd commit a949516
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public static NbtCompound serialize(WorldChunk chunk, LightingProvider lightingP
level.putInt("yPos", chunk.getBottomSectionCoord());
level.putInt("zPos", chunkPos.z);
level.putBoolean("isLightOn", true);
level.putString("Status", "full");

ChunkSection[] chunkSections = chunk.getSectionArray();
NbtList sectionsTag = new NbtList();
Expand Down

0 comments on commit a949516

Please sign in to comment.