From b0bd992adcff71ee294dd05060e00e652f62a7b2 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sun, 16 Mar 2025 13:41:17 -0500 Subject: Fluid physics fixes (#210) * start fixing code related to fluid physics * implement force_solid for blocks * afk pool test --- azalea-physics/src/clip.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'azalea-physics/src/clip.rs') 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 bool>, - pub entity: Entity, -} - pub fn clip(chunk_storage: &ChunkStorage, context: ClipContext) -> BlockHitResult { traverse_blocks( context.from, -- cgit v1.2.3