ZacSharp
ff068d374f
Don't box doubles
2021-02-10 00:29:45 +01: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
Leijurv
a732e766f4
crucial performance optimization
2021-01-30 17:22:19 -08:00
Leijurv
91854f97ad
fully remove remnants of xvfb
2021-01-29 21:12:44 -08:00
Leijurv
835fb3471f
a long overdue reformat of every file
2021-01-29 20:17:53 -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
fd61207709
Fix heuristic(no args) returning wrong values
2021-01-28 01:40:33 +01:00
ZacSharp
8c1a9f460d
Simple blockstate preservation for buildSubstitutes
2021-01-18 12:06:50 +01:00
ZacSharp
f6d4a315c7
Remove debug log
2021-01-18 11:58:42 +01: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
d375d1abc9
Add setting parser for mappings
2021-01-17 00:16:34 +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
dba186347c
remove likely useless code breaking buildSkipBlocks
2021-01-13 22:45:59 +01:00
ZacSharp
7988274d61
✨ add buildSkipBlocks setting
2021-01-12 23:59:11 +01:00
Leijurv
c491d67925
add setting to just skip layers that the builder fails to construct
2020-11-11 17:53:26 -08:00
Sam Corbett
b9eeab06a1
change useSwordToMine to default to false.
...
Signed-off-by: Sam Corbett <sam@corbettchocolates.com>
2020-11-02 07:47:36 +00: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
Leijurv
b16a8ecf21
Merge pull request #2079 from scorbett123/limitedMineDistance
...
add a minimum Y level during mining.
2020-10-30 22:35:26 -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
Leijurv
6d51e10090
Merge pull request #1971 from krzys-h/fix-entity-follow-forge
...
Fix "#entity follow <name>" under Forge
2020-10-23 18:54:11 -07: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
9393192036
Slight change to heuristic(no args)
2020-10-16 01:30:04 +02:00
ZacSharp
3cdbc4cb83
👌 formatting in of comments
2020-10-15 21:48:17 +02:00
ZacSharp
0c7741120a
👌 formatting
2020-10-15 00:05:54 +02:00
ZacSharp
e529438c7e
Don't use Abs on Sqrt
2020-10-14 21:14: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
950f47ccae
Merge pull request #1958 from CDAGaming/feature/toasts
...
✨ Added Toast API Support
2020-10-14 11:18:09 -07:00
CDAGaming
d2c625e1c9
Apply Review Comments
2020-10-14 13:14:23 -05: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
d6665f1cd5
✨ Added Toast API Support
...
This adds in a logAsToast and toastTimer option, and is a minified form of Indrit's initial implementation previously used from fabritone
2020-10-12 12:46:01 -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
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