Commit Graph

1997 Commits

Author SHA1 Message Date
scorbett123
c0f7d5ab44
fix error made while copying and pasting.
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-11-01 17:30:53 +00:00
scorbett123
60f81fb89d
notify users that their death position has been saved.
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-11-01 17:18:31 +00:00
scorbett123
49bc96dc7e
add useSwordToMine setting.
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-11-01 16:12:38 +00:00
Leijurv
320a5d64a3
well i guess technically there could be an ore at bedrock level lmao 2020-10-30 22:39:30 -07:00
Sam Corbett
9922382581 don't fall back onto the first slot if it has a low durability item in the slot.
Signed-off-by: Sam Corbett <sam@corbettchocolates.com>
2020-10-28 08:44:40 +00:00
scorbett123
4aa52d2f2e
add itemSaver setting.
Signed-off-by: scorbett123 <sam@corbettchocolates.com>
2020-10-24 18:03:29 +01:00
millennIumAMbiguity
65a5677b33 Added the feature to only farm within range of a waypoint. 2020-10-22 00:36:19 +02:00
millennIumAMbiguity
5d3522ca0a Added range argument to farm 2020-10-16 23:32:53 +02:00
Sam Corbett
bfb530e02b add a minimum Y level.
Signed-off-by: Sam Corbett <sam@corbettchocolates.com>
2020-10-16 17:02:02 +01:00
ZacSharp
3cdbc4cb83
👌formatting in of comments 2020-10-15 21:48:17 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Brady
7e3a2d3c0a
Create a BlockStateInterface specialized IBlockAccess wrapper 2019-11-05 18:17:10 -06: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
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
4d05b152f0
Create ICommand to go alongside Command default implementation 2019-10-07 16:46:21 -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
Leijurv
5f0d3a4018
resume builder too 2019-10-06 13:24:50 -07:00
Brady
889e288524
Refactor *.util.command to *.command 2019-10-06 15:21:21 -05: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
3a3d880d81
ArgConsumer API separation 2019-10-04 08:55:02 -05:00
Leijurv
089c5fb095
fix buildinlayers crash 2019-10-01 14:29:19 -07:00
Brady
f1fb109d40
Remove ICommandExecution due to redundancy 2019-09-30 21:41:30 -05:00
Leijurv
47e6a039ef
delet 2019-09-30 17:04:33 -07:00
Brady
b8c8b1eb69
Merge pull request #952 from cabaletta/commands
Commands
2019-09-30 18:45:22 -05:00
Leijurv
8a396db80e
fix brainlet block breaking issue 2019-09-28 16:28:58 -07:00
Brady
6a90b57ced
Some basic API/Main separation 2019-09-28 10:21:07 -05:00
Brady
cf60a5f3bd
Clean up some things with DefaultCommands 2019-09-27 10:18:46 -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
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
204f9d2e31
Fix redundant Stream.of usage 2019-09-21 17:25:20 -05:00
Brady
b88af1d682
CommandManager is now Baritone instance dependent 2019-09-21 02:40:03 -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
Leijurv
0a2e3f98f9
freecam meme 2019-09-19 18:23:05 -07:00
Leijurv
6cc29712e2
fix mine ordering 2019-09-19 17:53:50 -07: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
050b6046d7
small tweaks 2019-09-19 14:43:18 -07:00
Leijurv
f0c78751bf
no more asList static 2019-09-19 14:40:58 -07:00
0x22
fbabbe69c0
Fix a MAJOR bug caused by the JetBrains™ AutoFormatter™ 2019-09-19 17:36:06 -04: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
Leijurv
0a38e6f690
standardize on this 2019-09-19 13:40:46 -07:00
Leijurv
23a592ec01
it launches 2019-09-19 13:30:40 -07:00
Leijurv
396a96d604
reformat 2019-09-19 12:53:15 -07:00
Leijurv
0504a1d4bf
Merge pull request #949 from LoganDark/commands
Commands
2019-09-19 12:51:21 -07:00
Leijurv
fa905b8844
fix breaking blocks 2019-09-19 12:29:33 -07:00
Leijurv
5f674b86f8
add a setting to scan a larger radius every tick 2019-09-16 23:17:20 -07:00
Leijurv
cccd61e050
add ability to build from opposite corner 2019-09-15 11:37:09 -07:00
Leijurv
bf03a000d1
diagonal ascend 2019-09-09 23:06:36 -07:00
Logan Darklock
fc63c16ee0
initialize chat control only once ever 2019-09-07 00:21:54 -07:00
Logan Darklock
147884f76d
mineprocess reformat too 2019-09-06 17:46:26 -07:00
Logan Darklock
240af75ff7
that specific continuation indent 2019-09-06 17:45:34 -07:00
Logan Darklock
c54dcdba24
"stAnDaRd" ConTinuATion InDEnT 2019-09-06 17:41:27 -07:00
Logan Darklock
9db07faf49
import * 2019-09-06 17:31:41 -07:00
Logan Darklock
aefc82e47c
Review 2 2019-09-06 17:22:55 -07:00
Logan Darklock
8a001a2438
Review 2019-09-06 03:59:10 -07:00
Logan Darklock
69e3481a32
move default commands to main module 2019-09-04 11:17:36 -07:00
Logan Darklock
382ad0079c
DrawAABB changes, set command bugfix, sel rendering change, selection setting name changes 2019-09-03 23:46:20 -07:00
Logan Darklock
8dc4ff26d6
Persistent renderManager, selection transparency setting, drawAABB fixes 2019-09-03 22:55:56 -07:00
Logan Darklock
991283182c
Fix some bugs with schematics 2019-09-03 08:35:16 -07:00
Logan Darklock
65d2bdaf2b
Selection shifting and such 2019-09-03 06:09:02 -07:00
Logan Darklock
bc0f2b59da
First version of selection stuff; nothing supports it yet 2019-09-02 11:29:48 -07:00
Logan Darklock
98bb3fba9c
Pass current blockstate to schematics 2019-09-02 03:00:21 -07:00
Logan Darklock
b405a610bb
ground work for more build commands 2019-09-01 15:53:13 -07:00
Logan Darklock
c1749057d9 Merge branch 'prefer-silk-touch' into commands 2019-09-01 15:19:17 -07:00
Logan Darklock
150f7a9fd9
extra parenthesis 2019-09-01 15:18:59 -07:00