This commit is contained in:
Leijurv 2018-09-02 10:45:07 -07:00
parent 462ccad885
commit e58c43305c
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
2 changed files with 16 additions and 1 deletions

15
FEATURES.md Normal file
View File

@ -0,0 +1,15 @@
# Pathing features
- Long distance pathing and splicing. Baritone calculates paths in segments
# Goals
The pathing goal can be set to any of these options
- GoalBlock - one specific block that the player should stand inside at foot level
- GoalXZ - an X and a Z coordinate, used for long distance pathing
- GoalYLevel - a Y coordinate
- GoalTwoBlocks - a block position that the player should stand in, either at foot or eye level
- GoalGetToBlock - a block position that the player should stand adjacent to, below, or on top of
- GoalNear - a block position that the player should get within a certain radius of, used for following entities
And finally GoalComposite. GoalComposite is a list of other goals, any one of which satisfies the goal. For example, `mine diamond_ore` creates a GoalComposite of GoalTwoBlock s for every diamond ore location it knows of.

View File

@ -188,7 +188,7 @@ public class ExampleBaritoneControl extends Behavior {
if (msg.toLowerCase().startsWith("mine")) {
String blockType = msg.toLowerCase().substring(4).trim();
MineBehavior.INSTANCE.mine(blockType);
displayChatMessageRaw("Started mining blocks of type" + blockType);
displayChatMessageRaw("Started mining blocks of type " + blockType);
event.cancel();
return;
}