package com.gamingmesh.jobs.container; import java.util.HashMap; public class ExploreRegion { int x; int z; HashMap chunks = new HashMap(); public ExploreRegion(int x, int z) { this.x = x; this.z = z; } public void addChunk(ExploreChunk chunk) { chunks.put(chunk.getX() + ":" + chunk.getZ(), chunk); } public HashMap getChunks() { return chunks; } public ExploreChunk getChunk(String cord) { return chunks.get(cord); } }