mirror of https://github.com/cabaletta/baritone
parent
749fd4fac3
commit
7f21362a2a
|
@ -97,7 +97,10 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||
if (block instanceof AirBlock) { // early return for most common case
|
||||
return true;
|
||||
}
|
||||
if (block instanceof BaseFireBlock || block == Blocks.TRIPWIRE || block == Blocks.COBWEB || block == Blocks.END_PORTAL || block == Blocks.COCOA || block instanceof AbstractSkullBlock || block == Blocks.BUBBLE_COLUMN || block instanceof ShulkerBoxBlock || block instanceof SlabBlock || block instanceof TrapDoorBlock || block == Blocks.HONEY_BLOCK || block == Blocks.END_ROD || block == Blocks.POINTED_DRIPSTONE || block == Blocks.AMETHYST_CLUSTER) {
|
||||
if (block instanceof BaseFireBlock || block == Blocks.TRIPWIRE || block == Blocks.COBWEB || block == Blocks.END_PORTAL || block == Blocks.COCOA || block instanceof AbstractSkullBlock || block == Blocks.BUBBLE_COLUMN || block instanceof ShulkerBoxBlock || block instanceof SlabBlock || block instanceof TrapDoorBlock || block == Blocks.HONEY_BLOCK || block == Blocks.END_ROD || block == Blocks.POINTED_DRIPSTONE || block == Blocks.AMETHYST_CLUSTER || block instanceof AzaleaBlock) {
|
||||
return false;
|
||||
}
|
||||
if (block == Blocks.BIG_DRIPLEAF) {
|
||||
return false;
|
||||
}
|
||||
if (Baritone.settings().blocksToAvoid.value.contains(block)) {
|
||||
|
@ -183,6 +186,7 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||
|| block == Blocks.VINE
|
||||
|| block == Blocks.LADDER
|
||||
|| block == Blocks.COCOA
|
||||
|| block instanceof AzaleaBlock
|
||||
|| block instanceof DoorBlock
|
||||
|| block instanceof FenceGateBlock
|
||||
|| block instanceof SnowLayerBlock
|
||||
|
@ -310,6 +314,9 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||
if (isBlockNormalCube(state)) {
|
||||
return true;
|
||||
}
|
||||
if (block instanceof AzaleaBlock) {
|
||||
return true;
|
||||
}
|
||||
if (block == Blocks.LADDER || (block == Blocks.VINE && Baritone.settings().allowVines.value)) { // TODO reconsider this
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue