Commit Graph

1133 Commits

Author SHA1 Message Date
Leijurv
1a809fa7a3
dispatch path events from main thread instead of calculation thread 2018-10-18 15:04:40 -07:00
Leijurv
732d806820
allow cutting onto next path one movement earlier 2018-10-17 12:16:03 -07:00
Leijurv
11ed8a2f21
rearrange fields and constructors 2018-10-16 20:05:18 -07:00
Leijurv
dd25527a62
pillar fixes for ncp 2018-10-16 14:21:27 -07:00
Leijurv
63ce4fe0bd
don't crash on empty region 2018-10-16 11:32:27 -07:00
Leijurv
398169f68e
special case for damn daniel 2018-10-16 11:13:35 -07:00
Leijurv
46a24af373
cancel chat event 2018-10-16 11:13:08 -07:00
Leijurv
b0678fd259
better control 2018-10-16 10:47:44 -07:00
Leijurv
9cb4a1779e
fix placement rotation during parkour 2018-10-15 20:37:10 -07:00
Leijurv
6b6ebd6968
optimize all imports 2018-10-15 16:16:04 -07:00
Leijurv
b41fdc2bbd
remove spammy log prints 2018-10-15 15:39:01 -07:00
Leijurv
3cac37d1a5
cached regions in ram should not expand without bound 2018-10-15 15:19:10 -07:00
Brady
2f7259714a
Fix Pathing Thread crash on Forge 2018-10-14 23:46:41 -05:00
Leijurv
c1076461e2
dont jump while using an item, fixes #222 2018-10-14 10:38:47 -07:00
Brady
c80b855dab
Move a lot of utils to api 2018-10-14 00:55:30 -05:00
Brady
83fc11e75b
private static final > private final static 2018-10-14 00:24:59 -05:00
Brady
9654892e54
Make BlockStateInterface.AIR final 2018-10-14 00:23:49 -05:00
Brady
b46fad1442
Fix bad reference 2018-10-13 23:27:11 -05:00
Brady
ff652dbe40
scanLoadedChunks -> scanChunkRadius 2018-10-13 23:15:34 -05:00
leijurv
897483884a
fix 2 block parkour failure on lilypads and after descends 2018-10-13 17:01:40 -07:00
Leijurv
de29a6532f
privatize 2018-10-13 12:29:14 -07:00
Leijurv
7efc0ae8ca
fix snow bs 2018-10-12 19:33:03 -07:00
Leijurv
b443be1795
more accurate check 2018-10-12 15:29:25 -07:00
Leijurv
4892192c6c
remove unused functions 2018-10-12 15:14:39 -07:00
Leijurv
6b7a8e2bd3
better protection logic, fix placing outside worldborder 2018-10-12 14:34:33 -07:00
Leijurv
c5f5445f4b
fix exception when calculating descend from starting position above 256 2018-10-12 14:19:11 -07:00
Leijurv
8a65f43a0b
check world border, fixes #218 2018-10-12 14:12:06 -07:00
Leijurv
773ad89951
refactor problematic area 2018-10-11 20:36:18 -07:00
Brady
130b21f738
Fix issue with user input check that messed up Auto Eat 2018-10-11 18:50:55 -05:00
Brady
54215bdb18
Just ONE tweaker
When we make the next release, we need to specify in the setup files that Baritone now requires the SimpleTweaker dependency, and we need to remove the old alternate tweaker references. (Optifine and Forge)
2018-10-11 14:53:20 -05:00
Leijurv
0db18a7caf
v0.0.8 2018-10-11 11:48:07 -07:00
Brady
db7d3184c9
fINAL 2018-10-11 12:34:40 -05:00
Brady
7dfe6ac3ca
Add EntityPlayerSP field to relevant events 2018-10-11 12:32:42 -05:00
Leijurv
8fd921c60e
disable cancelOnGoalInvalidation 2018-10-10 21:28:55 -07:00
Leijurv
fec29d03fd
automatically break block while suffocating, fixes #33 2018-10-10 21:25:21 -07:00
Leijurv
9bd205f190
center pillar regardless of timing 2018-10-10 21:07:59 -07:00
Leijurv
089037663e
tweak backtrack cost favoring coefficient 2018-10-10 21:06:31 -07:00
leijurv
8c0bc3e2ef
splice tighter, fixes #44 2018-10-10 20:49:25 -07:00
leijurv
db21045cfb
renderPathIgnoreDepth 2018-10-10 20:40:15 -07:00
Leijurv
fbf0f2271c
revamp pathStart, fixes #209 2018-10-10 17:05:51 -07:00
Leijurv
7e78ed2139
rework minebehavior threading model, fixes #217 2018-10-10 16:40:33 -07:00
Leijurv
5676acbba6
add off hand, fixes #206 2018-10-10 16:29:48 -07:00
Leijurv
43b155d7b8
better check than air 2018-10-10 16:27:48 -07:00
Leijurv
d3bf4ef198
renderSelectionBoxesIgnoreDepth 2018-10-09 19:34:53 -07:00
Leijurv
fc9d13a03c
there was literally no reason to have it like that 2018-10-09 17:36:35 -07:00
Leijurv
22d2036657
splice better, fixes #215 2018-10-09 16:40:04 -07:00
Leijurv
9e15960581
fix pause stuttering, fixes #216 2018-10-09 16:13:46 -07:00
leijurv
738ce25ff0
tighten fall column 2018-10-09 11:15:42 -07:00
Brady
5da9347e2c
Merge pull request #214 from cabaletta/path-api
Pathing API
2018-10-09 00:14:25 -05:00
Brady
771e892b31
Get Cutoff implementation out of API we DON'T need you 2018-10-09 00:10:50 -05:00
Brady
0fb5f3233f
MovementStatus javadocs 2018-10-08 23:52:36 -05:00
Leijurv
f17ce87e45
publicize 2018-10-08 21:51:19 -07:00
Leijurv
a497a944a6
bottom of the class 2018-10-08 21:49:36 -07:00
Brady
2e69bbe371
Minimal CutoffResult Javadocs 2018-10-08 23:34:12 -05:00
Brady
875f01c358
More comprehensive IPath javadocs 2018-10-08 23:29:16 -05:00
Brady
6a4a8ab2d9
I'm an IDIOT 2018-10-08 21:09:54 -05:00
Brady
8278576227
Rename getCurrentPathSearch to getPathFinder 2018-10-08 21:02:55 -05:00
Brady
7d0aa4d7a5
Add override annotation to getPath in PathExecutor 2018-10-08 20:39:33 -05:00
Brady
2b4512ee3f
Move to API 2018-10-08 20:37:52 -05:00
Leijurv
413e505683
epic 2018-10-08 18:08:01 -07:00
Leijurv
0f1edba5f1
save settings 2018-10-08 18:05:08 -07:00
Brady
e23a9c976a
Bad code 2018-10-08 20:01:44 -05:00
Brady
1449edb8af
Didn't need to do that 2018-10-08 19:59:25 -05:00
Brady
d177db5a35
IMovement
Hey would you look at that
2018-10-08 19:57:22 -05:00
Brady
1245e222a7
Begin path api prep 2018-10-08 19:23:43 -05:00
Brady
0ee14b4b90
Good javadocs
They're not good they're shit I lied to you
2018-10-08 17:12:51 -05:00
Leijurv
5a9e5cdac4
move rendering, fixes #212 2018-10-08 15:11:07 -07:00
Brady
10bb177664
Add renderGoalIgnoreDepth setting 2018-10-08 17:06:41 -05:00
leijurv
69762bf4b4
fix parkour maybe? fixes #211 2018-10-07 22:08:37 -07:00
leijurv
e17cc79cb3
synchronize MemoryBehavior, fixes #198 2018-10-07 21:55:40 -07:00
leijurv
60c29fd159
actually stop sprinting, fixes #199 2018-10-07 21:40:18 -07:00
Leijurv
65ce5ca752
fix nullpointerexception in cachedworld 2018-10-07 16:57:04 -07:00
leijurv
af357d4d8e
fix a weird bug 2018-10-06 20:28:47 -07:00
Leijurv
8c76573395
don't pause on one block overlap 2018-10-06 18:43:20 -07:00
Leijurv
939e9c32d5
pause when current best is a backtrack, fixes #201 2018-10-06 18:39:48 -07:00
Brady
e4ef659756
Fix WorldScanner exposure 2018-10-06 20:35:32 -05:00
Brady
4b61452c62
Expose WorldScanner in API 2018-10-06 20:30:09 -05:00
Brady
d5130aa6ba
Expose event listener registry in API 2018-10-06 20:16:38 -05:00
Leijurv
6c9f317f31
don't look to the side on a parkour place until the place is in range 2018-10-05 18:27:02 -07:00
Leijurv
1ab5609d4e
spam travis less 2018-10-05 15:51:23 -07:00
Leijurv
046de84360
that should really default to true 2018-10-05 14:39:17 -07:00
Leijurv
ca48dabcc7
change sneak-backplace behavior, fixes #208 2018-10-05 13:49:47 -07:00
Leijurv
9880a4e948
when asusmeSafeWalk is on, we don't sneak in the first place 2018-10-05 13:11:09 -07:00
Leijurv
cb589219d8
use mutable move result to avoid instantianing ten million move result objects 2018-10-05 12:32:42 -07:00
Leijurv
6fff4c5254
reduce repetition in Moves 2018-10-05 10:17:58 -07:00
Leijurv
4049c116d9
dynamicY and yOffset 2018-10-05 10:10:24 -07:00
Leijurv
b720742f53
render the goal block, fixes #166 2018-10-04 21:28:34 -07:00
leijurv
c1af050fa6 fix lilypad fall cost, fixes #207 2018-10-04 16:01:27 -07:00
Leijurv
39f415d4be
allowplace and allowparkourplace 2018-10-03 19:00:58 -07:00
Leijurv
4590b9f6da
they say you are what you eat, but i don't remember eating a minecraft damn daniel mod 2018-10-03 13:45:43 -07:00
Brady
ee6e0b1784
Add message and actually cancel event 2018-10-03 12:45:57 -05:00
Brady
820c108548
Add pause "command" in ExampleBaritoneControl 2018-10-03 12:44:28 -05:00
Leijurv
239bb14e3a
add blockBreakAdditionalPenalty 2018-10-03 08:20:24 -07:00
Leijurv
1bd7c8455f
crucial performance optimization 2018-10-03 08:14:15 -07:00
Leijurv
6986f179cd
it's not much of an improvement, but it won't make it slower 2018-10-03 08:12:57 -07:00
Leijurv
28af41b789
defer movement propagation and assembly to postprocessing 2018-10-03 08:04:30 -07:00
Leijurv
36bdaa99ec
DAE BlockPos bad? 2018-10-03 07:57:24 -07:00
Leijurv
1ee44024b2
don't construct favored positions hashset if the coefficient renders it useless 2018-10-03 07:52:17 -07:00
Leijurv
cd926283b3
avoid synthetic lambda creation 2018-10-03 07:48:26 -07:00
Leijurv
04d210bd8b
no need to calculate the hash on contstruction anymore 2018-10-03 07:43:45 -07:00
Leijurv
3fdc4d6ee0
parkour jumping onto a vine, sort of 2018-10-02 15:34:46 -07:00
Leijurv
baf27363aa
fix movement ascend x z cardinal asymmetry, fixes #204 2018-10-02 15:02:27 -07:00
Leijurv
da137f35de
fix parkour jumps ending on lilypads, fixes #203 2018-10-02 14:04:24 -07:00
Brady
02a04773c6
bad javadocs 2018-10-02 15:27:25 -05:00
Brady
7e7b9f4fdb
Make MemoryBehavior store data by world 2018-10-02 15:25:58 -05:00
Leijurv
85e4a57c76
no longer needed since goal is in api which in unobfed 2018-10-02 10:19:14 -07:00
Leijurv
24be1d0ff3
lookahead a little more 2018-10-02 10:01:54 -07:00
Leijurv
2867e0626f
reenable diagonal through water 2018-10-02 09:59:07 -07:00
Leijurv
f0c3e59a6f
move from todo to issue 2018-10-01 22:50:51 -07:00
Leijurv
4e11d92d19
fix parkour cost calculation 2018-10-01 19:23:13 -07:00
Leijurv
07eee481cb
fix failure on repeated descend 2018-10-01 15:42:16 -07:00
Leijurv
8f146d1a2b
increase degree of backtrack cost favoring 2018-10-01 15:35:18 -07:00
Leijurv
1cc03e3aca
it doesn't actually have to be falling, it just has to be solid 2018-10-01 15:20:52 -07:00
Leijurv
023822b5d9
stop breaking block on cancel, even if not requested by player 2018-10-01 15:11:52 -07:00
Leijurv
41ffd4455d
don't cancel for any reason while doing a water bucket fall, fixes #98, fixes #123 2018-10-01 14:50:20 -07:00
Leijurv
810b92fbad
Merge pull request #193 from cabaletta/service-loader
Service loader
2018-10-01 14:37:15 -07:00
Leijurv
6db31cbe74
now that that's fixed, we can tighten the maximum time again 2018-10-01 14:37:01 -07:00
Leijurv
b55a102d37
take depth strider into acocunt for water speed, fixes #101 2018-10-01 14:26:55 -07:00
Leijurv
f338cdd2e5
clear all keys including sprint in the next movement, fixes #194 2018-10-01 14:26:08 -07:00
Leijurv
76365a4564
sprint on soul sand, fixes #120 2018-10-01 10:05:04 -07:00
Leijurv
109cffc3de
rearrange blockstate lookups 2018-10-01 09:57:47 -07:00
Leijurv
c67339dc42
Merge branch 'master' into service-loader 2018-10-01 09:53:03 -07:00
Leijurv
f56766be26
maybe it just needs more time 2018-10-01 09:51:43 -07:00
Leijurv
b1e1cc43e0
simplify properly even when obfuscated 2018-09-30 21:43:07 -07:00
Leijurv
13aaec07cd
draw most recent node considered even if there is no valid best 2018-09-30 21:42:34 -07:00
Leijurv
08b9eab9f3
draw most recent node considered even if there is no valid best 2018-09-30 21:32:13 -07:00
Leijurv
09ac3c615c
more time maybe 2018-09-30 09:14:23 -07:00
Leijurv
d58ad6f68f
finalize 2018-09-30 08:03:33 -07:00
Brady
3184eaf595
Remove IBaritoneProvider#getSettings 2018-09-29 23:59:32 -05:00
Brady
b12c2ea62f
UTILIZE Service Loaders
https://i.imgur.com/kAm0xd3.png
2018-09-29 23:52:01 -05:00
Leijurv
bcb95c55c9
allow a bit more time, it's a little flaky on travis right now 2018-09-29 07:43:34 -07:00
Leijurv
c383186808
sprint through descend then ascend in the same direction, fixes #115 2018-09-28 18:55:04 -07:00
Leijurv
2f602f8718
no stop dont 2018-09-27 16:11:55 -07:00
Leijurv
015462eddb
beg people not to disable chunk caching 2018-09-27 15:37:22 -07:00
Leijurv
de6d6c8714
cached chunks expiration setting, fixes #181 2018-09-27 15:19:55 -07:00
Leijurv
1b2304146b
reorganized diagonal 2018-09-26 17:25:18 -07:00
Leijurv
f28cdc531f
this will really help performance a lot 2018-09-26 15:34:06 -07:00
Leijurv
2aa4770b45
add settings for pathing hashmap 2018-09-26 15:01:14 -07:00
Brady
1d931a4bb6
lol epic 2018-09-26 16:21:53 -05:00
Leijurv
9094c712d6
only optimize game settings if we are going to be auto testing 2018-09-26 13:46:08 -07:00
Leijurv
40a3177ae7
no need to get that twice 2018-09-26 13:05:36 -07:00
Leijurv
ab0d713882
THX 0x22 2018-09-25 22:18:19 -07:00
Leijurv
19661cc99c
it takes more time to go a longer distance what a wild concept 2018-09-25 22:07:51 -07:00
Leijurv
d58656571a
thx 0x22 2018-09-25 21:58:22 -07:00
Leijurv
4900c76752
merge 2018-09-25 21:57:00 -07:00
Brady
d899ff7f7b
2 iq 2018-09-25 23:24:48 -05:00
Brady
36651553fe
Increase max ticks accordingly
See last commit
2018-09-25 23:17:15 -05:00
Brady
d9596fcac9
Travis may actually take 10 seconds to load in 2018-09-25 23:16:20 -05:00
Leijurv
aa7b77b413
can't pause on lost focus in xvfb 2018-09-25 18:57:50 -07:00
Brady
b3f06c6fac
Allow pause on lost focus 2018-09-25 20:54:33 -05:00