Commit Graph

1010 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Brady
3483be4bed
Sync framerate limit with tps in auto test 2018-09-25 20:43:49 -05:00
Brady
d7a0d26fd2
Optimize game settings for better travis performance 2018-09-25 20:31:54 -05:00
Leijurv
9abc34ca4c
less unneeded output 2018-09-25 13:55:03 -07:00
Leijurv
f561ff84fa
a more interesting route 2018-09-25 13:45:29 -07:00
Leijurv
00658dcaba
allow a little more time 2018-09-25 11:56:48 -07:00
Leijurv
eb78a1f49b
tweak starting and ending positions for less water 2018-09-25 11:37:45 -07:00
Leijurv
b056f18444
Merge branch 'master' into travis-test 2018-09-25 11:32:49 -07:00
Leijurv
a3f42e2292
fix pillar up in water without throwaway 2018-09-25 11:32:40 -07:00
Leijurv
ce55cc56c1
BaritoneAutoTest 2018-09-25 11:19:25 -07:00
Brady
c94ac6e26c
Better Rotation 2018-09-25 09:40:22 -05:00
Leijurv
61cf103df4
fix pathing 2018-09-24 18:56:57 -07:00
Brady
0f7743263e
Move goals to api 2018-09-24 20:33:00 -05:00
Leijurv
1b74c8c8be
Update BlockBreakHelper.java 2018-09-24 18:16:13 -07:00
Brady
b9cba93d33
Jurv's absolutely autistic practices made me have to do this shit 2018-09-24 19:19:07 -05:00
Leijurv
34e5811613
and a couple more 2018-09-24 17:15:22 -07:00
Brady
ce39183482
Add more fast methods to BetterBlockPos 2018-09-24 19:03:19 -05:00
Brady
529f8dae47
Remove ignored hashCode call 2018-09-24 18:58:08 -05:00
Brady
b575f54977
Revert BlockStateInterface changes because jurv wurv sad 2018-09-24 18:55:57 -05:00
Brady
6ec6ff4596
Clean all imports 2018-09-24 18:51:10 -05:00
Brady
30b63abb73
Replace creation of new Helper instances in Utils 2018-09-24 18:50:29 -05:00
Brady
2a8575caa8
Begin to create interfaces in api for cached World and Region 2018-09-24 18:45:41 -05:00
Leijurv
6829bc920e
demolish goto, fixes #182 2018-09-24 16:21:14 -07:00
Leijurv
8ee7446517
save by coordinate, fixes #175 2018-09-24 16:16:04 -07:00
Brady
559f575db5
Add javadocs to RayTraceUtils 2018-09-24 18:09:10 -05:00
Leijurv
750da2f1a6
stop breaking on cancel, hopefully fixes #127 2018-09-24 16:05:09 -07:00
Brady
7d27509e63
Don't forget 2018-09-24 18:01:26 -05:00
Brady
239a95961e
Replace for loop with forEach 2018-09-24 17:56:27 -05:00
Leijurv
cef4fb0f50
convert blocks to strings and back less 2018-09-24 15:45:12 -07:00
Leijurv
da3f5251b5
refactor 2018-09-24 15:37:05 -07:00
Brady
fc591eafd3
We must preserve it 2018-09-24 17:32:12 -05:00
Leijurv
5087e65c61
what 2018-09-24 15:27:37 -07:00
Leijurv
65672b5564
gotta go fast lol 2018-09-24 13:14:36 -07:00
Leijurv
758e9c511a
tiny optimization 2018-09-24 13:13:24 -07:00
Brady
812c23e1ca
Fix compiler error and revert addAll meme 2018-09-24 14:48:01 -05:00
Leijurv
9e27a59d7f
cache on load check 2018-09-24 12:44:41 -07:00
Brady
35c8b03122
Create IWorldData and IWorldProvider interfaces in api
This fully exposes waypoints in the api, next step is cached worlds!
2018-09-24 14:42:22 -05:00
Brady
1cf4c9419f
Add setting for goal box color 2018-09-24 14:17:02 -05:00
Leijurv
0ed6bc966e
standardize on moveresult 2018-09-24 10:55:35 -07:00
Leijurv
ba7e9a56e3
remove intermediate object 2018-09-24 10:50:40 -07:00
Brady
df88b02ed5
Create IWaypointCollection interface in api 2018-09-24 12:48:00 -05:00
Brady
d6c2c053db
Create IWaypoint interface in api 2018-09-24 12:36:25 -05:00
Leijurv
5650c86a7d
update goal in new thread 2018-09-24 10:17:01 -07:00
Leijurv
4ec9a4fc5b
really cancel, fixes #178 2018-09-24 09:57:20 -07:00
Brady
7b0f14a0e5
Configurable colors for path rendering 2018-09-23 21:47:19 -05:00
Brady
c3a21b928e
When PathingBehavior is disabled, clear all of the key override states 2018-09-23 21:35:56 -05:00
Leijurv
89ad673ae3
convenience methods 2018-09-23 18:44:54 -07:00
Leijurv
fa7a0b3c45
readd costs 2018-09-23 18:00:54 -07:00
Brady
eeea07ed2b
Move Settings to api 2018-09-23 18:35:55 -05:00
Brady
4ac2ade7c6
Create IPathingBehavior and expose all behaviors
This is still a biiiiiig WIP
2018-09-23 18:29:03 -05:00
Brady
62b8bc0f47
Create IMemoryBehavior interface 2018-09-23 17:07:53 -05:00
Brady
7edf581c6a
Move Behavior back to main sourceSet 2018-09-23 16:50:18 -05:00
Brady
a6aa659629
Begin to create default behavior exposing interfaces in api 2018-09-23 16:44:35 -05:00
Leijurv
182c1e6ff5
refactor 2018-09-23 14:23:23 -07:00
Brady
6770985b3a
Ew TUPLE 2018-09-23 15:26:57 -05:00
Leijurv
59b4e1a993
parkour 2018-09-23 12:24:07 -07:00
Leijurv
5ca5fdf777
misc fixes 2018-09-23 11:37:39 -07:00
Leijurv
53590a96b9
you are no longer being poisoned by a toxic cloud 2018-09-23 11:17:31 -07:00
Leijurv
1a6b7d184a
cache chunk load check through block state interface 2018-09-23 10:20:19 -07:00
Leijurv
c623250387
no reason to do that actually 2018-09-23 10:13:09 -07:00
Leijurv
b20f148fa6
might as well 2018-09-23 08:58:45 -07:00
Leijurv
cc01c88dbd
begone betterblockpos 2018-09-23 08:54:26 -07:00
Leijurv
23c11a5170
finish moving away from betterblockpos in path calculation 2018-09-23 08:52:03 -07:00
Leijurv
7fa6e001e6
don't cause exception on main thread if a movement becomes impossible 2018-09-23 08:13:21 -07:00
Leijurv
65a59cb739
add bench link 2018-09-23 08:05:59 -07:00
Leijurv
0d0eefec9c
s a n i k 2018-09-22 22:00:28 -07:00
Leijurv
1b576eca28
MovementDescend 2018-09-22 19:58:03 -07:00
Leijurv
2d3cdddc51
why do i even do this 2018-09-22 19:48:33 -07:00
Leijurv
eaa44c90f3
MovementAscend 2018-09-22 19:46:10 -07:00
Leijurv
e33564f1eb
MovementPillar 2018-09-22 19:13:59 -07:00
Leijurv
7888dd24e5
comments 2018-09-22 11:23:26 -07:00
Leijurv
f07c02ff41
Merge branch 'master' into noblockpos 2018-09-22 09:35:33 -07:00
Leijurv
c64785f0ce
don't let a NaN slip through 2018-09-22 09:34:42 -07:00
Leijurv
d471bfa948
fewer blockpos 2018-09-22 09:28:59 -07:00
Leijurv
c508fb2cb7
optimized checks 2018-09-22 09:17:28 -07:00
Leijurv
15fa12fe08
end of an era. stop randomizing movements 2018-09-22 09:04:10 -07:00
Leijurv
e16bc5eca4
more better block pos 2018-09-22 08:56:49 -07:00
Leijurv
8b307f296a
fix very rare null pointer exception 2018-09-21 22:14:18 -07:00
Leijurv
9661ab3b42
more info on cancelOnGoalInvalidation 2018-09-21 09:30:37 -07:00
Leijurv
ae59e94a6c
lmao wtf 2018-09-21 08:49:49 -07:00
Leijurv
21568f593a
fix goal offset logic 2018-09-20 21:27:25 -07:00
Leijurv
2cac115211
fix scan logic 2018-09-20 14:09:13 -07:00
Leijurv
4513a537db
fix logic in minebehavior 2018-09-20 14:08:56 -07:00
Leijurv
e3434115ac
logger 2018-09-20 13:29:26 -07:00
Brady
ddf7b3739a
Fix compiler error 2018-09-20 14:29:37 -05:00
Brady
1c2e47c39a
Add maxSearchRadius parameter to WorldScanner 2018-09-20 14:14:59 -05:00
Brady
0575e2d667
Fix size parameter not being properly recognized by WorldScanner 2018-09-20 13:52:29 -05:00
Brady
37f00f3e14
Made foundWithinY in WorldScanner an "option" 2018-09-20 12:21:23 -05:00
Brady
d0fd370d53
Fix issue with WorldScanner where no chunks match exact dist squared 2018-09-20 11:35:36 -05:00
Leijurv
28a8e7ea63
home should path, not just set goal 2018-09-19 20:30:17 -07:00
Leijurv
2e63ac41d9
possibly fix oscillation problem with a large goal composite 2018-09-19 19:34:05 -07:00
Leijurv
1790534421
allow swimming up a water column, fixes #174, fixes #129 2018-09-19 17:16:42 -07:00
Leijurv
2375f1a408
better encapsulation of currentlyRunning 2018-09-19 14:39:57 -07:00
Leijurv
ef55d86913
fix follow offset while at large x and z coordinates 2018-09-18 20:59:48 -07:00
Leijurv
28ebf065ee
5x harder to break while sneaking 2018-09-18 13:14:22 -07:00
Leijurv
b47b813462
deal with fence gate properly, fixes #172 2018-09-18 12:23:03 -07:00
Leijurv
f13bcbd49f
no more flowing water 2018-09-17 20:25:52 -07:00
Brady
63a1083e19
Let's talk about doors 2018-09-17 17:46:23 -05:00
Brady
6b61a00bed
Change License to GNU Lesser General Public License v3 2018-09-17 17:11:40 -05:00
Leijurv
71952410eb
mine quantity 2018-09-17 14:22:45 -07:00
Leijurv
e981bfa346
follow player by name 2018-09-17 10:56:37 -07:00
Leijurv
043dd80e28
higher priority 2018-09-17 10:38:37 -07:00
Leijurv
b3654492be
follow offset distance and direction 2018-09-17 10:36:47 -07:00
Brady
583a5046ef
Utilize the fact that all MovementState methods return "this" 2018-09-17 12:17:58 -05:00
Leijurv
f36b11016e
codacy badge 2018-09-16 20:19:41 -07:00