Commit Graph

2363 Commits

Author SHA1 Message Date
Leijurv 658048ff2d
fix snow and tweak others 2022-07-14 22:11:13 -07:00
Leijurv 0587223da8
better constants 2022-07-14 22:02:19 -07:00
Leijurv 2d1b81dc20
vastly increase cuteness by removing the optional boolean 2022-07-14 22:00:18 -07:00
Leijurv 0bd16fb81a
bit literals are meh 2022-07-14 21:56:25 -07:00
Leijurv 0c1fec5d1e
crucial performance optimization 2022-07-14 21:54:32 -07:00
Leijurv ee16eb7fde
funnier this way 2022-07-14 21:47:18 -07:00
Leijurv 5c9aeab6b4
add cmt 2022-07-14 21:44:42 -07:00
Leijurv 5c7cae9ab0
fix literally wrong comment that did not match subsequent code 2022-07-14 21:43:14 -07:00
Leijurv 93fa6cf875
introduce MAYBE and fix more allocation cases 2022-07-14 21:42:38 -07:00
Leijurv 5b7bee977b
also don't construct an optional for slabs 2022-07-14 21:38:38 -07:00
Leijurv 8018dac396
fix default case that instantiated an optional for non stairs 2022-07-14 21:38:02 -07:00
Leijurv 85ab317c6c
simplify, remove setting changed event, always construct new precomputeddata 2022-07-14 21:35:30 -07:00
scorbett123 6b0fb1721b These should be all the suggested changes for the caching of can walk through block states 2022-07-14 17:18:02 +01:00
scorbett123 fdcdcbb85f Switch to using an int[] for storing precomputed data, and also use lazy loading 2022-07-14 12:49:47 +01:00
Leijurv 4e2095d251
almost forgot 2022-07-09 22:15:20 -07:00
Leijurv 51275b3a65
make #paws be an alias for #pause 2022-07-09 22:06:39 -07:00
scorbett123 8d480cefb9 Switch to throwable and readd check for glass / stained glass 2022-07-06 14:45:54 +01:00
scorbett123 3e7f9039c4 Don't construct new optionals in movement helper 2022-07-06 14:38:33 +01:00
Leijurv 49828baae3
Merge pull request #3296 from ZacSharp/findImprovements
Find improvements
2022-07-05 15:32:02 -07:00
Leijurv 348b02e4f8
Merge pull request #3368 from ZacSharp/patch-5
Remove false information from `#help mine`
2022-07-05 15:28:05 -07:00
Echocage 441dceb731 Narrowed scope and we now only call canSprintFromDescendInto when our next & next_next movements are both MovementDescends 2022-06-29 17:54:28 -05:00
Echocage 57c4f9e103 Undid previous change, updated to instead check the next and the next_next block 2022-06-27 18:38:54 -05:00
Echocage 2741fc2683 Swapped the order of checks within canSprintFromDescendInto 2022-06-27 15:06:27 -05:00
scorbett123 868c023dbd Fix a couple of things I missed 2022-06-08 14:20:25 +01:00
scorbett123 e7c357ab7f Make precomputed data refresh every 200 ticks (10 seconds) 2022-06-08 14:14:14 +01:00
scorbett123 9e1a5008ed Move caching functions into MovementHelper 2022-06-07 21:52:24 +01:00
Leijurv b54ddeadf4
Merge pull request #3387 from ZacSharp/1.16.5-update
Merge master into 1.16.5
2022-06-02 11:39:20 -07:00
scorbett123 a6557121a0 fix github actions compiling. 2022-05-31 15:08:52 +01:00
scorbett123 2dad6262cf Remove some benchmarking and fix loading of settings. 2022-05-31 14:56:23 +01:00
scorbett123 af1eb58bb8 Implement Leijurv's precomputed data idea 2022-05-31 14:43:58 +01:00
ZacSharp 4e0a507ba0
Merge branch '1.15.2' into 1.16.5 2022-05-24 21:45:58 +02:00
ZacSharp 7d39aacd72
Merge branch '1.14.4' into 1.15.2 2022-05-24 21:42:46 +02:00
ZacSharp a8ae8a6171
Merge branch '1.13.2' into 1.14.4 2022-05-24 21:39:14 +02:00
ZacSharp 9c99333759
Merge branch 'master' into 1.13.2 2022-05-24 21:35:43 +02:00
ZacSharp ad40a9225e
Fix leaking incorrect positions
It was only cleared when the previous one was canceled, not when it was directly replaced by the next one.
2022-05-03 23:25:01 +02:00
ZacSharp 1544b09c82
Merge branch '1.15.2' into 1.16.5 2022-04-23 13:12:08 +02:00
ZacSharp 1d08b3e729
Merge branch '1.14.4' into 1.15.2 2022-04-23 13:07:22 +02:00
ZacSharp 8a150568ec
Merge branch '1.13.2' into 1.14.4 2022-04-23 13:02:47 +02:00
ZacSharp 00b20b2158
Merge branch 'master' into 1.13.2 2022-04-23 13:00:16 +02:00
wagyourtail 25e8e1b5fe
fix 2022-04-22 19:23:39 -07:00
wagyourtail bf7c840ea3
backport 3308 2022-04-22 19:00:43 -07:00
ZacSharp 4dcf260059
Fix mistakes made while merging upwards 2022-04-14 19:22:38 +02:00
scorbett123 2cf973809a eta command should default to NaN not just not showing the eta as suggested by ZacSharp 2022-04-12 12:15:42 +01:00
scorbett123 65974e15ba Improve output to user in eta command 2022-04-11 18:36:48 +01:00
ZacSharp e885d2c221
Merge branch '1.15.2' into 1.16.5 2022-04-11 18:26:03 +02:00
ZacSharp fe61a404d6
Merge branch '1.14.4' into 1.15.2 2022-04-11 18:03:10 +02:00
ZacSharp 97ac4bbd4f
Merge branch '1.13.2' into 1.14.4 2022-04-11 18:00:00 +02:00
ZacSharp dd29b72295
Merge branch 'master' into 1.13.2 2022-04-11 17:49:10 +02:00
ZacSharp 2908c7499c
Fix syntax
That's why you shouldn't make changes on Github
2022-04-01 00:33:27 +02:00
ZacSharp ef4c2bbc98
Remove false information from `#help mine`
Baritone no longer caches ores on Minecraft 1.13+
Metadata values were removed in Minecraft 1.13
lit_redstone_ore was merged into redstone_ore in Minecraft 1.13
2022-03-31 23:53:58 +02:00
Leijurv dc6b32a154
Merge pull request #3356 from wagyourtail/forceAllowBreak
add `allowBreakAnyway` setting
2022-03-31 14:08:13 -07:00
Wagyourtail 2953e2c522
make codacy happy 2022-03-24 18:16:19 -07:00
Wagyourtail bf450b7d68
rename to allowBreakAnyway 2022-03-24 17:34:31 -07:00
Wagyourtail 4e6b6d97ce
add forceAllowBreak setting 2022-03-24 17:33:33 -07:00
ZacSharp 17b2245033
Merge branch '1.15.2' into 1.16.5 2022-03-24 18:27:50 +01:00
ZacSharp 7b7c49d7ad
Merge branch '1.14.4' into 1.15.2 2022-03-22 22:16:06 +01:00
ZacSharp 1522d11df0
Merge branch '1.13.2' into 1.14.4 2022-03-21 23:15:22 +01:00
ZacSharp 7eecf69178
Merge branch 'master' into 1.13.2 2022-03-21 17:57:39 +01:00
scorbett123 e036f5360c If context.player() returns none we don't want to use its position for pruning. 2022-03-16 20:12:56 +00:00
Wagyourtail 511941c714
reimplement death and bed waypoints 2022-03-15 18:39:19 -07:00
Wagyourtail dc6c87b58d
fix modded toolmaterials 2022-03-07 15:53:13 -07:00
ZacSharp ef4e19002b
Provide more information for #find
Always log something to chat so people don't think it's broken and make sure they know about the restriction to cached blocks.
2022-03-05 22:27:27 +01:00
ZacSharp e6ee5fc6b8
Make positions from #find clickable 2022-03-05 21:42:27 +01:00
ehylo 0ade37f14f
Update Setup and Usage guides
Also fix 2 settings that just don't have a description for some reason, and add some information to the find command because that also for some reason did not have anything there. The descriptions I put may not be detailed enough so please let me know if things should change
2022-02-08 21:13:51 -08:00
Leijurv d2b62e2d21
Merge pull request #3239 from scorbett123/world_border_checks
Add some world border checks
2022-02-08 10:49:00 -08:00
scorbett123 49357790f1 fix world border checks
Signed-off-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
2022-02-03 08:06:01 +00:00
Wagyourtail 9b70ace180
fix getting stuck on cauldrons (fixes #3099) 2022-02-02 22:04:15 -07:00
scorbett123 74ea803651 Add world border checks to MovementHelper 2022-02-02 20:36:36 +00:00
Leijurv d4ae351065
Merge branch '1.16.4' into 1.16.5 2022-02-02 00:19:06 -08:00
Leijurv b52de9b197
Merge pull request #2621 from wagyourtail/replaymodfix-master
fix replaymod crash (on newer versions)
2022-02-02 00:15:50 -08:00
Leijurv 3de7fc81fb
Merge branch '1.15.2' into 1.16.4 2022-02-02 00:15:04 -08:00
Leijurv 34501f5af3
Merge branch '1.14.4' into 1.15.2 2022-02-02 00:14:38 -08:00
Leijurv c2de6e3f3d
Merge pull request #3173 from scorbett123/patch-4
Add unpause as an alias for resume
2022-02-01 23:57:21 -08:00
Leijurv a5638bdba1
Merge pull request #3137 from scorbett123/remove_container_memory
Remove container memory
2022-02-01 23:56:49 -08:00
scorbett123 bb8e4bd737
Add unpause as an alias for resume
Some people can't seem to find out what to do to unpause baritone, so this should hopefully help them figure it out, as for some reason unpause makes more sense to people than resume.
2022-01-02 12:45:03 +00:00
Entropy5 9b07aa17e4 Merge remote-tracking branch 'origin/master' 2021-12-23 22:00:17 +01:00
Entropy5 90c59d5b8e undo 2021-12-23 21:59:20 +01:00
Entropy fd3d5b66e9
Merge branch 'cabaletta:master' into master 2021-12-23 14:09:03 +01:00
Entropy5 d97346be6c check union of keys 2021-12-23 13:39:13 +01:00
Entropy5 9d13bcfe11 formatting 2021-12-22 00:20:21 +01:00
Leijurv 724ee62246
Merge pull request #3151 from ZacSharp/patch-4
Make rightClickContainerOnArrival click lit furnaces
2021-12-21 11:03:35 -10:00
Entropy5 b3ff3d2466 universal buildignoredirection 2021-12-21 20:09:22 +01:00
Entropy5 32a7657c4f Zac suggested this option to work universally, regardless of block type 2021-12-21 12:42:39 +01:00
Leijurv 54617bf634
reorder for performance 2021-12-21 01:32:47 -10:00
ZacSharp c2f4e00314
Make rightClickContainerOnArrival click lit furnaces 2021-12-18 00:31:21 +01:00
Entropy5 3adfa16db8 Option to ignore direction of certain blocks during building (because otherwise baritone just keeps breaking and replacing the same block) 2021-12-17 06:24:34 +01:00
scorbett123 90fcffdf2a Remove container memory
Signed-off-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
2021-12-12 19:50:27 +00:00
Wagyourtail 08c00b8a42 surround with try/catch 2021-11-03 13:04:51 -06:00
Leijurv 8579332cdf
Merge pull request #3033 from wagyourtail/neverbreak
AvoidBreak means never.
2021-10-27 12:53:45 -07:00
Wagyourtail 2980bb0320 match leij's backwards compat suggestion 2021-10-27 13:45:30 -06:00
ZacSharp bb91dc98de
Merge branch 'master' into 1.13.2 2021-10-20 03:20:41 +02:00
ZacSharp 724162f37f
Store deleted waypoints per world
Different dimensions are actually different worlds and the user might expect the wapoints to be restorable until they leave the server, so discrading them when the world changes would be too early.
2021-10-19 01:17:23 +02:00
ZacSharp 3244b102ad
Add a way to restore deleted waypoints
Makes using the clickable text less dangerous when there are others writing in chat.
2021-10-18 02:42:58 +02:00
ZacSharp c8966d22ba
Don't create a new waypoint every time a bed is clicked.
Just the first time and always for the head part.
2021-10-17 23:44:21 +02:00
ZacSharp 6669d49636
Add a way to get the creation command for a waypoint 2021-10-17 15:10:14 +02:00
ZacSharp 3b480dabdb
Make the tag argument optional, defaulting to USER
Listing all possible combinations in the usage as done before would have beed 8 lines just for the save command so I made it one special case, one combined line and a line explaining the defaults in the general waypoint help.

Also tab completion does not work when omitting either tag or name, because it starting to tab complete a position right from the first argument would probably only cause confusion and would be harder to implement because of the variable start position (names can even be numbers so it's impossible to do it 100% correctly)
2021-10-17 14:47:03 +02:00
ZacSharp 3e69281d61
Update usage of #waypoint
It now properly reports when either a tag or name can be specified and includes the clear subcommand
2021-10-17 14:06:07 +02:00
ZacSharp 1b04386b01
Allow saving unnamed waypoints by position 2021-10-17 13:53:55 +02:00
wagyourtail 1ca736692d
more closely match the existing docs and add discourageBreaking 2021-10-15 17:58:13 -06:00
wagyourtail 4dc4795cb7
AvoidBreak means never. 2021-10-15 00:00:48 -06:00
wagyourtail ba0b5f929f cleanup 2021-10-08 15:49:22 -06:00
wagyourtail 89c960c455 better follow command error handling 2021-10-08 14:58:17 -06:00
Leijurv ce2ec8047e
Merge pull request #2825 from Zephreo/parkour-place
ParkourPlace for shorter parkour jumps
2021-07-16 20:50:23 -07:00
Harry 335cb7016e fix verifiedMaxJump
- remove redundant assignment by changing some values
- testing Co-Authors

Co-Authored-By: Leijurv <leijurv@gmail.com>
2021-07-17 13:28:12 +10:00
Harry 7a7b050615 weird verifiedMaxJump 2021-07-17 12:34:58 +10:00
Harry 2159773723 requested changes
- tabs changed to 4 spaces
- fixed checking if block place is behind player
2021-07-01 10:09:06 +10:00
ZacSharp ab3a015d61
Add layerHeight setting 2021-06-24 23:33:48 +02:00
Harry 3142387e45
Fix collision early return
not tested yet
- fixes early returns
2021-06-23 06:25:10 +10:00
Harry 051325e10f allow smaller parkour place jumps
allows 2 and 1 block parkour place jumps
2021-06-21 10:58:11 +10:00
Leijurv b96795c517
Merge pull request #2803 from scorbett123/farmInventory
Make farm use inventory when allowInventory is enabled.
2021-06-14 12:32:53 -10:00
scorbett123 64ba96daf2 Do edit suggested by leijurv 2021-06-14 20:44:32 +01:00
Leijurv 90d5f27026
Merge pull request #2804 from ZacSharp/selCopyPaste
 Add a clipboard to #sel
2021-06-13 10:21:10 -10:00
ZacSharp cec44e3668
Add a clipboard to #sel 2021-06-13 00:21:52 +02:00
scorbett123 f09f1e7f85 Make farm use inventory when allowInventory is enabled. 2021-06-12 18:18:56 +01:00
mankool 8bfe32eeef Added itemSaverThreshold 2021-06-09 10:34:45 -07:00
Leijurv e85c1bbc0d
Merge pull request #2736 from ZacSharp/exploreForBlocksForMining
Make MineProcess respect exploreForBlocks
2021-05-28 13:27:13 -07:00
ZacSharp f99bf0d000
Make legitMode always explore 2021-05-28 22:18:33 +02:00
Leijurv db24a2251f
Merge pull request #2771 from ZacSharp/notificationCallback
More log callbacks
2021-05-26 11:32:53 -07:00
Tabbs bea39bc613 Merge branch 'master' of https://github.com/thecakeisalie25/baritone 2021-05-25 14:44:59 -05:00
Tabbs 546493ba45 do our best to stop beacon animating
The game seems to animate the beacons anyway, so it does shake a little bit.
2021-05-25 14:44:54 -05:00
Tabbs dda4928693 change name to renderGoalAnimated 2021-05-25 14:43:32 -05:00
Larson 7d144dd076
fix decimal
Co-authored-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
2021-05-25 14:33:13 -05:00
Tabbs 73e0700ea3 fix weird rendering issue 2021-05-25 12:41:36 -05:00
Tabbs 3fc36cf798 fix y to 1 if animation is disabled 2021-05-25 12:34:17 -05:00
ZacSharp dbc43b445b
Replace unhandled exception with a helpful message 2021-05-24 03:38:14 +02:00
ZacSharp 638fcd393a
Don't try to tab complete hidden settings 2021-05-24 03:20:31 +02:00
ZacSharp 7b5f419713
Treat the new callbacks like the old one 2021-05-24 03:14:33 +02:00
ZacSharp 253fbad3db
Make MineProcess respect exploreForBlocks 2021-05-10 22:37:35 +02:00
ZacSharp dc9ae67657
Move NotificationHelper to api and give Helper some methods for notifications 2021-05-10 00:26:33 +02:00
Leijurv fccac8ed74
Merge pull request #2664 from ZacSharp/buildSelectedSchematic
Add setting to only build selected part of schematica schematic
2021-04-20 23:27:57 -07:00
Leijurv b79e281074
Merge pull request #2635 from ZacSharp/autoTool
Invert disableAutoTool to autoTool
2021-04-20 23:15:10 -07:00
ZacSharp 46066d4cac
Misc
* Rename schematicaOnlyBuildSelection to buildOnlySelection
* Make it useable with #build as well
* remove debugging code I forgot
2021-04-14 23:36:16 +02:00
ZacSharp c13cf4f29c
Add setting to only build selected part of schematica schematic 2021-04-13 23:09:54 +02:00
ZacSharp f348a20035
invert disableAutoTool to autoTool 2021-04-04 03:34:10 +02:00
ZacSharp bdb98b487f
fix typo 2021-04-04 03:17:35 +02:00
Leijurv 43d5458a25
fix weird behavior where allowBreak false broke #goto 2021-04-03 16:41:45 -07:00
wagyourtail 9d1b979318
fix replaymod crash 2021-03-28 21:32:48 -07:00
Leijurv ae901219fb
Merge pull request #2526 from ZacSharp/buildSkipBlocks
Settings to alter block treatment while builing
2021-03-23 08:09:44 -10:00
ZacSharp 67d9ae881f
don't allocate tons of empty lists 2021-03-09 12:31:02 +01:00
Leijurv 373ad3efdd
soul fire 2021-02-24 13:16:03 -08:00
Leijurv 4bc179bd2a
Merge pull request #2462 from scorbett123/ModifiedImprovement
Improve #modified command to include original setting value.
2021-02-19 20:14:35 -08:00
Leijurv 76debda76e
Merge pull request #1978 from ZacSharp/master
 Add improved ETA and a command to access it
2021-02-19 20:13:47 -08:00
Leijurv b4eabe19cb
Merge pull request #2482 from ZacSharp/schematicCacheClearing
Clear caches of schematics when moving them
2021-02-19 16:06:28 -08:00
ZacSharp 971b75860f
Call reset() on static schematics as well 2021-02-19 23:57:33 +01:00
ZacSharp 5a926bf169
formatting 2021-02-19 23:52:18 +01:00
Leijurv d34f37c563
Merge pull request #2476 from biscuut/patch-1
Fixed incorrect block pos world coordinates
2021-02-19 10:54:47 -08:00
Leijurv 6035a01019
Merge pull request #2481 from ZacSharp/buildRepeatCrash
Don't crash by buildRepeating too often
2021-02-19 10:49:06 -08:00
ZacSharp c880f71dc8
Clear caches of schematics when moving them 2021-02-17 01:59:23 +01:00
ZacSharp 13422ef7ce
lag > crash 2021-02-17 01:19:16 +01:00
Biscuit 84e2efd42c
Fixed incorrect block pos world coordinates
Fix block pos being incorrect when converting chunk coordinates to world coordinates because of order of operations.
2021-02-15 14:21:03 -05:00
ZacSharp 34606415d7
Don't mark skipped blocks as invalid just because they are far away 2021-02-10 23:45:12 +01:00
scorbett123 6b9c1f0a22 Improve #modified command to include original setting value.
Signed-off-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
2021-02-10 16:00:44 +00:00
Leijurv 4132d6ff61
Merge pull request #2138 from scorbett123/swordSaver
add useSwordToMine setting.
2021-02-08 16:54:37 -08:00
scorbett123 1f10199e64 Change use sword to mine to default to true.
Signed-off-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
2021-02-08 08:34:31 +00:00
Leijurv e97704b37f
Merge pull request #2139 from scorbett123/notifyOnDeath
notify users that their death position has been saved.
2021-02-07 14:32:43 -08:00
scorbett123 4ae81a3b0b
Merge branch 'master' into swordSaver 2021-02-07 12:19:18 +00:00
Leijurv 711037b619
rearrange for consistency 2021-02-06 13:36:24 -08:00
Leijurv b32c9f1724
Merge pull request #2107 from scorbett123/toolsSaver
add itemSaver setting.
2021-02-06 13:33:01 -08:00
wagyourtail 637c182114
sodium fix 2021-02-01 16:14:27 -07:00
Leijurv 81fadde388
Merge branch '1.15.2' into 1.16.4 2021-01-29 21:21:07 -08:00
Leijurv a61eabd60c
Merge branch '1.14.4' into 1.15.2 2021-01-29 21:14:10 -08:00
Leijurv bb75e68b0a
Merge branch '1.13.2' into 1.14.4 2021-01-29 21:13:33 -08:00
Leijurv e9b9977674
Merge branch 'master' into 1.13.2 2021-01-29 21:13:12 -08:00
Leijurv 91854f97ad
fully remove remnants of xvfb 2021-01-29 21:12:44 -08:00
Leijurv 5262f68215
a long overdue reformat of every file 2021-01-29 20:30:51 -08:00
Leijurv a3da25ca27
a long overdue reformat of every file 2021-01-29 20:29:41 -08:00
Leijurv 37cd50d435
a long overdue reformat of every file 2021-01-29 20:28:11 -08:00
Leijurv 15fd313757
a long overdue reformat of every file 2021-01-29 20:26:06 -08:00
Leijurv 835fb3471f
a long overdue reformat of every file 2021-01-29 20:17:53 -08:00
Leijurv ca870af20e
Merge branch '1.15.2' into 1.16.4 2021-01-29 20:13:56 -08:00
Leijurv c98c54c985
Merge branch '1.14.4' into 1.15.2 2021-01-29 19:57:36 -08:00
Leijurv 4c9689fe19
Merge branch '1.13.2' into 1.14.4 2021-01-29 19:49:11 -08:00
Leijurv f41c873852
Merge branch 'master' into 1.13.2 2021-01-29 19:31:16 -08:00
Leijurv eb8a673165
Merge branch 'master' into 1.13.2 2021-01-29 19:30:56 -08:00
Leijurv a9f497981f
Merge pull request #2080 from millennIumAMbiguity/master
Added range argument to farm
2021-01-29 17:41:08 -08:00
ZacSharp fc1a2a6112
Add buildSubstitutes setting to builder 2021-01-17 02:45:40 +01:00
ZacSharp 13547781d2
add buildValidSubstitutes setting to builder 2021-01-17 00:53:50 +01:00
ZacSharp 5e4f31f39e
proper place/break costs for skipped blocks 2021-01-16 02:05:59 +01:00
ZacSharp 79e0f4ba23
Log blocks it can't place 2021-01-15 12:52:38 +01:00
ZacSharp 7988274d61
add buildSkipBlocks setting 2021-01-12 23:59:11 +01:00
Brady dcc0b82210
Update to 1.16.4 2020-12-16 16:42:35 -06:00
Leijurv c491d67925
add setting to just skip layers that the builder fails to construct 2020-11-11 17:53:26 -08:00
millennIumAMbiguity 853b5ca771 Moved throw up into the default: 2020-11-02 01:44:12 +01:00
millennIumAMbiguity f4706fff18 Simplified and optimised code 2020-11-02 01:25:25 +01:00
millennIumAMbiguity 7218a46211 Added defaults and javadocs 2020-11-02 00:33:31 +01:00
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 3b32c72d63
remove broken furry cringe 2020-08-17 17:41:13 -07:00
CDAGaming 0b9bb9df2b
👌 Apply review suggestions from leijurv 2020-08-17 18:58:36 -05:00
CDAGaming 78dd64c73d
Merge remote-tracking branch 'remote/master' into 1.16.2 2020-08-17 18:55:08 -05: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
CDAGaming 6eaa3a27f2
Merge remote-tracking branch 'remote/master' into 1.16.2 2020-08-17 18:15:59 -05: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