Commit Graph

2360 Commits

Author SHA1 Message Date
ZacSharp f1bf1e8663
Use IRenderer setup methods 2023-06-17 00:36:35 +02:00
ZacSharp ef4cdfd646
Fix render bug caused by color bug fix 2023-06-16 19:22:37 +02:00
Leijurv e01093eb9a
build with pathfinder 2023-06-15 20:59:15 -07:00
Brady a9e9cd978d
cancel lol 2023-06-15 22:59:01 -05:00
Brady fe8ec19b6d
Fix `renderRaytraces` crash 2023-06-15 22:07:44 -05:00
leijurv 0e87f350b3
Merge pull request #3990 from cabaletta/elytra-freelook
Merge `elytra-freelook` into `elytra`
2023-06-15 20:00:45 -07:00
leijurv c86643874d
Merge pull request #3936 from ZacSharp/pr/builder/fixPlaceableComparison
Fix considering states unplaceable regardless of buildIgnoreProperties
2023-06-15 19:36:25 -07:00
Leijurv 8df6778641
sort of integrated nether pathfinder 2023-06-15 00:32:26 -07:00
Brady 26a2945696
remove comment 2023-06-14 19:13:07 -05:00
Brady 06d11c1874
Revert file path 2023-06-14 16:59:03 -05:00
Brady 91bf7d726b
Un-scuff and add setting 2023-06-14 16:32:56 -05:00
Brady bde0c620ad
Allow freeLook when using elytra 2023-06-14 16:11:11 -05:00
Brady 9672bd2c6d
Fix compile 2023-06-14 16:08:34 -05:00
Brady 7b6f9b3eb6
Merge remote-tracking branch 'origin/master' into elytra 2023-06-14 15:48:16 -05:00
Brady ea9245ad26
missed that 😩 2023-06-14 14:23:24 -05:00
Brady 8534e1ba55
💚 appease codacy 2023-06-14 14:04:34 -05:00
Brady ae66004b80
Custom registration of `Baritone` instances from `Minecraft` 2023-06-14 13:52:27 -05:00
Brady 5b39c0dd96
Remove `getMinecraft()` from `BlockStateInterface` 2023-06-14 12:18:50 -05:00
Brady 2db2d8be59
Steal `BaritoneList` from `bot-system` 2023-06-14 02:00:10 -05:00
Brady 75d47bb110
Fix all usages of `Helper.mc` 2023-06-14 01:53:29 -05:00
Brady dd7b492b0c
registerBehavior is called explicitly now 2023-06-13 23:21:20 -05:00
Brady c7f4e366e2
Remove `mc` references from `WorldProvider`
Also refactored a bit, should be a lot easier to merge upwards to new game versions
2023-06-13 23:07:26 -05:00
Brady 382f82b0e0
Move `Minecraft` to `IPlayerContext` 2023-06-13 21:17:42 -05:00
Brady ab3d9e9c47
I LOVE `final` 2023-06-13 21:13:34 -05:00
Brady 714ebb2c2d
Deprecate `Helper.mc` and begin to replace usages 2023-06-13 18:24:31 -05:00
leijurv 1b254a4811
Merge pull request #3979 from cabaletta/pr/feature/blockFreeLook
Allow free looking when breaking and placing blocks
2023-06-13 10:32:18 -07:00
Leijurv 92509f07e9
normal raytracer skips flowing lava (aka lavafalls) which is no good 2023-06-12 22:00:23 -07:00
Leijurv 44cd5dcd41
go around glowstone and nether fortresses 2023-06-12 21:43:10 -07:00
Brady 76fe0d14d3
Simplify some player context references 2023-06-12 21:13:10 -05:00
Brady 2022d33d03
Fix incorrect references to player and world 2023-06-12 21:12:49 -05:00
Brady c8b8deb3d6
Ensure angle delta is producible with mouse movement 2023-06-12 21:04:30 -05:00
Brady 4885d49d20
Reorganize code 2023-06-12 20:00:03 -05:00
Brady 13fc58933d
Don't bother returning `serverRotations` if no free look 2023-06-12 19:03:03 -05:00
Brady c217a34f13
🐛 fix batch render color bug by backporting 1.17+ render code 2023-06-12 17:06:11 -05:00
Brady 5bdd5b0c0d
👌 appease leijurv 2023-06-12 16:50:02 -05:00
Brady 7da802a238
Fix `censorCoordinates` recalc bug
Adds `equals` and `toString` implementations where needed
Replaces `toString` equality check with actual `equals` check in `forceRevalidate`
2023-06-12 16:21:05 -05:00
leijurv e334aae608
Merge pull request #3974 from cabaletta/pr/sel-shape-masks
Add sphere and cylinder build commands to sel
2023-06-12 12:57:01 -07:00
Brady ed34ae73c0
Fix `Mode.NONE` target invalidation 2023-06-12 13:46:10 -05:00
Brady c8a0ae9e10
Do `nudgeToLevel` and `randomLooking` when using freeLook 2023-06-12 13:44:08 -05:00
Brady 67a085c95f
Batch together GL_LINES draw calls 2023-06-12 13:16:37 -05:00
Brady 1d5ee079b4
Read `serverRotation` from packet and invalidate on world load 2023-06-12 12:11:50 -05:00
Leijurv 410cfcf21a
typo, fix crash at end of path 2023-06-11 22:40:35 -07:00
Leijurv 4148b98187
typo 2023-06-11 22:22:49 -07:00
Leijurv b9054cdfc9
use more fireworks 2023-06-11 22:22:01 -07:00
Brady bb36ebfc0c
Use `IPlayerContext` for all `RotationUtils` methods
Deprecates all old overloads
2023-06-11 20:09:37 -05:00
Brady a7d15d1e32
Consistent naming and comments for clarification 2023-06-11 18:43:48 -05:00
Brady 4317dca024
Determine target mode (client/server) in `updateTarget` 2023-06-11 18:35:34 -05:00
Leijurv c48c2aa45c
allow even more desperate motion 2023-06-11 13:57:21 -07:00
Leijurv a602863426
better elytra 2023-06-11 12:49:31 -07:00
Brady a09e63d6aa
appease codacy 2023-06-11 13:14:52 -05:00
Brady 364ae87ef8
Add `blockFreeLook` setting 2023-06-11 12:36:53 -05:00
Brady 94d757104b
Clean ups 2023-06-11 11:24:31 -05:00
Leijurv 705a5a0712
elytra prototype mvp 2023-06-11 00:33:35 -07:00
Brady 9729e63d98
Create and utilize new `Mask` type
Added factory method to `MaskSchematic` for creation using a `Mask`
Sort-of mocks the schematic structure, without the block states ofc
2023-06-09 17:25:29 -05:00
Brady 26574b4a9b
Add optional axis parameter for `#sel cyl` 2023-06-08 16:32:33 -05:00
Brady a1b1ef88cf
Use a Supplier to mimic a switch expression 2023-06-08 15:46:32 -05:00
Brady 34abbfb5da
appease codacy 2023-06-07 17:38:26 -05:00
Brady 0d14bde583
Working sphere/cylinder build commands for `#sel` 2023-06-07 16:31:52 -05:00
Brady 80ec9023ce
Replace `JAVA_ONLY_SETTINGS` array with `@JavaOnly` annotation 2023-06-04 12:31:34 -05:00
leijurv 5dd10b6e81
Merge pull request #3946 from ZacSharp/pr/farm/addCocoa
Make cocoa farmable
2023-05-23 17:31:06 -07:00
ZacSharp c45a714b77
Fix considering states unplaceable even if buildIgnoreProperties allows it 2023-05-08 03:51:38 +02:00
ZacSharp e4cd35ac33
Add maxYLevelWhileMining setting 2023-04-24 23:11:55 +02:00
ZacSharp e8a4a9fdac
Make cocoa farmable 2023-04-24 16:23:38 +02:00
Wagyourtail 6698505dd8
make wp c not throw npe on invalid tag name 2023-03-13 15:31:18 -07:00
Leijurv 790a4f6769
command to load settings from a specific file 2023-03-01 00:25:49 -08:00
Leijurv f1ead19b6e
option to only move inventory when stationary 2023-02-28 23:44:33 -08:00
leijurv c1a9621dfa
Merge pull request #3768 from wagyourtail/1.12/fasterworldscanner
replace the world scanner with a 500x faster one
2023-01-28 10:18:59 -08:00
Wagyourtail 6de266a106
remove extra method call 2023-01-28 01:39:58 -07:00
Wagyourtail 334d9c119b
remove the allocation of an intlist per section 2023-01-28 00:44:54 -07:00
Entropy5 413cc1469f zac suggestion (number 2), test ongoing 2023-01-27 14:23:08 +01:00
Wagyourtail 7404414e7a
less impure 2023-01-20 23:43:00 -07:00
Entropy5 49b1f3528b Merge remote-tracking branch 'origin/master' 2023-01-17 06:33:09 +01:00
Entropy5 26cceede15 litematica support for buildonlyselection, mostly rycbars 2023-01-17 06:33:01 +01:00
ZacSharp aa9206381d
Fix canWalkThrough caching 2023-01-15 14:53:04 +01:00
Leijurv d6d9af65fb
reformat 2023-01-15 01:04:15 -08:00
Leijurv a3f70e7977
add fullypassable to precomputeddata 2023-01-15 00:56:30 -08:00
leijurv 85c21fa8e3
add comment 2023-01-12 14:52:38 -08:00
leijurv bc8c823045
Merge pull request #3775 from ZacSharp/pr/frostwalker
Allow pathing to use frostwalker
2023-01-12 14:51:35 -08:00
ZacSharp 9935da8a6f
Add explanation and add extra check 2023-01-12 22:18:54 +01:00
ZacSharp c39b6c3fe7
Don't grab state if we don't need it 2023-01-12 21:39:55 +01:00
leijurv c47a6f92c5
Merge pull request #3786 from Entropy5/master
bugfix for odd height schematics
2023-01-12 12:03:51 -08:00
leijurv 778628da30
Merge pull request #3789 from Argentoz/patch-1
Fix world border check
2023-01-12 12:03:00 -08:00
leijurv ba0ca0cc65
Merge pull request #3788 from ZacSharp/pr/detectBrokenLoadHook
Make the world cache work even when mods break our world load hook
2023-01-12 11:39:41 -08:00
leijurv fba3828479
Merge pull request #3735 from ZacSharp/pr/breakNextToLava
Allow breaking next to some liquids
2023-01-12 10:08:09 -08:00
Argentoz c8dd4f26f7
Fix :)
WTF
2023-01-12 15:02:54 +03:00
Entropy5 16a62625b3 this seems to work as well? 2023-01-12 04:29:31 +01:00
ZacSharp de5f6d5fce
Apply suggested reordering 2023-01-11 23:56:52 +01:00
Entropy5 98a87d099b zac suggestion 2023-01-11 04:36:15 +01:00
ZacSharp a6f3c95684
Don't spam the log when in a replay 2023-01-10 18:58:17 +01:00
ZacSharp 75e39e7ef5
Log when doing things out of the ordinary 2023-01-10 18:56:33 +01:00
ZacSharp 77b2b26a7a
Add fix for 1.19.3 here already 2023-01-10 18:55:46 +01:00
ZacSharp 1680eeb80d
Handle mods breaking our world loading hook 2023-01-10 17:25:32 +01:00
Entropy5 9a9b4a1874 bugfix for odd height schematics 2023-01-10 05:56:30 +01:00
Entropy5 b0fb474e1d buildinlayers ~ buildonlyselection lag fix for big schematics (skips layers more properly) 2023-01-09 02:33:10 +01:00
ZacSharp f76283ebfe
Remove unused imports 2023-01-03 00:50:56 +01:00
ZacSharp e59bf9ab97
Grab block only once 2022-12-30 16:09:45 +01:00
ZacSharp b2f66241d5
Merge remote-tracking branch 'upstream/master' into pr/frostwalker 2022-12-30 15:57:17 +01:00
Wagyourtail b71c9e776a
oops didn't mean to commit that 2022-12-28 01:09:46 -07:00
Wagyourtail 746faf6df6
faster section reorder 2022-12-28 01:05:17 -07:00
Wagyourtail a367031fe2
Revert "sacrifice a bit of speed for better block ordering"
This reverts commit e55db05f20.
2022-12-28 00:03:58 -07:00
Wagyourtail 853dadd906
Merge remote-tracking branch 'origin/master' into 1.12/fasterworldscanner 2022-12-27 23:58:13 -07:00
Wagyourtail e55db05f20
sacrifice a bit of speed for better block ordering 2022-12-27 23:30:35 -07:00
Wagyourtail 98a748afb3
fix stream limit. immutable's in BOML 2022-12-27 22:42:38 -07:00
William Gray c04eb066cb
Update src/main/java/baritone/cache/FasterWorldScanner.java
Co-authored-by: ZacSharp <68165024+ZacSharp@users.noreply.github.com>
2022-12-28 01:06:10 +00:00
Wagyourtail 6260c6d3d7
apply suggestions 2022-12-24 12:11:26 -07:00
Wagyourtail ce1fb49252
spiral always pick closest chunk first now 2022-12-24 11:52:48 -07:00
Wagyourtail ecdec87e7a
fix using wrong functions in scan 2022-12-24 11:43:54 -07:00
leijurv 6ccebdc978
Merge pull request #3703 from rycbar0/master
formula error
2022-12-24 00:12:47 -08:00
leijurv 42dc5b14b0
Merge pull request #3755 from wagyourtail/allowbreakanaywaymine
allowBreakAnyway should let mining happen
2022-12-24 00:07:00 -08:00
leijurv 1697293f12
Merge pull request #3479 from scorbett123/caching_performance_upgrade
Caching performance upgrade
2022-12-23 23:57:14 -08:00
Wagyourtail 96f432d2d5
add comment 2022-12-23 17:26:46 -07:00
Wagyourtail 0ae59755e3
make limit not happen if it shouldn't 2022-12-23 17:25:23 -07:00
Wagyourtail 12b596e536
fix spiral 2022-12-23 17:10:37 -07:00
Wagyourtail 0b6088cd2d
fix getting the block from the pallete, and change the chunk scan order to spiral out 2022-12-23 16:58:10 -07:00
Wagyourtail 1736f2ffc7
replace the world scanner with a 500x faster one 2022-12-23 16:34:49 -07:00
rycbar0 d60e1e8a05
Merge branch 'cabaletta:master' into master 2022-12-19 10:34:57 +01:00
Wagyourtail ea1914a248
missed a spot 2022-12-10 20:12:51 -07:00
Wagyourtail 85087ce04a
smarter filter filtering 2022-12-10 19:25:57 -07:00
Wagyourtail e09127eadf
allowBreakAnyway should let mining happen 2022-12-10 16:35:51 -07:00
ZacSharp eabd1150b0
Allow breaking next to some liquids 2022-11-22 15:15:33 +01:00
Leijurv 93501248cd
Merge pull request #3698 from ZacSharp/patch-10
Reliably clear keys when paused
2022-10-31 12:29:56 -07:00
rycbar0 3cef7a7911 formula error 2022-10-26 23:09:23 +02:00
ZacSharp 1cd2fb5b18
Reliably clear keys when paused 2022-10-24 22:49:12 +02:00
ZacSharp ba3ca47f8c
Add buildIgnoreProperties setting 2022-10-23 01:42:31 +02:00
scorbett123 4699b46744
Merge branch 'master' into caching_performance_upgrade 2022-10-03 21:25:23 +01:00
Leijurv 69ffdb7665
Merge pull request #3672 from rycbar0/master
Litematica Support for bariton
2022-10-03 12:52:18 -07:00
rycbar0 f9c5386e7a final changes 2022-10-03 21:39:53 +02:00
rycbar0 b461b2af2f made a oopsie 2022-10-03 20:32:56 +02:00
rycbar0 3a5608566e auto formatting 2022-10-03 20:13:11 +02:00
rycbar0 fc65f22feb clean up and adding javadoc 2022-10-03 19:59:07 +02:00
rycbar0 f53bfa89a9 a fucking x and z mixup 2022-10-03 17:44:15 +02:00
rycbar0 fdfeeb2ffa need stronger pesticides, bugs keep multiplying 2022-10-03 02:35:25 +02:00
rycbar0 3e75cc7408 block mirroring and rotation 2022-10-01 22:59:47 +02:00
rycbar0 d1930e03e1 getCorrectedOrigin returns the correct origin 2022-10-01 22:51:36 +02:00
rycbar0 144a534bb3 debugging mirroring and rotating as well as refactoring 2022-10-01 17:14:05 +02:00
rycbar0 de1256cc80 remove spaghetti 2022-10-01 05:27:02 +02:00
rycbar0 76404c8af6 it works but its spaghetti 2022-10-01 02:01:46 +02:00
ZacSharp fb814e912d
Don't try parkouring out of water 2022-09-30 23:59:49 +02:00
ZacSharp 43ee86b4fe
Don't try backplacing against water under carpet/lilypad 2022-09-30 22:41:09 +02:00
ZacSharp eb697b7a17
Fix costs when assumeWalkOnWater stops us from relying on frostWalker 2022-09-30 22:40:23 +02:00
ZacSharp 3da5bbd267
Don't pillar from carpet/lilypad on water 2022-09-30 22:38:21 +02:00
ZacSharp c14be17e53
Move this to a helper method and add missing cases 2022-09-30 22:27:32 +02:00
ZacSharp 45c0b38156
Fix jumping from packplaced blocks on water
Not having frostwalker means that we must have replaced the water with a throwaway, not that we are standing on water
2022-09-30 18:04:34 +02:00
rycbar0 025f6235f9 litematica command works and added schematic selection if more than 1 schematic is loaded
bug: if schematic origin isnt minimum corner schematic is built in the wrong place
2022-09-30 17:53:31 +02:00
rycbar0 4ba3c883e6 something is fishy with the getAllSchematicPlacements() methode but i want my progress saved 2022-09-30 13:32:31 +02:00
rycbar0 3a4168a661 Merge branch 'master' into LitematicaCommand 2022-09-30 00:42:17 +02:00
rycbar0 484b3326c7 auto-format all files I touched 2022-09-29 21:52:15 +02:00
rycbar0 e99fcbbe36 Change requests part two 2022-09-29 21:47:42 +02:00
rycbar0 7ba3de57d0 credits LitematicaBitArray 2022-09-29 20:20:38 +02:00
rycbar0 5ff274f040 Change requests part one 2022-09-29 19:58:05 +02:00
schmar03 293f5db172 LitematicaCommand added to build loaded schematics 2022-09-28 14:15:48 +02:00
schmar03 d928e705b9 LitematicaCommand added to build loaded schematics 2022-09-28 12:09:38 +02:00
rycbar0 7a48824ced codacy issue #2,#3 and #4 fix 2022-09-26 22:32:25 +02:00
rycbar0 8aa8918124 codacy issue #1 and #5 fix 2022-09-26 22:23:38 +02:00
rycbar0 a091c17b83 Added mixin to properly handle Long Arrays 2022-09-26 21:04:09 +02:00
rycbar0 52aa0d9b8a more cleanup 2022-09-26 20:04:57 +02:00
rycbar0 3d8eddc4e1 cleanup 2022-09-26 19:23:09 +02:00
rycbar0 295265c261 refactoring 2022-09-26 17:43:54 +02:00
rycbar0 376d6422ec refactoring 2022-09-26 16:18:43 +02:00
rycbar0 113e340474 version check added 2022-09-26 16:09:41 +02:00
rycbar0 c89d8b69e5 ref files removed 2022-09-26 16:08:37 +02:00
rycbar0 70303634f5 ref files added 2022-09-26 15:59:55 +02:00
rycbar0 325aa7201b bug fix 2022-09-26 02:51:06 +02:00
rycbar0 75a3fc699e Code clean up 2022-09-26 01:18:56 +02:00
rycbar0 3cd8ce8323 Multiple Sub-region support 2022-09-26 00:58:32 +02:00
rycbar0 240e81a9e0 Refactoring 2022-09-25 18:22:59 +02:00
rycbar0 40449400d3 State of Emerson 2022-09-25 16:55:08 +02:00
ZacSharp 9ffe4f2c25
Fix parkour with frostwalker with/without throwaways
* Placing throwaways with allowPlace disabled
* Failing without throwaways
2022-09-01 13:14:33 +02:00
ZacSharp af95f77134
Fix OOB and check for direction and include parkour 2022-09-01 13:14:24 +02:00
ZacSharp 78f1c45e13
Don't overshoot descends before using frostwalker 2022-08-31 23:39:09 +02:00
ZacSharp cf47573298
Merge remote-tracking branch 'upstream/master' into pr/frostwalker 2022-08-30 00:18:07 +02:00
ZacSharp 96ba96ca69
Fix some more edge cases 2022-08-29 18:47:54 +02:00
ZacSharp da998eb469
Complete frostwalker usage 2022-08-29 16:59:01 +02:00
ZacSharp e75a4b95cc
Mostly working usage of frostwalker
* Sometimes overshoots Descend-Traverse chains onto water
* Unwanted interactions with assumeWalkOnWater
2022-08-29 12:53:02 +02:00
Lucas Arden d37a6a0b2d Added check for placed blocks in backfill 2022-07-26 14:21:32 -07:00
Lucas Arden d7fc916d20 Added check for pathing 2022-07-24 21:37:45 -07:00
Leijurv 80a4757242
baritone complies faster if the files are less bytes 2022-07-15 01:36:01 -07:00
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
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
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 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
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
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
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 b52de9b197
Merge pull request #2621 from wagyourtail/replaymodfix-master
fix replaymod crash (on newer versions)
2022-02-02 00:15:50 -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
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 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