diff options
Diffstat (limited to 'azalea-core/src/position.rs')
| -rwxr-xr-x | azalea-core/src/position.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/azalea-core/src/position.rs b/azalea-core/src/position.rs index f8072fa4..09b10563 100755 --- a/azalea-core/src/position.rs +++ b/azalea-core/src/position.rs @@ -1,10 +1,16 @@ -use crate::ResourceLocation; +//! Representations of positions of various things in Minecraft. +//! +//! The most common ones are [`Vec3`] and [`BlockPos`], which are usually used +//! for entity positions and block positions, respectively. + use azalea_buf::{BufReadError, McBuf, McBufReadable, McBufWritable}; use std::{ io::{Cursor, Write}, ops::{Add, AddAssign, Mul, Rem, Sub}, }; +use crate::resource_location::ResourceLocation; + macro_rules! vec3_impl { ($name:ident, $type:ty) => { impl $name { |
