diff options
Diffstat (limited to 'azalea-physics/src/clip.rs')
| -rw-r--r-- | azalea-physics/src/clip.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/azalea-physics/src/clip.rs b/azalea-physics/src/clip.rs index ea5940a5..7c16f5d4 100644 --- a/azalea-physics/src/clip.rs +++ b/azalea-physics/src/clip.rs @@ -11,9 +11,7 @@ use azalea_core::{ math::{self, EPSILON, lerp}, position::{BlockPos, Vec3}, }; -use azalea_inventory::ItemStack; use azalea_world::ChunkStorage; -use bevy_ecs::entity::Entity; use crate::collision::{BlockWithShape, EMPTY_SHAPE, VoxelShape}; @@ -92,15 +90,6 @@ impl FluidPickType { } } -#[derive(Debug, Clone)] -pub struct EntityCollisionContext { - pub descending: bool, - pub entity_bottom: f64, - pub held_item: ItemStack, - // pub can_stand_on_fluid: Box<dyn Fn(&FluidState) -> bool>, - pub entity: Entity, -} - pub fn clip(chunk_storage: &ChunkStorage, context: ClipContext) -> BlockHitResult { traverse_blocks( context.from, |
