not reliable enough with jesus to jump from water over a gap
This commit is contained in:
		| @@ -28,6 +28,7 @@ import baritone.pathing.movement.MovementState; | ||||
| import baritone.utils.BlockStateInterface; | ||||
| import baritone.utils.pathing.MutableMoveResult; | ||||
| import net.minecraft.block.Block; | ||||
| import net.minecraft.block.BlockLiquid; | ||||
| import net.minecraft.block.BlockStairs; | ||||
| import net.minecraft.block.state.IBlockState; | ||||
| import net.minecraft.init.Blocks; | ||||
| @@ -85,7 +86,7 @@ public class MovementParkour extends Movement { | ||||
|             return; | ||||
|         } | ||||
|         IBlockState standingOn = context.get(x, y - 1, z); | ||||
|         if (standingOn.getBlock() == Blocks.VINE || standingOn.getBlock() == Blocks.LADDER || standingOn.getBlock() instanceof BlockStairs || MovementHelper.isBottomSlab(standingOn)) { | ||||
|         if (standingOn.getBlock() == Blocks.VINE || standingOn.getBlock() == Blocks.LADDER || standingOn.getBlock() instanceof BlockStairs || MovementHelper.isBottomSlab(standingOn) || standingOn.getBlock() instanceof BlockLiquid) { | ||||
|             return; | ||||
|         } | ||||
|         int maxJump; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user