Commit Graph

867 Commits

Author SHA1 Message Date
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
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
Leijurv
a589cb0d9e
rearranged constructors 2018-09-16 20:16:05 -07:00
Leijurv
74dc8d4118
unneeded 2018-09-16 19:58:44 -07:00
Leijurv
0b640199ef
add defaults to more switches 2018-09-16 19:56:33 -07:00
Leijurv
3011b85aee
add defaults to switches 2018-09-16 19:50:14 -07:00
Leijurv
f25f264fd3
epicer default 2018-09-16 19:43:48 -07:00
Leijurv
71473ab17d
nit 2 2018-09-16 19:34:18 -07:00
Leijurv
eac5184d4d
nit 2018-09-16 19:30:47 -07:00
Leijurv
5f0009a060
fuming 2018-09-16 19:25:21 -07:00
Brady
b4ddd98bcb
cUrLy BrAcKeT 2018-09-16 21:24:13 -05:00
Brady
aa2caf63d3
Clean up PathingBehavior#findPath 2018-09-16 21:18:39 -05:00
Brady
bc82276e62
Why null check when you can default null 2018-09-16 20:14:51 -05:00
Leijurv
b7cc707737
misc cleanup 4 2018-09-16 17:58:35 -07:00
Leijurv
543c0d0a33
dont modify arguments 2018-09-16 17:51:39 -07:00
Leijurv
af58304b38
misc cleanup 3 2018-09-16 17:49:19 -07:00
Leijurv
e75d0ff102
huh thats neat 2018-09-16 17:25:14 -07:00
Leijurv
dbd1fb2aa2
misc cleanup 2 2018-09-16 17:15:33 -07:00
Leijurv
fb7d729b11
misc cleanup 2018-09-16 17:11:04 -07:00
Leijurv
51f1cadbb8
now unused 2018-09-16 16:50:56 -07:00
Leijurv
7fd0d2d038
clean up toLowerCase 2018-09-16 16:45:56 -07:00
Brady
a92465a5f9
Exceedingly beautiful 2018-09-16 16:46:41 -05:00
Leijurv
8dac838fe0
thread pool executor 2018-09-16 14:23:15 -07:00
Brady
23779329a9
Expose registerEventListener in Baritone class 2018-09-16 15:59:52 -05:00
Leijurv
3f15451e88
command to rescan and repack all loaded chunks 2018-09-16 13:43:54 -07:00
Brady
0ce68ee21f
Replace some issue references with proper javadocs where applicable 2018-09-16 15:28:52 -05:00
Leijurv
30fc72a34c
scan loaded if not cached 2018-09-16 13:28:16 -07:00
Brady
5492dc59e2
Replace Setting<Number> usages with their actual number types 2018-09-16 15:05:05 -05:00
Leijurv
9937739518
force internal mining 2018-09-16 13:00:44 -07:00
Leijurv
eca41a046a
more accurate name 2018-09-15 19:35:35 -07:00
Leijurv
e54ea6c571
pathingbehavior must emit canceled event for mining to recalc 2018-09-15 15:22:34 -07:00
Leijurv
43cf2062bc
locations cache 2018-09-15 12:56:35 -07:00
Leijurv
27b9324cf1
add goal axis and fix movement fall path detection 2018-09-15 12:51:37 -07:00
Leijurv
a978ddec08
mineGoalUpdateInterval and cancelOnGoalInvalidation 2018-09-15 10:34:02 -07:00
Leijurv
b5a512963d
don't get stuck on ascend, fixes #171 2018-09-15 10:04:48 -07:00
Leijurv
67c5a9caa0
fix failure to break on fall 2018-09-15 09:29:03 -07:00
Leijurv
20ecab7d53
fix breaking movementfall last block with assumeWalkOnWater 2018-09-15 08:31:46 -07:00
Leijurv
0b30e822c2
fix flowing water detection for assumeWalkOnWater 2018-09-15 08:00:24 -07:00
Leijurv
19b47d77e5
can still fall into water if assumeWalkOnWater is true 2018-09-15 07:51:46 -07:00
Leijurv
9b375e1f5f
fix path not derendering once finished 2018-09-15 07:42:03 -07:00
Leijurv
1745ce6a62
fix wrong y coordinate on path beginning 2018-09-15 07:38:53 -07:00
Leijurv
5513d0669f
helps with nether fortresses 2018-09-15 07:04:22 -07:00
Leijurv
12b64ead5c
a much needed path executor overhaul 2018-09-14 18:29:35 -07:00
Leijurv
13cfb8e369
walkWhileBreaking, fixes #147 2018-09-14 16:45:51 -07:00
Leijurv
29391af5ad
solidarity 2018-09-14 15:57:46 -07:00
Leijurv
7d94cb259f
world scanner do 1 chunk only if blocks at same y have been found 2018-09-14 12:24:53 -07:00
Leijurv
001070d406
more robust path destination verification 2018-09-14 09:21:59 -07:00
Leijurv
a38da64c49
make the left click workaround optional 2018-09-14 09:05:29 -07:00
Leijurv
d7a646789e
fixes to parkour place 2018-09-14 08:40:34 -07:00
Leijurv
6b45b84784
special request from plutie#9079 2018-09-13 18:40:50 -07:00
Leijurv
853cbf3554
add waypoint user 2018-09-13 18:00:08 -07:00
Leijurv
7d0914bd43
don't crash on thisway typo lol 2018-09-13 16:40:55 -07:00
Leijurv
e3830643f6
only fail on movement cost increase if calced through cached, fixes #165 2018-09-13 16:18:26 -07:00