mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 06:39:07 +02:00
Refactor logic from new dump tools into library crate
This commit is contained in:
parent
5a364e2434
commit
5e96be3fda
8 changed files with 196 additions and 147 deletions
9
src/types.rs
Normal file
9
src/types.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
pub const CHUNKS_PER_REGION: u8 = 32;
|
||||
|
||||
/// A chunk X coordinate relative to a region
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct ChunkX(pub u8);
|
||||
|
||||
/// A chunk Z coordinate relative to a region
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct ChunkZ(pub u8);
|
Loading…
Add table
Add a link
Reference in a new issue