working on disk to chunk packet test

This commit is contained in:
adman
2026-05-03 14:33:13 +02:00
parent 8a4f203621
commit e6d08dccbb
3 changed files with 24 additions and 0 deletions
File diff suppressed because one or more lines are too long
+8
View File
@@ -42,5 +42,13 @@ func TestRegionFile(t *testing.T) {
fmt.Println(string(util.MustT(json.MarshalIndent(n, "", " ")))) fmt.Println(string(util.MustT(json.MarshalIndent(n, "", " "))))
fmt.Println("Chunk loaded successfully") fmt.Println("Chunk loaded successfully")
}
func TestConverToPacket(t *testing.T) {
f, err := os.Open("./level/anvil/testdata/r.0.0.mca")
if err != nil {
return
}
defer f.Close()
} }
BIN
View File
Binary file not shown.