progress: Finished the chunk-level ui for the visualization
This commit is contained in:
		@@ -36,10 +36,14 @@ type ChunkPos struct {
 | 
			
		||||
	Z int `json:"z"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (cp *ChunkPos) ToFileName() string {
 | 
			
		||||
func (cp ChunkPos) ToFileName() string {
 | 
			
		||||
	return fmt.Sprintf("p.%d.%d.chunk", cp.X, cp.Z)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (cp ChunkPos) StringCoords() string {
 | 
			
		||||
	return fmt.Sprintf("%d, %d", cp.X, cp.Z)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type ChunkSection struct {
 | 
			
		||||
	// The count of full blocks in the chunk
 | 
			
		||||
	BlockCount  uint                  `json:"block_count"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user