Commit Graph

542 Commits

Author SHA1 Message Date
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 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
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
scorbett123 d7088c8eea fix typo in java-doc x2
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-08-31 18:48:46 +01:00
ZacSharp b628d67961 Add ETA for full path 2020-08-26 23:52:44 +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
RealIndrit 523f13c430
🔥 Get yeeted unused code
Removed an unused function that can't be used anyways, because RayTraceUtils cant detect entity hit...
2020-08-18 12:36:10 +02:00
Leijurv 7992b63aae
Merge pull request #1346 from aUniqueUser/master
Make desktop notifications more useful
2020-08-17 16:38:36 -07:00
Leijurv 9851623557
anti-indrit-cringe 2020-08-17 16:03:04 -07:00
Leijurv f0d2bae3d1
Merge pull request #1947 from RealIndrit/master
Add auto tool setting
2020-08-17 15:57:37 -07:00
Leijurv f3561cab47
SUPER cute code for repackOnAnyBlockChange 2020-08-17 15:54:42 -07:00
Leijurv 460833f7d6
Merge branch 'master' of github.com:cabaletta/baritone 2020-08-17 14:59:20 -07:00
RealIndrit 2eba22031a Maybe dont have ignore cost calculation override auto tool? 2020-08-14 22:47:39 +02:00
RealIndrit ac55de63e9 Maybe dont have ignore cost calculation override auto tool? 2020-08-14 17:55:10 +02:00
RealIndrit 19355cb4f2 Added AutoToolMovement bypass setting for special usage cases, should not be used it not actually necessary 2020-08-14 10:58:15 +02:00
RealIndrit 2ddc2c3660 Add auto tool settings because 2 lines of code lols 2020-08-13 22:36:34 +02:00
Leijurv b187d86074
fix orsond rock brain moment 2020-08-05 23:31:32 -07:00
orsondmc 7081cf7172 Introduce startAtLayer to start building at a specific layer in the schematic. To be used only with buildWithLayers true. 2020-08-06 16:23:13 +10:00
Leijurv e42c19bfec
thebes uwu 2020-06-27 22:25:47 -07:00
aUniqueUser 4c79701d22
Make desktop notifications more useful 2020-02-29 11:28:18 -05:00
Leijurv e854bf59f8
fix sneaking based issues 2020-02-24 18:31:42 -08:00
Brady 888b2723e0
Fix critical prefix tag bug 2020-02-23 21:13:51 -06:00
Babbaj ee33666b38
3 days 2020-02-23 21:54:18 -05:00
Babbaj 07c406aa16
baritoe 2020-02-23 21:48:15 -05:00
aUniqueUser 2d2571cff5
Desktop Notification System 2020-02-22 18:31:41 -05:00
Brady 710170ef2d
Fix RelativeGoalXZ coordinate mix-up
Basically for many months now RelativeGoalXZ produced (~X, ~Y), not (~X, ~Z).
2020-01-10 20:10:16 -06:00
Brady fcfa022232
Clean up BlockOptionalMeta comment and add behavioral clarification 2019-12-30 02:27:20 -06:00
Brady 812bc0d8c4
Remove redundant parser layer 2019-12-27 01:14:31 -06:00
Brady eee705b371
Schematic Format API support 2019-12-24 17:20:00 -06:00
Brady eea5b69b6c
Utilize new FillSchematic 2019-12-19 12:03:02 -06:00
Brady 6759917a2f
Additional clean up 2019-12-19 11:58:47 -06:00
Brady ea8d7fb3b9
Improve file extension fallback mechanism 2019-12-18 15:19:58 -06:00
Brady 5c9f028103
Initial sponge support 2019-12-18 10:24:43 -06:00
Leijurv 937d4cc884
whoops 2019-12-13 20:46:12 -08:00
Leijurv 2c3e1f4232
builder stuff, fixes #1059 2019-12-13 20:09:04 -08:00
Leijurv ddc681fe77
build repeat count 2019-11-24 11:11:28 -08:00
Leijurv ed144e995b
apparently this usage of > was an invalid javadoc command lol 2019-11-10 14:04:27 -08:00
Leijurv ce52201e45
Merge pull request #1097 from greg904/fix-goto-errmsg
Remove error message when running goto with less than 3 args
2019-10-29 21:33:27 -07:00
Leijurv 2ae16d8bb1
configurable block reach distance 2019-10-26 16:01:08 -07:00
Greg Depoire--Ferrer 23fc6c8b49 Add a space between sentences in error message 2019-10-25 14:49:57 +02:00
Greg Depoire--Ferrer 0db4b193e1 Remove hack, add comment, don't use default when arg is required 2019-10-25 14:49:08 +02:00
Greg Depoire--Ferrer 82d520d808 Don't print invalid type error to stderr 2019-10-25 14:42:36 +02:00
Brady f02c33d95a
Fix improper tick count incrementation 2019-10-23 17:47:20 -05:00
Brady 4eca960a4c
Specify range in IWorldScanner#repack 2019-10-14 15:45:41 -05:00
Brady 2f9efae457
Refactors to improve consistency 2019-10-11 18:15:14 -05:00
Brady 42306055ee
Backport anti-poz from 1.13.2 branch to 1.12.2/master 2019-10-09 21:29:48 -05:00
Brady eb619adf4a
Whoops! 2019-10-07 16:50:43 -05:00
Brady 4d05b152f0
Create ICommand to go alongside Command default implementation 2019-10-07 16:46:21 -05:00
Brady c908552174
Clarify the default arg parsers 2019-10-07 10:08:52 -05:00
Brady f1bbdc177f
Collapse the sub-packages under helpers 2019-10-07 10:06:05 -05:00
Brady 9591b6fdef
Move IArgConsumer from *.helpers.arguments to *.argument 2019-10-07 10:00:04 -05:00
Leijurv d19039e3e5
goto is back 2019-10-06 13:44:37 -07:00
Leijurv 22d5cb8068
loiter around ores to anticipate a possible drop 2019-10-06 13:26:29 -07:00
Brady 889e288524
Refactor *.util.command to *.command 2019-10-06 15:21:21 -05:00
Leijurv 06805057d4
unscuff js code 2019-10-05 19:49:38 -07:00
Joerez 9843e8048d issue-1015 better handling
Delete org.eclipse.buildship.core.prefs

Delete .project

issue-1015 removed unessesary conversion

issue-1015 users can use k in their #todo arguments to multiply the goal by 1000
2019-10-05 19:31:32 -07:00
Brady 29d8ab43f2
un-poz some Command stuff 2019-10-04 19:22:15 -05:00
Brady 1440e81ea4
IArgParser API 2019-10-04 18:12:36 -05:00
Brady bfd8773efa
Make getBaritoneForPlayer null-safe 2019-10-04 09:20:26 -05:00
Brady 3a3d880d81
ArgConsumer API separation 2019-10-04 08:55:02 -05:00
Brady f1fb109d40
Remove ICommandExecution due to redundancy 2019-09-30 21:41:30 -05:00
Brady b8c8b1eb69
Merge pull request #952 from cabaletta/commands
Commands
2019-09-30 18:45:22 -05:00
Brady 6a90b57ced
Some basic API/Main separation 2019-09-28 10:21:07 -05:00
Brady a75b90fcef
crucial performance optimization 2019-09-27 17:07:40 -05:00
Brady 9981af67d5
Remove debug code 2019-09-27 11:10:57 -05:00
Brady a04742085e
Add documentation to datatypes 2019-09-27 09:54:55 -05:00
Brady b75a78f3d3
Fix the scuff 2019-09-26 23:33:37 -05:00
Brady 45bea50c91
Fix remaining usages to be in-line with previous commit 2019-09-26 23:20:45 -05:00
Brady 5ba1e67ea0
Don't print stack-traces to chat, just inform the user of the error 2019-09-26 23:18:05 -05:00
Brady 1064a79e1d
Fix javadoc errors 2019-09-26 22:59:15 -05:00
Brady 3803bc631b
Basically game on the imports 2019-09-26 19:02:21 -05:00
Brady 0b39b3e7b4
FORCE_COMMAND_PREFIX should be exposed to the API 2019-09-26 18:59:29 -05:00
Brady 2f480fcec2
BaritoneChatControl -> main 2019-09-26 18:57:08 -05:00
Brady f8f214ca90
Fix some null substitutions 2019-09-26 18:52:29 -05:00
Brady 595f5a35e0
Datatype Singletons 2019-09-26 18:49:26 -05:00
Brady 9f271b1f44
Future-compatibility for multiple Baritone instances 2019-09-25 18:27:47 -05:00
Brady 7292245b55
Rename PlayerByUsername to NearbyPlayer 2019-09-22 14:41:30 -05:00
Brady 9ffca6ad66
Minor javadoc tidy up 2019-09-21 17:45:53 -05:00
Brady 376c93bd3b
Consistent Stream.of usage over Arrays.stream 2019-09-21 17:37:13 -05:00
Brady 204f9d2e31
Fix redundant Stream.of usage 2019-09-21 17:25:20 -05:00
Brady e4353e489f
Get rid of default implementation of IArgParser 2019-09-21 17:11:15 -05:00
Brady b88af1d682
CommandManager is now Baritone instance dependent 2019-09-21 02:40:03 -05:00
Brady 9d2f83d8d6
Fix unused imports 2019-09-21 02:11:46 -05:00
Brady ea4f34cb0f
No more passing Settings to execute and tabComplete 2019-09-21 02:07:10 -05:00
Brady b7eaae88a8
Checked Command Exceptions 2019-09-20 18:32:43 -05:00
Brady eaa426dd66
Fix poor usage of Cloneable
Because super.clone() isn't being called, the idea of "Cloneable" isn't upheld.
2019-09-20 09:51:57 -05:00
Leijurv fc43ef9308
Merge pull request #956 from LoganDark/commands
Pulling in logandark's uncommitted changes to commands staging
2019-09-19 21:49:27 -07:00
Logan Darklock 8b4ac3893e
Tweaks and \n fix 2019-09-19 21:40:55 -07:00
Brady a0f412f255
Some ArgParser cleanups 2019-09-19 21:24:44 -05:00
0x22 394775fb9a
Attempt to "fix" travis. 2019-09-19 20:06:18 -04:00
0x22 6f2529c243
Removed very angry code. Started feeding Codacy. 2019-09-19 18:54:24 -04:00
Leijurv e976224258
a moderate amount of gamer 2019-09-19 15:31:21 -07:00
Leijurv f0c78751bf
no more asList static 2019-09-19 14:40:58 -07:00
Leijurv b63c54b657
remove isNull and nonNull 2019-09-19 14:34:45 -07:00
0x22 307d6a0628
Remove retarded MC field 2019-09-19 17:05:15 -04:00
Leijurv 61d4f102ba
its too many blank lines 2019-09-19 13:43:40 -07:00