Skip to content

Commit

Permalink
Probably fixed getting stuck into a flower pot
Browse files Browse the repository at this point in the history
  • Loading branch information
onixiya1337 committed Mar 8, 2024
1 parent 63633c1 commit 97e4b08
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
Binary file modified dist/baritone-api-1.0.0.jar
Binary file not shown.
Binary file modified dist/baritone-api-forge-1.0.0.jar
Binary file not shown.
Binary file modified dist/baritone-deobf-1.0.0.jar
Binary file not shown.
Binary file modified dist/baritone-standalone-1.0.0.jar
Binary file not shown.
Binary file modified dist/baritone-standalone-forge-1.0.0.jar
Binary file not shown.
Binary file modified dist/baritone-unoptimized-1.0.0.jar
Binary file not shown.
12 changes: 6 additions & 6 deletions dist/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
0c612cf0c9b95218b48d2ee31515cecd99a47e4c baritone-api-1.0.0.jar
2c4f9280a30e10090241e04d6d7f0d85ddd1f522 baritone-deobf-1.0.0.jar
261bfd6b9e06bd0277af215c956aceac907116eb baritone-api-forge-1.0.0.jar
3618bc4c2df132afeda3ac805d9b9ab00cde2689 baritone-standalone-1.0.0.jar
026bd97807be5bffc55524aa28239a0757cdf283 baritone-standalone-forge-1.0.0.jar
12f067609e50b7bad4683b1f7220896a57b800e7 baritone-unoptimized-1.0.0.jar
9d0650c1b2cdb25fc899163b93711a6243d8dc1f baritone-api-1.0.0.jar
f571f1b3e869962eadc78227ba034df733631289 baritone-deobf-1.0.0.jar
090f3754e3f65082de79acd81c671e2147789106 baritone-api-forge-1.0.0.jar
9baa2c6a32df462f2e4e0caedb6f5ca69764cafc baritone-standalone-1.0.0.jar
350d6bad357927f3f02b7625aa75c16edce2b1ee baritone-standalone-forge-1.0.0.jar
e6750c08310e354035dc5915fd7c87ac286e6880 baritone-unoptimized-1.0.0.jar
8 changes: 6 additions & 2 deletions src/main/java/baritone/pathing/movement/MovementHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static Ternary canWalkThroughBlockState(IBlockState state) {
if (block == Blocks.air) {
return YES;
}
if (block == Blocks.fire || block == Blocks.tripwire || block == Blocks.web || block == Blocks.end_portal || block == Blocks.cocoa || block instanceof BlockSkull || block instanceof BlockTrapDoor) {
if (block == Blocks.fire || block == Blocks.tripwire || block == Blocks.web || block == Blocks.end_portal || block == Blocks.cocoa || block instanceof BlockSkull || block instanceof BlockTrapDoor || block instanceof BlockFlowerPot) {
return NO;
}
if (Baritone.settings().blocksToAvoid.value.contains(block)) {
Expand Down Expand Up @@ -146,7 +146,8 @@ static Ternary fullyPassableBlockState(IBlockState state) {
|| block instanceof BlockLiquid
|| block instanceof BlockTrapDoor
|| block instanceof BlockEndPortal
|| block instanceof BlockSkull) {
|| block instanceof BlockSkull
|| block instanceof BlockFlowerPot) {
return NO;
}
try {
Expand Down Expand Up @@ -296,6 +297,9 @@ static Ternary canWalkOnBlockState(IBlockState state) {
if (block instanceof BlockStairs) {
return YES;
}
if (block == Blocks.flower_pot) {
return YES;
}
if (isWater(block)) {
return MAYBE;
}
Expand Down

0 comments on commit 97e4b08

Please sign in to comment.