aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src/chunk_storage.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-30 14:44:48 -1300
committermat <git@matdoes.dev>2025-05-30 14:44:48 -1300
commite37524899eef8a0034faee35cef4bbf1ba779a7d (patch)
tree5afe343086db2a9ebc78fe0a6987b9325286cc66 /azalea-world/src/chunk_storage.rs
parentae4b1e85e669bc882d158509ef1eda46c6b2a72e (diff)
downloadazalea-drasl-e37524899eef8a0034faee35cef4bbf1ba779a7d.tar.xz
formatting: merge imports
Diffstat (limited to 'azalea-world/src/chunk_storage.rs')
-rw-r--r--azalea-world/src/chunk_storage.rs20
1 files changed, 11 insertions, 9 deletions
diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs
index b3ccbe3a..b65c86b1 100644
--- a/azalea-world/src/chunk_storage.rs
+++ b/azalea-world/src/chunk_storage.rs
@@ -1,24 +1,26 @@
-use std::collections::hash_map::Entry;
use std::{
- collections::HashMap,
+ collections::{HashMap, hash_map::Entry},
+ fmt,
fmt::Debug,
+ io,
io::{Cursor, Write},
sync::{Arc, Weak},
};
-use std::{fmt, io};
-use azalea_block::block_state::{BlockState, BlockStateIntegerRepr};
-use azalea_block::fluid_state::FluidState;
+use azalea_block::{
+ block_state::{BlockState, BlockStateIntegerRepr},
+ fluid_state::FluidState,
+};
use azalea_buf::{AzaleaRead, AzaleaWrite, BufReadError};
use azalea_core::position::{BlockPos, ChunkBlockPos, ChunkPos, ChunkSectionBlockPos};
use nohash_hasher::IntMap;
use parking_lot::RwLock;
use tracing::{debug, trace, warn};
-use crate::heightmap::Heightmap;
-use crate::heightmap::HeightmapKind;
-use crate::palette::PalettedContainer;
-use crate::palette::PalettedContainerKind;
+use crate::{
+ heightmap::{Heightmap, HeightmapKind},
+ palette::{PalettedContainer, PalettedContainerKind},
+};
const SECTION_HEIGHT: u32 = 16;