Skip to content

Commit cbeaa66

Browse files
committed
Update Readme
1 parent f30d821 commit cbeaa66

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,37 @@ A pathfinding bot for Minecraft.
33
Requires Forge for Minecraft 1.12
44

55

6-
[![IMAGE ALT TEXT](http://img.youtube.com/vi/JocMiGa-rc0/0.jpg)](https://www.youtube.com/watch?v=JocMiGa-rc0 "Stevebot 0.2.0")
6+
[![IMAGE ALT TEXT](http://img.youtube.com/vi/Q6micHhYB54/0.jpg)](https://www.youtube.com/watch?v=Q6micHhYB54 "Stevebot 1.0.0")
7+
8+
9+
#### Commands
10+
11+
- /path \<xs> \<ys> \<ze> \<xe> \<ye> \<ze> - Finds a path from the first position to the second position.
12+
13+
- /path \<x> \<y> \<z> [freelook] - Finds a path from the current position to the given position. Enable freelook-mode with "freelook".
14+
15+
- /path \<dist> [freelook] - Finds a path 'dist'-blocks in the direction the player is looking. Enable freelook-mode with "freelook".
16+
17+
- /path level \<level> [freelook] - Finds a path to the given y-level. Enable freelook-mode with "freelook".
18+
19+
- /path <block> [freelook] - Finds a path to the nearest block of the given type (e.g. minecraft:diamond_ore). Enable freelook-mode with "freelook".
20+
21+
- /freelook - Toogle freelook-mode.
22+
23+
- /follow stop - Stop following the current path.
24+
25+
- /set timeout <seconds> - Sets the timeout for pathfinding.
26+
27+
- /set verbose <enable> - Enable/Disable verbose log-mode.
28+
29+
- /set keepPathRenderable <keep> - Keep/Discard the path-overlay after completion.
30+
31+
- /show chunkcache <show> - Show/Hide the overlay for the chunk cache.
32+
33+
- /show nodecache <show> - Show/Hide the overlay for the node cache.
34+
35+
- /pathstyle <style> - Set the style of the path-overlay (solid, pathid, actionid, actioncost or actiontype)
36+
37+
- /clear blockcache - Clears the block-cache.
38+
39+
- /statistics [console] - Displays statistics about the last pathfinding process. Optionally format for console-output.

src/main/java/stevebot/commands/StevebotCommands.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static void initialize(PathHandler pathHandler) {
121121
CommandSystem.addCommand(
122122
"pathBlock",
123123
"path <block:STRING>",
124-
"/path level <level>\n Finds a path to the nearest with of the given type.",
124+
"/path <block>\n Finds a path to the nearest block of the given type (e.g. minecraft:diamond_ore).",
125125
(templateId, parameters) -> {
126126
if (PlayerUtils.getPlayer() != null) {
127127
final BaseBlockPos from = PlayerUtils.getPlayerBlockPos();
@@ -140,7 +140,7 @@ public static void initialize(PathHandler pathHandler) {
140140
CommandSystem.addCommand(
141141
"pathBlockFreelook",
142142
"path <block:STRING> freelook",
143-
"/path level <level>\n Finds a path to the nearest with of the given type and enables freelook.\",.",
143+
"/path <block>\n Finds a path to the nearest block of the given type (e.g. minecraft:diamond_ore) and enables freelook.",
144144
(templateId, parameters) -> {
145145
if (PlayerUtils.getPlayer() != null) {
146146
final BaseBlockPos from = PlayerUtils.getPlayerBlockPos();
@@ -174,7 +174,7 @@ public static void initialize(PathHandler pathHandler) {
174174
CommandSystem.addCommand(
175175
"followStop",
176176
"follow stop",
177-
"follow stop\n Stop following the current path.",
177+
"/follow stop\n Stop following the current path.",
178178
(templateId, parameters) -> {
179179
if (PlayerUtils.getPlayer() != null) {
180180
pathHandler.cancelPath();

0 commit comments

Comments
 (0)