Commit Graph

2178 Commits

Author SHA1 Message Date
CDAGaming af29ed7146
Added a top/surface command
Superseeds PR #594
2020-10-12 12:44:12 -05: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
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
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
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
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
ZacSharp b7d1ba1fa5
Make Codacity happy 2020-08-20 23:11:55 +02:00
ZacSharp 5f686c1c12 improve isSafeToCancel in MovementDiagonal even more
It did not return true early enough for backfill while cornering over air
2020-08-20 22:55:42 +02:00
kuthy 7f9704592e Made catch function wide 2020-08-18 15:40:12 +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 836ef3328c
Merge pull request #1541 from babbaj/keep-annotation
Annotation for proguard -keep
2020-08-17 16:36:48 -07:00
Leijurv 97a1029a72
Merge pull request #1554 from ByteZ1337/master
Fixed Typo
2020-08-17 16:17:47 -07:00
Leijurv 5f9602796a
Merge pull request #1876 from CorruptedSeal/master
Update ExecutionControlCommands.java
2020-08-17 16:17:01 -07:00
Leijurv 02e7886e77
properly set isSafeToCancel in MovementDiagonal, fixes #1788 2020-08-17 16:15:56 -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 38d047dbd1
make the packer queue super cute and deduplicated 2020-08-17 15:19:11 -07:00
Leijurv e6ba4ef309
we don't compile here 2020-08-17 15:00:57 -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 88e2fba447 Ok, Im actually retarded 2020-08-14 17:11:31 +02:00
RealIndrit 94ac15a8fc KEK False != True :clown: 2020-08-14 17:06:41 +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 e0ff16e2dd Nice brainfart 2020-08-14 10:34:21 +02:00
RealIndrit 49db52673a Lol 2020-08-14 10:25:51 +02:00
RealIndrit f8872e1cd4 Everything can be traced back to getBestSlot(); 2020-08-14 10:14:02 +02:00
RealIndrit 2ed3e10833 And we try this again, because wtf?? 2020-08-13 23:20:30 +02:00
RealIndrit 2b6fe188ed Why calculate stuff that isnt needed... 2020-08-13 22:47:40 +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
CorruptedSeal 6603e8b11e
Update ExecutionControlCommands.java 2020-07-16 03:45:23 -06:00
kuthy 0055a059f7
Formated Code 2020-07-03 16:52:03 +02:00
kuthy 8262909063
Fixing crash after clicking into the air 2020-07-03 15:36:44 +02:00
Leijurv e42c19bfec
thebes uwu 2020-06-27 22:25:47 -07:00
ByteZ1337 c41eb4afa0
Merge remote-tracking branch 'upstream/master' 2020-06-08 17:42:05 +02:00
Leijurv a76cf0fe9a
brady more like brainletdy 2020-05-17 18:35:41 -07:00
Babbaj 806dc8f017
This had to be done 2020-05-04 01:15:18 -04:00
ByteZ1337 ff3234fcdd Fixed Typo
Fixed Typo in the Long Description of the Goto Command
2020-04-13 20:39:56 +02:00
Babbaj c32652394e
Annotation for proguard -keep 2020-04-12 03:01:24 -04:00
Leijurv e218ced2c7
i hate myself 2020-03-30 22:23:43 -07:00
Leijurv 62b808ad48
nickhasbugs 2020-03-18 19:15:47 -07:00
Leijurv f4842aa512
fix actual underlying sneak issue 2020-03-14 11:51:26 -07:00
Brady eda1820773
Fix Cubecraft Crash (Affects 1.13.2+) 2020-03-07 20:17:53 -06:00
Brady c8856cfea4
Fix #1250 2020-03-07 17:34:27 -06:00
Leijurv 217e0da4a6
Merge pull request #1340 from fw4hre0xxq/issue-1339-trapchest-pathing
fix #1339
2020-03-02 12:50:35 -08:00
Brady 0ca3c496de
Fix tunnel command usage 2020-03-02 13:40:43 -06:00
aUniqueUser 0434e1c5d3
Add more entries to MineProcess 2020-02-29 12:24:06 -05:00
aUniqueUser 4c79701d22
Make desktop notifications more useful 2020-02-29 11:28:18 -05:00
Leijurv 17c691b1cf
the whole point is its better to do something nonsensical than to crash, so lets continue in that direction 2020-02-27 18:06:11 -08:00
Leijurv 9fb46946b5
fix sprint while paused bug, fixes #1331 2020-02-27 18:05:48 -08:00
fw4hre0xxq 220fa79057 fix #1339 2020-02-27 17:14:41 -08:00
aUniqueUser 628ec0f2b5
updated longDesc 2020-02-26 13:04:10 -05:00
aUniqueUser e3b91c884a
More logical argument order 2020-02-26 12:30:07 -05:00
CDAGaming 6f136a90a2
[Change] Adjustments 2020-02-26 07:55:21 -06:00
aUniqueUser acd9bcceeb
Codacy 2020-02-25 21:47:35 -05:00
aUniqueUser 3c2838df9e
lol 2020-02-25 21:22:35 -05:00
aUniqueUser 4b526f7242
Custom Tunneling 2020-02-25 21:13:20 -05:00
Leijurv 61563c9359
builderprocess should use hypothetical sneaking 2020-02-24 19:27:11 -08: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
Brady c578d5c1a3
Fix additional TrayIcon creation and support Mac notifs 2020-02-23 12:51:14 -06:00
aUniqueUser a8645afbdb Revert "mfw"
This reverts commit 25b85f17a3.
2020-02-22 21:09:36 -05:00
aUniqueUser 25b85f17a3
mfw 2020-02-22 20:41:06 -05:00
aUniqueUser cf691118b9
comment fixed 2020-02-22 20:19:25 -05:00
aUniqueUser 0dcb9d4b69
Formatting 2020-02-22 20:12:43 -05:00
aUniqueUser 2d2571cff5
Desktop Notification System 2020-02-22 18:31:41 -05:00
Leijurv 539b8ef973
fix oversight in coordinate censorship 2020-01-25 22:35:01 -08: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 adff391e45
Merge branch 'schematic-formats' 2019-12-31 18:25:21 -06:00
Brady 4a05837b01
Requested changes 2019-12-31 17:44:20 -06:00
FTC55 04190af340 ...more than I thought. Autoreformatted file x2 2019-12-31 19:45:08 +01:00
FTC55 4b10904b97 Git missed some changes. Autoreformatted files. 2019-12-31 19:43:54 +01:00
FTC55 bbb25acff3 Fixed the bug, merged CancelCommand into ExecutionControlCommands 2019-12-31 19:31:30 +01:00
Brady fcfa022232
Clean up BlockOptionalMeta comment and add behavioral clarification 2019-12-30 02:27:20 -06:00
Brady 220ee30d35
Appease Codacy 2019-12-27 21:28:05 -06:00
Brady 812bc0d8c4
Remove redundant parser layer 2019-12-27 01:14:31 -06:00
Brady d712839c25
Make Schematica respect mapArtMode setting 2019-12-25 01:35:10 -06:00
Brady eee705b371
Schematic Format API support 2019-12-24 17:20:00 -06:00
Brady 77bdf6e444
Fix MapSchematic 2019-12-23 18:05:50 -06:00
Brady 0a858c040c
Working 2019-12-19 22:15:14 -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 aa3bd80ab2
Clean ups 2019-12-19 11:40:38 -06:00
Brady ea8d7fb3b9
Improve file extension fallback mechanism 2019-12-18 15:19:58 -06:00
Brady b4ddf38116
Check if state is null 2019-12-18 10:27:34 -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 2b71b31cfa
Merge pull request #1087 from cabaletta/ispassable-crash-fix
Fix isPassable crash
2019-11-10 22:52:29 -08:00
Leijurv ed144e995b
apparently this usage of > was an invalid javadoc command lol 2019-11-10 14:04:27 -08:00
Brady 7e3a2d3c0a
Create a BlockStateInterface specialized IBlockAccess wrapper 2019-11-05 18:17:10 -06: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 5201d39adf
Retain old method signature 2019-10-24 15:20:23 -05:00
Brady f02c33d95a
Fix improper tick count incrementation 2019-10-23 17:47:20 -05:00
Brady 43ab4f7d3b
Fix isPassable crash 2019-10-22 15:58:10 -05:00
0x22 66ffd1e0d9
Disable harmful mob spawning in Travis auto test. 2019-10-17 14:35:28 -04: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
Leijurv 5e9b439591
avery byte scuff btfo 2019-10-10 17:47:26 -07:00
Brady 42306055ee
Backport anti-poz from 1.13.2 branch to 1.12.2/master 2019-10-09 21:29:48 -05:00
Leijurv ce2fc6f251
no more allowVines crash 2019-10-09 10:50:12 -07:00
Brady 0b2bab6549
Clean up performance Mixins 2019-10-07 17:25:09 -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 8f0a8b6f56
fix inefficient schematic block lookups 2019-10-06 17:32:25 -07:00
Leijurv d1c2a0491c
only one goto target 2019-10-06 13:49:24 -07: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