From 5c0e5b1eb3edfdbf1542173f3cc9efcff18be511 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 3 Jun 2025 07:40:53 +1200 Subject: sort entities_by by distance and improve some docs --- azalea/src/pathfinder/world.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'azalea/src') diff --git a/azalea/src/pathfinder/world.rs b/azalea/src/pathfinder/world.rs index b77183e8..3ec95136 100644 --- a/azalea/src/pathfinder/world.rs +++ b/azalea/src/pathfinder/world.rs @@ -551,6 +551,16 @@ pub fn is_block_state_passable(block: BlockState) -> bool { return false; } + if registry_block == azalea_registry::Block::PowderSnow { + // we can't jump out of powder snow + return false; + } + + if registry_block == azalea_registry::Block::SweetBerryBush { + // these hurt us + return false; + } + true } -- cgit v1.2.3