Commit Graph

2705 Commits

Author SHA1 Message Date
Leijurv 5a5d11922f
Merge pull request #1995 from scorbett123/exposedOres
add mineOnlyExposedOres setting
2020-10-14 12:01:49 -07:00
scorbett123 39cfebeb34
fix formatting
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-10-14 20:00:49 +01:00
Leijurv 950f47ccae
Merge pull request #1958 from CDAGaming/feature/toasts
 Added Toast API Support
2020-10-14 11:18:09 -07:00
CDAGaming d2c625e1c9
Apply Review Comments 2020-10-14 13:14:23 -05:00
Leijurv 3f207b7041
Merge pull request #2076 from CDAGaming/feature/rendering-compat-fix
🐛 Fix a Rendering Conflict with some other Mods
2020-10-14 11:09:00 -07:00
Leijurv 8deb9e5a35
Merge pull request #1959 from CDAGaming/feature/top-command
 Added a top/surface command
2020-10-14 11:02:07 -07:00
Leijurv 5eeb33a6f5
Merge pull request #1845 from mariusdkm/master
Fixing crash after clicking into the air using the #click command
2020-10-14 10:59:34 -07:00
CDAGaming 918f009e8a
🐛 Fix a Rendering Conflict with some other Mods
In testing within Fabritone, it was found that these two lines (Which were previously used for an unknown optifine workaround) are no longer needed, and had no known side effects as of writing.

This can be backported as needed, but details are unknown how far this can go down

Future me PS: This PR is a superseed of my last one, erased during repo refactors, so now it lives on master branch. Testing recommended and can be up-ported/down-ported as you wish.
2020-10-12 12:52:05 -05:00
CDAGaming d6665f1cd5
Added Toast API Support
This adds in a logAsToast and toastTimer option, and is a minified form of Indrit's initial implementation previously used from fabritone
2020-10-12 12:46:01 -05:00
CDAGaming af29ed7146
Added a top/surface command
Superseeds PR #594
2020-10-12 12:44:12 -05:00
Leijurv 8ddc795158
Merge pull request #2020 from ZacSharp/wpgoto
make `#wp goto` behave like `#wp goal` and `#path`
2020-09-29 16:55:50 -07:00
ZacSharp 8a572516fc
Update description of WaypointsCommand 2020-09-23 22:54:41 +02:00
ZacSharp aebfbba20e
Also override heuristic(no args) when overriding isInGoal() 2020-09-20 22:39:48 +02:00
ZacSharp 85cc86346c
Actually use Y and Z bounds for Y and Z 2020-09-20 22:20:24 +02:00
ZacSharp b20e095683
add heuristic(no args) to GoalNear and GoalRunAway
not really a good solution but better than nothing
2020-09-20 00:29:31 +02:00
ZacSharp b4d7f05165
🐛 fix two NPEs in estimatedTickToGoal
apparently `ctx.playerFeet()` and `startPosition` can be `null` before pathing the first time
2020-09-19 21:46:07 +02:00
ZacSharp 46a12754e9
🐛Reset ETA and return 0 if we are already there
not doing this caused a continuously increasing ETA when standing inside a `GoalNear` from `FollowProcess`
2020-09-19 00:30:25 +02:00
ZacSharp 411b2a0acc
🔨move ETA reset to it's own function 2020-09-18 23:58:06 +02:00
ZacSharp 508dacac63
directly start pathing after `#home`
just like servers directly teleport you after `/home` without waiting for something like `/teleport`
2020-09-18 22:41:33 +02:00
ZacSharp 13ca691f5d
make `#wp goto` behave like `#goto`
It now is a combined `#wp goal` and `#path` just like `#goto` is `#goal` and `#path`
2020-09-16 20:19:55 +02:00
Leijurv 7e4d2c9b28
Update README.md 2020-09-15 12:43:34 -07:00
Brady 500c34c330
Merge pull request #2015 from babbaj/fix-troll-code
Don't call onLostControl on processes that haven't been fully constructed
2020-09-13 17:46:23 -05:00
Babbaj 234fd3f75e
don't use getter 2020-09-13 18:45:50 -04:00
Babbaj 32ef30686b
Don't call onLostControl on processes that haven't been fully constructed 2020-09-13 18:21:22 -04:00
Leijurv 175df6ce7a
Update USAGE.md 2020-09-11 21:54:20 -07:00
Leijurv 96b874c099
Update README.md 2020-09-11 21:52:43 -07:00
Sam Corbett 612510550f fix javadoc.
Signed-off-by: Sam Corbett <sam@corbettchocolates.com>
2020-09-08 19:00:41 +01:00
Sam Corbett 80e4852f90 Merge https://github.com/cabaletta/baritone into exposedOres 2020-09-08 17:48:45 +01:00
Sam Corbett 071243b99a move is transparent to movement helper and circle maker 2020-09-08 17:47:46 +01:00
Sam Corbett 547db3a6b4 make the ability to turn it off.
Signed-off-by: Sam Corbett <sam@corbettchocolates.com>
2020-09-08 17:47:45 +01:00
scorbett123 063f698bd2 need to remove diagonals, however this does most of what you suggest.
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-09-08 17:47:45 +01:00
scorbett123 bcbfca100f add mineOnlyExposedOres setting
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-09-08 17:47:45 +01:00
Leijurv 8206b1673c
Merge pull request #1988 from scorbett123/patch1
fix typo in java-doc x2
2020-09-07 13:18:52 -07:00
ZacSharp 7255ccbdaa
add heuristic(no args) to GoalComposite
GoalNear and GoalRunAway are still missing it
2020-09-06 16:42:05 +02:00
ZacSharp 45dc8b949d
add a method to get the heuristic at the goal
this alows the ETA to work with goals not ending with a heuristic of 0

GoalComposite, GoalRunAway and GoalNear are still missing
2020-09-05 22:32:38 +02:00
ZacSharp 10e3a5afc4
negative ETAs are actually impossible now 2020-09-05 22:13:05 +02:00
ZacSharp 303aa79ffb
Update ETA formula, assuming heuritic at goal is 0 2020-09-04 23:56:01 +02:00
ZacSharp 35f3be9296
get rid of negative ETAs the lazy way 2020-09-02 22:59:13 +02:00
scorbett123 d7088c8eea fix typo in java-doc x2
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-08-31 18:48:46 +01:00
ZacSharp 695954bdb0 no eta after 0 ticks or with division by 0 2020-08-28 23:37:23 +02:00
ZacSharp d29b3ee893
Fix copy/paste mistake in ETACommand.getLongDesc() 2020-08-28 01:19:06 +02:00
ZacSharp d9cecb35cb rename Eta to ETA 2020-08-28 00:56:18 +02:00
ZacSharp 71dd6c6333 👌formatting 2020-08-27 01:16:17 +02:00
ZacSharp 56f13d314a Add eta command 2020-08-26 23:53:02 +02:00
ZacSharp b628d67961 Add ETA for full path 2020-08-26 23:52:44 +02:00
Leijurv bf723deced
Merge pull request #1964 from ZacSharp/master
Fix MovementDiagonal being safeToCancel while cornering over air 2.0
2020-08-24 16:20:01 -07:00
ZacSharp 9636e69a6b slightly better condition 2020-08-24 23:06:19 +02:00
krzys-h ed91e2aa7b Fix "#entity follow <name>" under Forge
One of the Forge patches removes EntityList.REGISTRY and provides
the getClass method as a replacement.

The fix is based on a similar one I found in WorldDownloader

Closes #1376 (and duplicates: #1777 and #1815)
2020-08-24 22:24:18 +02:00
ZacSharp 3c691bb498 But now it's working 2020-08-20 23:33:47 +02:00
ZacSharp ea35a3478f
Codacity again for the same and syntax
dab
2020-08-20 23:16:59 +02:00