aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/position.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-core/src/position.rs')
-rw-r--r--azalea-core/src/position.rs11
1 files changed, 4 insertions, 7 deletions
diff --git a/azalea-core/src/position.rs b/azalea-core/src/position.rs
index ea3df79b..e090b3f9 100644
--- a/azalea-core/src/position.rs
+++ b/azalea-core/src/position.rs
@@ -3,21 +3,18 @@
//! The most common ones are [`Vec3`] and [`BlockPos`], which are usually used
//! for entity positions and block positions, respectively.
-use std::hash::Hasher;
-use std::io;
-use std::str::FromStr;
use std::{
fmt,
- hash::Hash,
+ hash::{Hash, Hasher},
+ io,
io::{Cursor, Write},
ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Rem, Sub},
+ str::FromStr,
};
use azalea_buf::{AzBuf, AzaleaRead, AzaleaWrite, BufReadError};
-use crate::direction::Direction;
-use crate::math;
-use crate::resource_location::ResourceLocation;
+use crate::{direction::Direction, math, resource_location::ResourceLocation};
macro_rules! vec3_impl {
($name:ident, $type:ty) => {