Commit Graph

706 Commits

Author SHA1 Message Date
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 77938a77e8
add jump penalty 2018-12-19 14:37:11 -08: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
Brady 2afdaa1ac9
Add individual chunk scanning to IWorldScanner 2018-12-14 18:50:39 -06: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 a2534a8227
unused imports 2018-12-11 16:00:48 -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 101f7cb7e2
move heuristic up to exactly equal SPRINT_ONE_BLOCK_COST 2018-12-05 10:22:18 -08:00
Brady bfa0861065
Owned? 2018-12-03 20:45:19 -06:00
Brady 5c83ee2648
Fix API javadoc errors and make API only javadoc export 2018-12-03 19:37:54 -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
Brady 147df1ffb2
Probably fixes 265 2018-12-03 16:15:22 -06:00
Leijurv d2413e1677
lol 2018-12-02 19:56:35 -08:00
Leijurv 1a6c0cd4d9
avoid mobs and spawners, fixes #162, fixes #240, fixes #278 2018-12-02 18:27: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 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 2ba0e6ada6
don't create a new bsi hundreds of times a tick maybe? 2018-11-25 22:19:04 -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 7632d667c9 add a secondary failure cutoff 2018-11-23 15:06:09 -06: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 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 1e9786d5b9
add a secondary failure cutoff 2018-11-22 09:39:54 -08:00
Leijurv aed8dae175
hehe 2018-11-21 18:11:58 -08:00
Leijurv 16e3fd9305
IPathingControlManager 2018-11-18 21:41:42 -08:00
Brady ce0e8b4cd1
Clean up some bad Optional practices 2018-11-17 11:18:55 -06:00
Brady 237f1846d3
Remove Baritone casts 2018-11-14 16:30:20 -06: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 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 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 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 bae34e5b80
Initial meme
Still need to fix MovementHelper LUL
2018-11-13 11:50:29 -06:00
Leijurv 7fecd1a5dd
tweak 2018-11-12 14:43:39 -08:00
Leijurv 66769365d0
much better 2018-11-11 17:59:13 -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
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 f2dcdda9b3
revamp follow and fix some bugs in mine 2018-11-09 14:49:25 -08:00
Leijurv 40da7b3734
don't fail silently in the future 2018-11-07 17:18:43 -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 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
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 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
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 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 1dee8ef355
completely submitting to codacy 2018-10-27 14:41:25 -07:00
leijurv 55091154c4
start on legitMine 2018-10-25 21:22:00 -07:00
Brady ad941fcbb2
Clarify anti nudge 2018-10-22 18:02:18 -05:00
Leijurv 11ed8a2f21
rearrange fields and constructors 2018-10-16 20:05:18 -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
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 ff652dbe40
scanLoadedChunks -> scanChunkRadius 2018-10-13 23:15:34 -05: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 089037663e
tweak backtrack cost favoring coefficient 2018-10-10 21:06:31 -07:00
leijurv db21045cfb
renderPathIgnoreDepth 2018-10-10 20:40:15 -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
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
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 8278576227
Rename getCurrentPathSearch to getPathFinder 2018-10-08 21:02:55 -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 0ee14b4b90
Good javadocs
They're not good they're shit I lied to you
2018-10-08 17:12:51 -05:00
Brady 10bb177664
Add renderGoalIgnoreDepth setting 2018-10-08 17:06:41 -05: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 239bb14e3a
add blockBreakAdditionalPenalty 2018-10-03 08:20: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 24be1d0ff3
lookahead a little more 2018-10-02 10:01:54 -07:00
Leijurv 8f146d1a2b
increase degree of backtrack cost favoring 2018-10-01 15:35:18 -07:00
Leijurv 810b92fbad
Merge pull request #193 from cabaletta/service-loader
Service loader
2018-10-01 14:37:15 -07:00
Leijurv 76365a4564
sprint on soul sand, fixes #120 2018-10-01 10:05:04 -07:00
Leijurv d58ad6f68f
finalize 2018-09-30 08:03:33 -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 015462eddb
beg people not to disable chunk caching 2018-09-27 15:37:22 -07:00
Leijurv de6d6c8714
cached chunks expiration setting, fixes #181 2018-09-27 15:19:55 -07:00
Leijurv 2aa4770b45
add settings for pathing hashmap 2018-09-26 15:01:14 -07:00
Brady c94ac6e26c
Better Rotation 2018-09-25 09:40:22 -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
Brady 2a8575caa8
Begin to create interfaces in api for cached World and Region 2018-09-24 18:45:41 -05: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
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
Brady 7b0f14a0e5
Configurable colors for path rendering 2018-09-23 21:47:19 -05: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
Brady 6b61a00bed
Change License to GNU Lesser General Public License v3 2018-09-17 17:11:40 -05: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
Leijurv af58304b38
misc cleanup 3 2018-09-16 17:49:19 -07:00
Leijurv dbd1fb2aa2
misc cleanup 2 2018-09-16 17:15:33 -07:00
Leijurv 12b64ead5c
a much needed path executor overhaul 2018-09-14 18:29:35 -07:00
Leijurv 001070d406
more robust path destination verification 2018-09-14 09:21:59 -07:00
Brady 0a0209d2e1
Move Behavior to api 2018-09-12 17:53:29 -05:00
Brady a0a480e2cc
Move api package in main to api sourceset 2018-09-11 12:05:12 -05:00