merge master
This commit is contained in:
commit
5e063f56a2
@ -17,6 +17,14 @@ the original version of the bot for Minecraft 1.8, rebuilt for 1.12.2.
|
|||||||
|
|
||||||
## Command Line
|
## Command Line
|
||||||
On Mac OSX and Linux, use `./gradlew` instead of `gradlew`.
|
On Mac OSX and Linux, use `./gradlew` instead of `gradlew`.
|
||||||
|
|
||||||
|
Running Baritone:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ gradlew run
|
||||||
|
```
|
||||||
|
|
||||||
|
Setting up for IntelliJ:
|
||||||
```
|
```
|
||||||
$ gradlew setupDecompWorkspace
|
$ gradlew setupDecompWorkspace
|
||||||
$ gradlew --refresh-dependencies
|
$ gradlew --refresh-dependencies
|
||||||
|
@ -46,7 +46,6 @@ public class CalculationContext implements Helper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public CalculationContext(ToolSet toolSet) {
|
public CalculationContext(ToolSet toolSet) {
|
||||||
player().setSprinting(true);
|
|
||||||
this.toolSet = toolSet;
|
this.toolSet = toolSet;
|
||||||
this.hasThrowaway = Baritone.settings().allowPlace.get() && MovementHelper.throwaway(false);
|
this.hasThrowaway = Baritone.settings().allowPlace.get() && MovementHelper.throwaway(false);
|
||||||
this.hasWaterBucket = Baritone.settings().allowWaterBucketFall.get() && InventoryPlayer.isHotbar(player().inventory.getSlotFor(STACK_BUCKET_WATER)) && !world().provider.isNether();
|
this.hasWaterBucket = Baritone.settings().allowWaterBucketFall.get() && InventoryPlayer.isHotbar(player().inventory.getSlotFor(STACK_BUCKET_WATER)) && !world().provider.isNether();
|
||||||
|
Loading…
Reference in New Issue
Block a user