diff options
| author | mat <git@matdoes.dev> | 2025-05-10 06:22:08 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-10 06:22:08 +0330 |
| commit | e1d3b902ba08170e4ee82c53f216445f57fbc47e (patch) | |
| tree | e383f7bb54edf654016a5c370786e6cb67ed28c4 /azalea-physics/src | |
| parent | e9b3128103d203ad4902a40124e4d22a012c196a (diff) | |
| download | azalea-drasl-e1d3b902ba08170e4ee82c53f216445f57fbc47e.tar.xz | |
add StartUseItemEvent and improve code related to interactions
Diffstat (limited to 'azalea-physics/src')
| -rw-r--r-- | azalea-physics/src/clip.rs | 2 | ||||
| -rw-r--r-- | azalea-physics/src/collision/shape.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-physics/src/clip.rs b/azalea-physics/src/clip.rs index 7c16f5d4..96c11d1a 100644 --- a/azalea-physics/src/clip.rs +++ b/azalea-physics/src/clip.rs @@ -6,8 +6,8 @@ use azalea_block::{ }; use azalea_core::{ aabb::AABB, - block_hit_result::BlockHitResult, direction::{Axis, Direction}, + hit_result::BlockHitResult, math::{self, EPSILON, lerp}, position::{BlockPos, Vec3}, }; diff --git a/azalea-physics/src/collision/shape.rs b/azalea-physics/src/collision/shape.rs index fc5615c3..e27e4c2a 100644 --- a/azalea-physics/src/collision/shape.rs +++ b/azalea-physics/src/collision/shape.rs @@ -1,8 +1,8 @@ use std::{cmp, num::NonZeroU32, sync::LazyLock}; use azalea_core::{ - block_hit_result::BlockHitResult, direction::{Axis, AxisCycle, Direction}, + hit_result::BlockHitResult, math::{EPSILON, binary_search}, position::{BlockPos, Vec3}, }; |
