@@ -25,15 +25,11 @@ pub fn update_in_water_state_and_do_fluid_pushing(
2525 . expect ( "All entities should be in a valid world" ) ;
2626 let world = world_lock. read ( ) ;
2727
28- println ! ( "update_in_water_state_and_do_fluid_pushing" ) ;
29-
3028 physics. water_fluid_height = 0. ;
3129 physics. lava_fluid_height = 0. ;
3230
3331 update_in_water_state_and_do_water_current_pushing ( & mut physics, & world, & position) ;
3432
35- println ! ( "physics.water_fluid_height: {}" , physics. water_fluid_height) ;
36-
3733 // let lava_push_factor = world
3834 // .registries
3935 // .dimension_type()
@@ -117,10 +113,6 @@ fn update_fluid_height_and_do_fluid_pushing(
117113 }
118114 let mut additional_player_delta_for_fluid =
119115 get_fluid_flow ( & fluid_at_cur_pos, world, cur_pos) ;
120- println ! (
121- "additional_player_delta_for_fluid: {}" ,
122- additional_player_delta_for_fluid
123- ) ;
124116 if min_height_touching < 0.4 {
125117 additional_player_delta_for_fluid *= min_height_touching;
126118 } ;
@@ -131,9 +123,6 @@ fn update_fluid_height_and_do_fluid_pushing(
131123 }
132124 }
133125
134- println ! ( "num_fluids_being_touched: {}" , num_fluids_being_touched) ;
135- println ! ( "additional_player_delta: {}" , additional_player_delta) ;
136-
137126 if additional_player_delta. length ( ) > 0. {
138127 additional_player_delta /= num_fluids_being_touched as f64 ;
139128
@@ -180,10 +169,6 @@ pub fn get_fluid_flow(fluid: &FluidState, world: &Instance, pos: BlockPos) -> Ve
180169 . get_fluid_state ( & adjacent_block_pos)
181170 . unwrap_or_default ( ) ;
182171 if fluid. affects_flow ( & adjacent_fluid_state) {
183- println ! (
184- "affects flow {adjacent_block_pos} {:?}" ,
185- adjacent_fluid_state
186- ) ;
187172 let mut adjacent_fluid_height = adjacent_fluid_state. height ( ) ;
188173 let mut adjacent_height_difference: f32 = 0. ;
189174
0 commit comments