Commit Graph

1572 Commits

Author SHA1 Message Date
Brady
2afdaa1ac9
Add individual chunk scanning to IWorldScanner 2018-12-14 18:50:39 -06:00
Leijurv
d4947c3c47
tweak custom goal process logic 2018-12-14 08:30:32 -08:00
Brady
35efd9293b
BlockInteractEvent Type clarification 2018-12-13 18:22:33 -06:00
Leijurv
801727dca6
fix parkour failures at height limit on NCP 2018-12-12 18:14:56 -08:00
Leijurv
44963fa4c7
diagonal descend 2018-12-11 22:26:55 -08:00
Leijurv
a2534a8227
unused imports 2018-12-11 16:00:48 -08:00
Leijurv
24c0ec905e
removed dumb comment 2018-12-10 18:05:31 -08:00
Leijurv
bca6a580e3
combine 2018-12-09 19:25:00 -08:00
Leijurv
1d0413f159
im idiot 2018-12-08 18:28:04 -08:00
Leijurv
72d8863862
fix openness check to work for mulitple bots 2018-12-08 17:49:23 -08:00
Leijurv
c15dac3582
simple inventory management 2018-12-07 16:57:12 -08:00
Leijurv
efe06264bd
settings for right click and enter portal 2018-12-07 16:54:12 -08:00
Leijurv
d5e155d77f
walk into, and right click on arrival 2018-12-07 15:53:41 -08:00
Leijurv
bf68afdda3
GetToBlock should only highlight the block itself 2018-12-07 15:40:32 -08:00
Leijurv
a61b82748c
remove extraneous prints 2018-12-06 21:52:24 -08:00
Leijurv
245b2483ab
fix crash when path length is exactly 30 2018-12-05 18:01:23 -08:00
Leijurv
87dbf1dbba
fix false positive in check 2018-12-05 17:59:32 -08:00
Leijurv
101f7cb7e2
move heuristic up to exactly equal SPRINT_ONE_BLOCK_COST 2018-12-05 10:22:18 -08:00
Leijurv
c795913259
fix splicing behavior around water 2018-12-05 10:21:56 -08:00
Leijurv
64eabf71f2
traverse place against below 2018-12-05 08:29:32 -08:00
Leijurv
2760354943
cool vine and ladder descending, fixes #159 2018-12-04 18:12:04 -08:00
Leijurv
28c2586452
fix parkour place logic 2018-12-04 15:50:44 -08:00
Leijurv
21d8c11cfe
go in the opposite order 2018-12-04 15:33:29 -08:00
Leijurv
862746038d
allow down placement, and fixes to replacable 2018-12-04 15:00:45 -08:00
Leijurv
2bd81b08c2
overhaul and fixes to cost calculation 2018-12-04 14:38:08 -08:00
Leijurv
16aee33bdf
fix random crash 2018-12-03 21:52:13 -08:00
Leijurv
f4161ed61c
......fixed....... 2018-12-03 21:39:32 -08:00
Brady
bfa0861065
Owned? 2018-12-03 20:45:19 -06:00
Brady
86d1512e5b
Rename Waypoints to WaypointCollection 2018-12-03 19:58:37 -06:00
Brady
5c83ee2648
Fix API javadoc errors and make API only javadoc export 2018-12-03 19:37:54 -06:00
Leijurv
7ba987e7f7
save containers and echests 2018-12-03 17:21:46 -08:00
Brady
b22e93d6d0
Fix javadoc errors 2018-12-03 18:47:40 -06:00
Brady
70b74d39fc
Fix broken javadoc 2018-12-03 18:21:24 -06:00
Leijurv
0236cb35d9
overhaul memory 2018-12-03 14:49:23 -08:00
Brady
b0066a93ca
GoalXZ beacon render setting 2018-12-03 16:42:05 -06:00
Leijurv
e25bf9f077
my fault 2018-12-03 14:22:30 -08:00
Brady
147df1ffb2
Probably fixes 265 2018-12-03 16:15:22 -06:00
Leijurv
4c96759ed5
tighten auto test time limit 2018-12-03 14:09:05 -08:00
Leijurv
8e2df3a030
reinstate proper static cutoff behavior 2018-12-03 14:08:44 -08:00
Leijurv
58a5720b6b
reduce reliability in what chunks are loaded when 2018-12-03 13:55:54 -08:00
Leijurv
eedf993d7a
remove goal equality condition for path splicing 2018-12-03 13:40:38 -08:00
Leijurv
d058cbf501
revert static cutoff, and fix goal comparisons in splice 2018-12-03 13:34:39 -08:00
Leijurv
d2413e1677
lol 2018-12-02 19:56:35 -08:00
Leijurv
3cb1984892
only apply static cutoff to protrusion beyond min length 2018-12-02 19:40:23 -08:00
Leijurv
17207d44e6
pick map over hybrid, due to performance 2018-12-02 19:39:10 -08:00
Leijurv
36cfcbbbe3
avoidances 2018-12-02 19:26:47 -08:00
Leijurv
1a6c0cd4d9
avoid mobs and spawners, fixes #162, fixes #240, fixes #278 2018-12-02 18:27:49 -08:00
Leijurv
5a97c512f7
fix rare exception 2018-12-02 17:15:22 -08:00
Leijurv
57a3330200
don't splice if not on ground 2018-12-01 10:49:14 -08:00
Leijurv
f2e02794b8
tweak block scanning, fixes #200 2018-12-01 10:04:49 -08:00
Leijurv
6a402b4a2b
fix the fire thing in a slightly different way 2018-11-29 20:36:19 -08:00
Leijurv
5daaaf5282
add settings reset command 2018-11-29 15:33:35 -08:00
Leijurv
6f7729e34e
add missing synchronized blocks 2018-11-28 18:21:27 -08:00
Leijurv
043d6ffd20
improve pathingbehavior resiliency 2018-11-27 10:37:48 -08:00
Leijurv
a8404a7286
only walk through supported snow, fixes #276 2018-11-26 15:32:28 -08:00
Leijurv
58d9134286
fix behavior around cocoa pods and vines, fixes #277 2018-11-26 15:01:34 -08:00
Leijurv
f25786635b
over 10k less objects per second 2018-11-26 07:58:10 -08:00
Leijurv
6d1130d2c3
favored lookup performance 2018-11-26 07:52:00 -08:00
Leijurv
d9effc4a29
avoid creating thousands of unmodifiable lists just to get their size 2018-11-25 22:59:47 -08:00
Leijurv
cf2765e017
thousands here too, on long paths 2018-11-25 22:57:54 -08:00
Leijurv
06dd07dbc6
believe it or not, this saves thousands of object allocations per second 2018-11-25 22:57:08 -08:00
Leijurv
14daf2ce85
unneeded, and was allocating thousands of sets a second 2018-11-25 22:50:22 -08:00
Leijurv
f9a3a3b78b
main thread bsi creation doesn't need to copy loaded chunks 2018-11-25 22:30:37 -08:00
Leijurv
2ba0e6ada6
don't create a new bsi hundreds of times a tick maybe? 2018-11-25 22:19:04 -08:00
Leijurv
943b75455b
no point if you don't copy it, really fixes #210 2018-11-25 12:13:49 -08:00
Leijurv
2b56d68f7d
many fixes to segment calculator, and chat demo usage 2018-11-25 11:53:56 -08:00
Leijurv
93217a3ae3
this is just not possible 2018-11-24 22:04:36 -08:00
Leijurv
9c5274dde4
runnable conversion 2018-11-23 13:12:18 -08:00
Leijurv
002c678b4a
Merge branch 'master' into segment-calculation 2018-11-23 13:09:57 -08:00
Leijurv
038533c33f explain documentation more 2018-11-23 15:06:09 -06:00
Leijurv
50d4b5b4ed unneeded 2018-11-23 15:06:09 -06:00
Leijurv
7632d667c9 add a secondary failure cutoff 2018-11-23 15:06:09 -06:00
Leijurv
5aa78cd478
crucial performance optimization 2018-11-23 11:22:49 -08:00
Leijurv
84cd4b1acb
unused 2018-11-23 10:58:23 -08:00
Leijurv
b705279153
consistency 2018-11-23 10:55:02 -08:00
Leijurv
d854750ee8
improve accuracy of GoalGetToBlock heuristic 2018-11-23 10:52:56 -08:00
Leijurv
4502adda28
segmented path calculator 2018-11-23 10:36:06 -08:00
Leijurv
a98c5d7d99
my house 2018-11-23 10:25:02 -08:00
Leijurv
c81a00268a
Merge branch 'master' into segment-calculation 2018-11-23 10:21:45 -08:00
Leijurv
dd47e20070
remove unneeded 2018-11-23 10:20:48 -08:00
Leijurv
f05613147e
Merge branch 'master' into failure-cutoff 2018-11-23 09:59:23 -08:00
Leijurv
6ed8d617cd
improve path checks, and add a overlap splice option 2018-11-23 09:31:25 -08:00
Leijurv
b228f4c6fb
remove extraneous checks in bsi 2018-11-23 09:03:51 -08:00
Leijurv
70f8d1d4ae
fix bsi creation on wrong thread, cache chunks, fixes #210 2018-11-23 09:00:52 -08:00
Leijurv
0d7131413a
prevent double jumping 2018-11-23 07:55:59 -08:00
Leijurv
b5a4e65fbf
unable to start a parkour jump from stairs 2018-11-23 07:47:28 -08:00
Leijurv
7c51106d27
unneeded 2018-11-22 10:08:55 -08:00
Leijurv
1e9786d5b9
add a secondary failure cutoff 2018-11-22 09:39:54 -08:00
Leijurv
4b8c85f8a6
whoops 2018-11-22 08:57:27 -08:00
Leijurv
aed8dae175
hehe 2018-11-21 18:11:58 -08:00
Leijurv
8db26af36c
tweak sneak range for ncp compatibility 2018-11-21 11:02:12 -08:00
Leijurv
cfa874982c
fix a bunch of stuff in pillar, fixes #266 2018-11-21 11:00:46 -08:00
Leijurv
2a674cb869
don't sprint straight into danger 2018-11-20 18:58:47 -08:00
Leijurv
fb971301a4
fix getting permanently stuck on sideways fence gates in our way 2018-11-20 16:32:55 -08:00
Leijurv
3bb16de67e
greatly increase mining visual scan range 2018-11-20 16:32:44 -08:00
Leijurv
033da7e737
fix coefficient 2018-11-20 13:22:33 -08:00
Leijurv
14650f93c5
walk into lava less 2018-11-20 08:19:27 -08:00
Leijurv
e5184efdaa
fix cached path loop 2018-11-20 08:00:52 -08:00
Leijurv
16e3fd9305
IPathingControlManager 2018-11-18 21:41:42 -08:00
Brady
689dc74330
Whoops 2018-11-17 11:41:16 -06:00
Brady
6caae889b7
Fix AStarPathFinder Optional usage that's icky 2018-11-17 11:26:46 -06:00
Brady
ce0e8b4cd1
Clean up some bad Optional practices 2018-11-17 11:18:55 -06:00
Leijurv
737c632227
path creation no longer throws this 2018-11-16 16:28:20 -08:00
Leijurv
04e87c9810
cleaner 2018-11-15 16:03:20 -08:00
Leijurv
57c0613843
rename 2018-11-14 16:39:04 -08:00
Leijurv
f5d0143b09
im dumb 2018-11-14 14:37:41 -08:00
Brady
237f1846d3
Remove Baritone casts 2018-11-14 16:30:20 -06:00
Leijurv
f6dee1ecb7
add todo 2018-11-14 14:29:33 -08:00
Leijurv
f808fc9802
general cleanup 2018-11-14 14:27:30 -08:00
Leijurv
8385bc35ed
wow thats a rare bug 2018-11-14 14:26:35 -08:00
Leijurv
80d6d7fd58
simplify 2018-11-14 14:22:14 -08:00
Leijurv
b56cdcda52
remove that toxic cloud 2018-11-14 14:19:24 -08:00
Leijurv
ea81cd76ca
sigh 2018-11-14 14:00:56 -08:00
Leijurv
c3a3670785
unused imports 2018-11-14 13:57:37 -08:00
Leijurv
e4045e1343
and another 2018-11-14 13:48:45 -08:00
Leijurv
5a52cea415
epic 2018-11-14 13:48:09 -08:00
Leijurv
933b295c40
context objectMouseOver 2018-11-14 13:46:16 -08:00
Leijurv
ce6ec00a89
get rid of the remaining references to mc.world 2018-11-14 13:24:44 -08:00
Leijurv
b53f3925a4
forgot to add these files lol 2018-11-13 22:28:12 -08:00
Leijurv
e93fd596ff
customized TickEvent Type based on player context status 2018-11-13 22:17:18 -08:00
Leijurv
57b60c734b
fixes to BlockBreakHelper 2018-11-13 22:15:01 -08:00
Leijurv
c74ccaafbf
remove Baritone.INSTANCE 2018-11-13 21:34:11 -08:00
Leijurv
f6891feb64
removed all references to Baritone.INSTANCE 2018-11-13 21:33:14 -08:00
Leijurv
2675852dbe
canc 2018-11-13 20:11:51 -08:00
Brady
0302c6f14b
Fix really really bad error mega critical 2018-11-13 21:57:22 -06:00
Leijurv
a0dd43244c
immense iq 2018-11-13 19:54:24 -08:00
Brady
3ccb0c74c6
Remove timestamps from since annotations 2018-11-13 21:53:27 -06:00
Brady
f9270a7ed0
my house 2018-11-13 21:47:40 -06:00
Brady
d79d56c2f9
Expose all possible Baritone instances 2018-11-13 21:45:26 -06:00
Brady
94bf8d4bbd
More review things 2018-11-13 16:53:13 -06:00
Brady
5e2f40a322
Fix some things mentioned by @Leijurv 2018-11-13 16:33:45 -06:00
Brady
17161fd576
Resolve merge conflicts 2018-11-13 15:29:02 -06:00
Brady
d3db551cc9
Awesome 2018-11-13 15:14:29 -06:00
Leijurv
72058c792a
fix toxic clouds in legit mine 2018-11-13 12:20:27 -08:00
Brady
ef5e3ab06e
pwnage 2018-11-13 13:39:11 -06:00
Brady
71e7f0a04c
Fix GetToBlockProcess rescan 2018-11-13 11:59:02 -06:00
Brady
bae34e5b80
Initial meme
Still need to fix MovementHelper LUL
2018-11-13 11:50:29 -06:00
Leijurv
1ab3e61984
reformatted 2018-11-12 21:01:40 -08:00
Leijurv
e81b6d4d96
fought 2018-11-12 16:39:58 -08:00
Leijurv
83f14b10bb
whoa codacy suggested something actually helpful 2018-11-12 15:45:35 -08:00
Leijurv
7fecd1a5dd
tweak 2018-11-12 14:43:39 -08:00
Leijurv
0ce4107d56
"fix" it 2018-11-11 18:23:18 -08:00
Leijurv
66769365d0
much better 2018-11-11 17:59:13 -08:00
Leijurv
e3cb164723
fix blockstateinterface 2018-11-11 17:36:54 -08:00
Brady
903b1b16a4
static 2018-11-11 17:45:01 -06:00
Brady
e81d0a0b1b
Small brain 2018-11-11 17:12:18 -06:00
Brady
51243f0981
Some comments 2018-11-11 16:22:00 -06:00
Brady
fad5a6deac
lol 2018-11-11 15:46:07 -06:00
Leijurv
355443e440
forgot one 2018-11-11 12:48:53 -08:00
Leijurv
45e4239b26
context specific blockstateinterface lookups. also toxic 2018-11-11 12:35:22 -08:00
Brady
a83074e773
Map Input to state in InputOverrideHandler 2018-11-11 14:20:38 -06:00
Leijurv
f854d886d1
fix water bucket being placed one tick too early 2018-11-10 11:26:52 -08:00
Leijurv
73d4e9bbb9
another day another static world reference gone 2018-11-10 09:37:23 -08:00
Leijurv
232644feb0
these are cool and should default on 2018-11-10 09:25:44 -08:00
Brady
1c80950a70
Add note to MixinBlockPos
I looked at this Mixin for a second and thought wtf why did I make this and then remembered why, so it's probably important to let anybody else that looks at it know why.
2018-11-09 22:32:40 -06:00
Leijurv
b054e9dbe8
toxic cloud to get around two references to mc.player.dimension 2018-11-09 19:25:10 -08:00
Leijurv
3ddf6b2335
player and player controller toxic cloud 2018-11-09 19:12:36 -08:00
Leijurv
1a1686b7c3
fix yet more player references 2018-11-09 18:55:53 -08:00
Leijurv
dd08b2c825
no more references to player() from pathing thread 2018-11-09 17:21:02 -08:00
Leijurv
a2a60e9847
misc cleanup 2018-11-09 16:55:31 -08:00
Leijurv
13505a052f
wait a tick until objectMouseOver matches, fixes #254 2018-11-09 15:59:08 -08:00
Leijurv
f2dcdda9b3
revamp follow and fix some bugs in mine 2018-11-09 14:49:25 -08:00
Leijurv
dc6389c46f
comment 2018-11-08 14:58:18 -08:00
Leijurv
7dc89b0190
single runaway goal object, allows splicing better 2018-11-07 17:27:57 -08:00
Leijurv
5b395ce3da
should be in the synchronized block 2018-11-07 17:23:36 -08:00
Leijurv
40da7b3734
don't fail silently in the future 2018-11-07 17:18:43 -08:00
Leijurv
842e50adb9
path cleanup 2018-11-07 17:16:34 -08:00
Leijurv
96da078219
cutoff path up until movement failure, don't throw exception and fail entire path 2018-11-07 14:37:23 -08:00
Leijurv
4a1951b027
many fixes 2018-11-07 14:09:23 -08:00
Leijurv
a1778f401f
tweak a bit 2018-11-06 11:20:39 -08:00
Leijurv
9c93d3a474
splice next into current if no backtrack, fixes #122, fixes #249 2018-11-06 11:18:13 -08:00
Leijurv
cbc8a6d45b
Merge branch 'processes' 2018-11-06 08:43:57 -08:00
Leijurv
382c7e7888
reformat, optimize imports 2018-11-06 08:22:19 -08:00
Leijurv
ae200a56b0
CaPiTaLiZe 2018-11-06 08:19:26 -08:00
Brady
c50af5acfd
A couple minor cleanups 2018-11-06 08:02:08 -06:00
Leijurv
527691a2ec
fix blockbreakhelper toxic cloud in movement 2018-11-05 20:37:54 -08:00
Leijurv
a182c22d36
this can be moved i think 2018-11-05 20:05:47 -08:00
Leijurv
aac0d623fa
why not just... 2018-11-05 20:02:27 -08:00
Leijurv
604ef2bb64
misc cleanup 2018-11-05 20:01:46 -08:00
Leijurv
6ca7f47bf9
+0.5y not helpful 2018-11-05 19:31:05 -08:00
Leijurv
a1b71219cb
make sure to pick up dropped items while mining, fixes #170 2018-11-05 18:31:59 -08:00
Leijurv
d59c7cb7a8
temporarily disable cached region ram pruning 2018-11-05 17:30:45 -08:00
Leijurv
d121ca182f
spammy 2018-11-05 17:26:52 -08:00
Leijurv
2aee91be10
fix it up a bit 2018-11-05 16:46:24 -08:00
Brady
99da815f49
Massive brain 2018-11-05 18:40:25 -06:00
Brady
ebd3ce42d0
whoops 2018-11-05 18:28:29 -06:00
Brady
fdee1b9453
More javadocs 2018-11-05 18:11:16 -06:00
Brady
472e89239c
IBaritoneProcess javadoc update 2018-11-05 18:07:47 -06:00
Leijurv
5692e79e02
more docs 2018-11-05 15:25:19 -08:00
Leijurv
52246e41c8
appease codacy 2018-11-05 15:16:23 -08:00
Leijurv
2da3222115
fix 2018-11-05 14:55:13 -08:00
Leijurv
4d0bfce712
make InputOverrideHandler a Behavior 2018-11-05 14:47:40 -08:00
Leijurv
cb153e039b
not used and not publicly exposed 2018-11-05 14:43:57 -08:00
Leijurv
8aa5a6756a
add to api 2018-11-05 14:41:17 -08:00
Leijurv
23286dd8b8
disallow null PathingCommandType 2018-11-05 14:38:32 -08:00
Leijurv
30408384c6
fix 2018-11-05 14:37:05 -08:00
Leijurv
e11e3dfd86
explain 2018-11-05 14:22:30 -08:00
Leijurv
2c39cd06ed
cleanup 2018-11-05 14:19:50 -08:00
Brady
0373f1875f
Meme 2018-11-05 16:05:45 -06:00
Leijurv
fffd016008
Merge branch 'master' into processes 2018-11-05 13:51:41 -08:00
Leijurv
f286c400a3
when parkouring from soul sand, the maximum gap should be 1, fixes #247 2018-11-05 13:47:06 -08:00
Brady
c0e0f8dc2a
Fix last commit lol 2018-11-05 13:53:26 -06:00
Brady
ffb044ffc6
Replace RotationMoveEvent Inject with Redirect 2018-11-05 13:47:55 -06:00
Leijurv
c0b5d60715
fix 2018-11-04 22:17:49 -08:00
Leijurv
cd3aef47a5
that already does that 2018-11-04 10:30:46 -08:00
Leijurv
338fdb509a
it works 2018-11-04 10:29:22 -08:00
Leijurv
660efe5e16
pathing processes wip 2018-11-03 22:12:51 -07:00
Leijurv
58a2965fea
Merge branch 'impact4.4-compat' 2018-11-03 20:25:19 -07:00
Leijurv
c614d7ec6a
fix stupid minebehavior bug 2018-11-03 20:25:09 -07:00
Leijurv
e017238aca
unneeded 2018-11-03 19:41:40 -07:00
Leijurv
da5969c2fd
shouldnt have taken this long to figure that out 2018-11-01 20:58:48 -07:00
Leijurv
990107a1fa
simplify 2018-11-01 20:27:34 -07:00
Leijurv
42eb86b624
useless check? 2018-11-01 15:41:53 -07:00
Leijurv
b65a199e54
move all checks from BlockStateInterface to MovementHelper 2018-11-01 15:36:32 -07:00
Leijurv
88e3bcdf63
what 2018-11-01 15:32:58 -07:00
Leijurv
0fbfa32e6b
fix exception in pathfinder 2018-11-01 15:30:33 -07:00
Leijurv
20405716bc
fix impact 4.4 compatibility and add help message 2018-11-01 14:07:08 -07:00
Leijurv
b9b33b5351
move calculation context construction to main thread 2018-10-29 18:58:59 -07:00
Brady
19ecb1bbb3
Merge LocationTrackingBehavior into MemoryBehavior
Fixes #242
2018-10-29 16:43:03 -05:00
Leijurv
f6043f4ac6
changed wording 2018-10-28 16:44:56 -07:00
Brady
ed1941abdb
Fix desynchronized allowFlying state 2018-10-28 18:38:23 -05:00
Leijurv
24d24728dc
intellij be like 2018-10-28 16:05:08 -07:00
Leijurv
77db4cd19f
codacy 2018-10-28 15:24:52 -07:00
Leijurv
adbb03e5cb
unused lol 2018-10-28 15:24:23 -07:00
Leijurv
f0226f1ea7
brady doesn't know how to do imports 2018-10-28 15:23:34 -07:00
Leijurv
be5df2677b
finally add shulkers lol 2018-10-28 13:55:03 -07:00
Brady
3d4a856bb2
Remove unnecessary casts 2018-10-27 23:21:30 -05:00
Leijurv
1b1233d26a
only one singleton 2018-10-27 18:45:17 -07:00
Leijurv
c4b0e0a810
codady submission complete 2018-10-27 16:18:03 -07:00
Leijurv
1dee8ef355
completely submitting to codacy 2018-10-27 14:41:25 -07:00
Brady
4e1491a0cc
Rename xrayFor to searchWorld 2018-10-26 13:30:16 -05:00
leijurv
55091154c4
start on legitMine 2018-10-25 21:22:00 -07:00
leijurv
a0b1cb2993
preliminary refactoring 2018-10-25 20:09:06 -07:00
Leijurv
a0bf22de86
Merge pull request #233 from ave4224/toolkit
Toolkit fixes
2018-10-22 21:43:42 -07:00
ave4224
9a1aecc002
tool set, fixes #227 2018-10-23 00:41:59 -04:00
Brady
ad941fcbb2
Clarify anti nudge 2018-10-22 18:02:18 -05:00
Leijurv
e5ca30dc26
forgot that one 2018-10-22 14:04:19 -07:00
Leijurv
82417f4f85
comment to explain weird thing 2018-10-22 12:42:08 -07:00
Leijurv
25bebdc172
leftClickCounter shadow appears to be unneeded 2018-10-20 20:33:49 -07:00
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