Commit Graph

924 Commits

Author SHA1 Message Date
Brady
c94ac6e26c
Better Rotation 2018-09-25 09:40:22 -05:00
Brady
bb5b1a7a91
Rename ActionCosts...Test
that one
2018-09-25 09:08:29 -05:00
Leijurv
61cf103df4
fix pathing 2018-09-24 18:56:57 -07:00
Brady
80a734141c
Fix compiler error 2018-09-24 20:45:16 -05:00
Brady
40bea503c3
Merge ActionCosts with ActionCostsButOnlyTheOnesThatMakeMickeyDieInside 2018-09-24 20:40:04 -05: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
Leijurv
8c397d1454
t e s t 2018-09-24 17:19:59 -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
Leijurv
76f287582e
overhaul betterblockpostest 2018-09-24 15:58:08 -07:00
Brady
239a95961e
Replace for loop with forEach 2018-09-24 17:56:27 -05:00
Leijurv
3e189510d4
bits test 2018-09-24 15:50:09 -07: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
787665ae08
Actually add getter for the world provider instance in api 2018-09-24 14:43:02 -05: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
Brady
111e03c5b8
i agree 2018-09-24 13:39:40 -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
e99fc5d9b7
Make IMineBehavior extend IBehavior 2018-09-23 16:45:00 -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
943794726a
wtf intellij 2018-09-23 12:24:56 -07: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
289637a370
what is testing :S 2018-09-23 09:42:20 -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