Commit Graph

1477 Commits

Author SHA1 Message Date
Leijurv
bec7f9be96
this lets proguard optimize out one more double division 2019-01-11 13:18:31 -08:00
Leijurv
09e94eaa8e
not anymore 2019-01-11 13:02:03 -08:00
Leijurv
5f29bb3e7f
gotta go fast 2019-01-10 18:55:55 -08:00
Leijurv
1ad6a0d5b5
remove all that crap lol 2019-01-10 18:21:02 -08:00
Brady
f727e71eaf
Expose IPathingControlManager in IBaritone 2019-01-10 19:57:09 -06:00
Leijurv
14f006c3a5
Merge branch 'epic-movement-input' 2019-01-10 17:25:57 -08:00
Leijurv
200211c186
dont continue walking if there is no process in charge 2019-01-10 13:52:52 -08:00
Leijurv
5ca214534d
mouse stuff 2019-01-09 19:11:53 -08:00
Leijurv
85ea21e83b
epic movement input 2019-01-09 18:22:34 -08:00
Leijurv
7d572d748b
shouldnt be needed actually 2019-01-09 15:13:48 -08:00
Leijurv
fbcae10f96
cherry picked fix from builder 2019-01-09 15:13:09 -08:00
Leijurv
a4495ce80a
tweaks 2019-01-08 22:00:33 -08:00
babbaj
ae1e229619 fix garbage code 2019-01-09 05:39:37 -05:00
Leijurv
bc5982b994
fine lol 2019-01-08 20:45:35 -08:00
Leijurv
e971d5d43f
prevent favoring from affecting movement cost thresholds 2019-01-08 14:56:21 -08:00
Leijurv
ee9519d891
tweaks 2019-01-07 08:53:39 -08:00
Leijurv
58bb209158
Merge pull request #305 from babbaj/master
real gamers do it like this
2019-01-07 08:45:26 -08:00
babbaj
23dc97ad5e oops that should have been static 2019-01-07 01:25:39 -05:00
Leijurv
84b580b001
cursed 2019-01-06 22:21:52 -08:00
babbaj
227b303669 value doesnt have to be lowercase 2019-01-07 01:16:52 -05:00
babbaj
712a0a3905 refactor SettingsUtil to be more epic 2019-01-07 01:08:46 -05:00
EvilSourcerer
76427b8ecb real gamers use bufferedreader 2019-01-06 19:10:47 -06:00
Leijurv
8b6d621d20
crucial performance optimization 2019-01-05 23:38:24 -08:00
Leijurv
7898b24bac
mc is weird 2019-01-04 23:37:00 -08:00
Leijurv
39648c5dc6
comment 2019-01-03 23:40:43 -08:00
Leijurv
816727d65b
not happening 2019-01-01 22:32:43 -08:00
Leijurv
0e012adb6c
unneeded 2018-12-31 08:00:43 -10:00
Leijurv
539b0e64c8
bitshift 2: electric boogaloo 2018-12-30 07:36:10 -10:00
Leijurv
258700ee7b
bitshift 2018-12-29 14:50:21 -10:00
Leijurv
1da72ba473
unneeded 2018-12-28 17:17:43 -10:00
Leijurv
c2c69f243e
nothing is trashy in baritone 2018-12-27 16:16:12 -10:00
Brady
dffbb8e4c8
Overload reachable with IPlayerContext parameter 2018-12-27 17:15:32 -06:00
Leijurv
50d37bb311
lol 2018-12-25 20:07:26 -08:00
Leijurv
bbb73008ac
stupid 2018-12-24 18:42:01 -08:00
Brady
c324f11a96
Fix bad block breaking that NCP doesn't agree with 2018-12-24 12:15:23 -06:00
Leijurv
c4eb6be0fe
dumb 2018-12-23 23:09:02 -08:00
Leijurv
64200030d2
brady was too optimistic 2018-12-22 20:38:44 -08:00
Leijurv
4d7e74365b
reformat 2018-12-21 17:54:16 -08:00
Leijurv
b9b25e7e6b
no more stupid wrapper getters 2018-12-20 21:22:18 -08:00
Leijurv
8a4f48f08d
diagonal descend option 2018-12-20 21:06:56 -08:00
Leijurv
ae9ab03e51
walk on water hunger penalty 2018-12-19 22:01:47 -08:00
Leijurv
02478ee887
wtF 2018-12-19 21:30:58 -08:00
Leijurv
57f238de7d
that was a big screwup 2018-12-19 17:02:09 -08:00
Leijurv
77938a77e8
add jump penalty 2018-12-19 14:37:11 -08:00
Leijurv
d41aa5f9ae
epicly fast 2018-12-19 12:59:07 -08:00
Leijurv
0ef3386ebf
appease codacy 2018-12-19 12:48:41 -08:00
Brady
9703de86d3
Fix NullPointerException 2018-12-18 19:36:43 -06:00
Brady
764e8d7daa
Add windowClick to IPlayerController 2018-12-18 19:27:45 -06:00
Brady
18f5c129a4
Remove dependency for PlayerControllerMP implementation 2018-12-18 19:25:23 -06:00
Leijurv
807d6a0cf4
crucial performance optimization 2018-12-18 16:22:54 -08:00
Leijurv
a0ab2a8ba7
timing meme 2018-12-18 16:16:32 -08:00
Leijurv
90d0fb7efb
simplify check 2018-12-17 18:27:31 -08:00
Leijurv
fe4290b218
little fix 2018-12-16 20:14:21 -08:00
Leijurv
cc04342358
epic performance 2018-12-16 16:26:48 -08:00
Leijurv
66da826eab
fix toxic cloud 2018-12-15 22:25:50 -08:00
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