diff options
| author | mat <git@matdoes.dev> | 2023-10-01 15:19:13 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-10-01 15:19:13 -0500 |
| commit | befa33a87950b6d0f3364cb4fe603f6d84bf4b8f (patch) | |
| tree | b46f2b76d4f7c66aef05759d33de68d88904c45b /azalea-core/src/position.rs | |
| parent | 33e823d6fab990efaa735c05e4b0c42636003b76 (diff) | |
| download | azalea-drasl-befa33a87950b6d0f3364cb4fe603f6d84bf4b8f.tar.xz | |
organize azalea_core and re-export it from azalea
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 { |
