Commit Graph

496 Commits

Author SHA1 Message Date
leijurv
25d3fa7676 Merge branch 'master' of github.com:cabaletta/baritone 2018-08-20 20:18:00 -07:00
leijurv
177e15fc09 mine the block anyway, avoid unreachable loop 2018-08-20 20:17:55 -07:00
Brady
4cf5ba0fcc
Added QueryItemSlotForBlock event, fixes #37 2018-08-20 20:41:38 -05:00
Leijurv
7f578bc3bf
properly render temporary path, fixes #59 2018-08-20 16:24:06 -07:00
Leijurv
6f10a007d5
movement timeout ticks setting 2018-08-20 16:23:32 -07:00
Leijurv
d925dddb78
comment 2018-08-20 15:01:34 -07:00
leijurv
77e97b4285 fix descend and fall onto lilypad 2018-08-20 07:33:39 -07:00
leijurv
1024a1df2d walk on lilypads 2018-08-20 07:32:54 -07:00
leijurv
a16301b989 max no bucket fall height setting, fixes #58 2018-08-20 07:11:15 -07:00
Nachiketa Gargi
92ec2a35c6 spawn goal setting, addresses #54 2018-08-19 22:28:47 -07:00
Leijurv
e5128635fc
settings documentation 2018-08-19 19:12:37 -07:00
Leijurv
0e900f2c05
purge old MineBot 2018-08-19 17:28:19 -07:00
Leijurv
519773493e
now redundant 2018-08-19 17:27:52 -07:00
Leijurv
e3f122c371
last second tweaks 2018-08-19 17:27:33 -07:00
Leijurv
1b957dc336
GoalBlock heuristic fix 2018-08-19 14:08:16 -07:00
Leijurv
8db6438d16
path cutoff and setting refactor and control 2018-08-19 13:18:48 -07:00
Leijurv
922671c77d
load boundary cutoff setting 2018-08-19 11:45:50 -07:00
Leijurv
d3bd6ae843
crucial performance optimization 2018-08-19 09:39:52 -07:00
Leijurv
ff108a55e6
performance and testing 2018-08-19 09:37:35 -07:00
Leijurv
494a4a8d18
government mandated curly braces 2018-08-18 12:36:40 -07:00
Leijurv
d60e0ced67
sigh 2018-08-18 12:33:00 -07:00
Leijurv
237ac85b6b
recheck positionsToBreak every tick to prepare, fixes #42 2018-08-18 12:21:39 -07:00
Leijurv
ee8e44d314
don't start a path midair 2018-08-18 12:21:21 -07:00
leijurv
d94e825a79 iron doors, fixes #30 2018-08-17 21:02:41 -07:00
leijurv
0f56af65b1 weird ladder bug, fixes #51 2018-08-17 20:47:34 -07:00
leijurv
f23683fbaa admissible heuristic sigh 2018-08-17 20:46:33 -07:00
leijurv
85dcedc26a i am an idiot 2018-08-17 20:46:18 -07:00
leijurv
47787fc128 it's just not worth it =/ 2018-08-17 19:52:35 -07:00
leijurv
1dcad9ac59 fix goal y level render, fixes #48 2018-08-17 19:30:41 -07:00
Leijurv
88b276f7c9
minimum improvement repropagation 2018-08-17 19:19:25 -07:00
Leijurv
bd40c9709d
control heuristic 2018-08-17 18:18:37 -07:00
Leijurv
fb61b47fb2
see costs to all possible movements from current location 2018-08-17 16:46:02 -07:00
Leijurv
b742704fd0
option to fully disable path backtracking cost favoring 2018-08-17 16:17:14 -07:00
Leijurv
03ec4d39ee
don't walk or fall through webs or end portals 2018-08-17 14:11:58 -07:00
Leijurv
f3d9ada675
movement and goal cleanup, more pure with CalculationContext 2018-08-17 13:18:04 -07:00
Leijurv
94e3b53f09
added comments 2018-08-17 12:29:30 -07:00
Leijurv
e71783105c
misc movement cleanups 2018-08-17 12:24:40 -07:00
Leijurv
c635ba69fd
sprinting capability. fixes #23 2018-08-17 10:52:58 -07:00
Leijurv
4591895e49
clear goal option. fixes #22 2018-08-16 16:51:43 -07:00
Leijurv
e1c6006084
render GoalXZ 2018-08-16 15:34:23 -07:00
Leijurv
82f5c21f4a
whoops that didn't actually compile 2018-08-16 15:14:00 -07:00
Leijurv
e0f2159276
better path splicing 2018-08-16 15:10:23 -07:00
Howard Stark
399fa003dd
Address raytrace bush failure when falling (#15) 2018-08-15 18:39:07 -07:00
Leijurv
01cc521a71
fixed 2018-08-15 18:02:07 -07:00
Leijurv
6860521403
dank goal render 2018-08-15 17:53:42 -07:00
Leijurv
6be7786707
ticks remaining in segment 2018-08-15 17:29:45 -07:00
Leijurv
28fd9581bc
babe 2018-08-15 06:50:43 -07:00
Nachiketa Gargi
d2ad15b79f Merge branch 'master' of github.com:cabaletta/baritone 2018-08-14 23:49:11 -07:00
Nachiketa Gargi
3d4f516938 doors 2018-08-14 23:49:08 -07:00
Leijurv
aef3af50c2
unused cases 2018-08-14 17:37:19 -07:00
Leijurv
ea5914f776
cmt 2018-08-14 15:58:53 -07:00
Leijurv
c780454b78
comment 2018-08-14 15:43:04 -07:00
Leijurv
9aefcebddf
api 2018-08-14 15:32:16 -07:00
Leijurv
92b3ac93d0
check 2018-08-14 15:24:23 -07:00
Leijurv
72f7c564a1
getter 2018-08-14 15:22:52 -07:00
Leijurv
7bc9969d93
throwaways setting 2018-08-14 15:19:35 -07:00
Leijurv
45375c45bb
simplified 2018-08-14 15:16:38 -07:00
Leijurv
bb453a94b9
beautiful settings 2018-08-14 15:04:41 -07:00
Leijurv
c67c9582c4
Thanks IntelliJ for that amazingly helpful performance optimization suggestion 2018-08-14 13:23:57 -07:00
Leijurv
3a68009194
don't allocate for up(0) 2018-08-14 11:25:30 -07:00
Leijurv
2e7f5048dc
this is so sad 2018-08-14 10:50:41 -07:00
Leijurv
60d246ecc9
betterblockpos 2018-08-14 10:47:31 -07:00
Leijurv
46593fc1a4
less indentation 2018-08-14 08:28:35 -07:00
leijurv
1e731b3246 path fading 2018-08-13 21:05:35 -07:00
leijurv
578e08a893 split out into baritone api 2018-08-13 20:57:29 -07:00
leijurv
c9a6a36f67 init before init 2018-08-13 20:37:48 -07:00
leijurv
d399857309 Merge branch 'leijurv-settings' 2018-08-13 20:20:54 -07:00
leijurv
e4d6d6ff64 missed a spot 2018-08-13 20:19:27 -07:00
leijurv
ebee78b035 optim 2018-08-13 20:18:12 -07:00
leijurv
04005b6e59 more settings 2018-08-13 20:17:16 -07:00
leijurv
b97852dd68 vines patch tempfix 2018-08-13 20:09:27 -07:00
Leijurv
f881ba5e59
first attempt at settings 2018-08-13 17:16:22 -07:00
Leijurv
eee43ad5d1
sanik 2018-08-13 17:03:48 -07:00
Leijurv
b15ebef880
refactor 2018-08-13 16:59:59 -07:00
Leijurv
25b0348916
tweaks 2018-08-13 16:56:09 -07:00
Leijurv
bc9f76d1c7
misc fixes to coefficients, descend, and pathexecutor 2018-08-13 16:41:08 -07:00
Leijurv
4ba5d81b5c
maybe fixed descend 2018-08-13 15:44:52 -07:00
Leijurv
4eb46ebe0f
guard 2018-08-13 13:49:05 -07:00
Leijurv
532d4d1f31
sprinting yay 2018-08-13 13:40:50 -07:00
Leijurv
5acb86e390
im idiot 2018-08-13 13:32:10 -07:00
Leijurv
40dfed7e9d
hopefully deal with soul sand properly 2018-08-13 13:18:42 -07:00
Leijurv
dbca100e55
cancel paths on exit 2018-08-13 13:13:42 -07:00
Leijurv
4c653e1d31
cooler messages 2018-08-13 13:00:57 -07:00
Leijurv
7a28b029ce
render next path 2018-08-13 12:57:21 -07:00
Leijurv
58a1f65044
cutoff at edge of loaded chunks 2018-08-13 12:56:08 -07:00
Leijurv
9190e82b20
tweak time limit 2018-08-13 12:42:46 -07:00
Leijurv
85fdc2df34
planning ahead 2018-08-13 12:35:44 -07:00
Leijurv
88c81a9635
we do this 2018-08-13 11:50:49 -07:00
Leijurv
5d46a3d0d9
fixed recalculating movement cost 2018-08-13 11:49:36 -07:00
Leijurv
2e184c1b4c
disallow place ascend when no throwaway is present 2018-08-13 08:38:49 -07:00
Leijurv
945d5ef3f7
add comment 2018-08-13 08:31:59 -07:00
Leijurv
2bf09cc5a3
allow some break and fall 2018-08-13 08:28:43 -07:00
leijurv
a311829605 oh my god i'm literally an idiot 2018-08-13 07:14:11 -07:00
leijurv
e2f8561847 auto tool v1 lol 2018-08-13 07:08:53 -07:00
leijurv
83cc5ec861 soul sand sucks 2018-08-13 07:07:42 -07:00
leijurv
3a228803b6 soul sand fixes 2018-08-13 07:05:28 -07:00
Leijurv
7c175bac67
highlight walkaround blocks better 2018-08-12 08:40:44 -07:00
Leijurv
462ac1b03a
i literally hate magma 2018-08-12 08:24:53 -07:00
Leijurv
df1f6da526
fixed walking through fire 2018-08-12 08:17:23 -07:00
Leijurv
524a32375d
tweaked 2018-08-12 07:58:22 -07:00
Leijurv
b61863661f
todo 2018-08-11 21:36:54 -07:00
Leijurv
f8d1675973
pushing around corners 2018-08-11 21:27:46 -07:00
Leijurv
cf3d3cb48d
i cannot believe that actually fixed it 2018-08-11 20:55:51 -07:00
Leijurv
31113c2702
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-11 20:05:50 -07:00
Leijurv
816253cc87
maybe this will fix it 2018-08-11 20:05:46 -07:00
Brady
3eb28f39cb
Fix integer division in floating point context 2018-08-11 20:49:00 -05:00
Leijurv
6480c8ce73
added movementpillar 2018-08-11 18:45:02 -07:00
Leijurv
b5b7863d9a
this actually fixes breaking blocks 2018-08-11 18:05:55 -07:00
Leijurv
d3ae1d27c8
setting goal to playerFeet is fixed and misc cleanup 2018-08-11 17:13:12 -07:00
Leijurv
ae2d1131a5
oh wait yeah you also have to jump 2018-08-11 17:10:23 -07:00
Leijurv
ebad3de005
it helps to actually walk towards where you're going lol 2018-08-11 17:09:32 -07:00
Leijurv
d1e999dc8f
this fixes soul sand but it does not fix my soul 2018-08-11 17:05:47 -07:00
Leijurv
4afce12785
ascend placable 2018-08-11 17:03:18 -07:00
Leijurv
df8e0d313b
throwaway context 2018-08-11 15:03:14 -07:00
Leijurv
b4d389d432
no water buckets in the nether 2018-08-11 14:44:29 -07:00
Leijurv
48227bae60
so annoying 2018-08-11 13:31:21 -07:00
Leijurv
141c71cb8b
too much talking 2018-08-11 13:09:13 -07:00
Leijurv
6d78b7f083
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-11 13:08:22 -07:00
Leijurv
b829a666d4
sprinting 2018-08-11 13:08:16 -07:00
Brady
273a00753d
Refactor some event related things 2018-08-11 00:03:16 -05:00
Brady
6900fb2ade
Replace some GL 1.1 calls with GlStateManager calls 2018-08-10 23:43:23 -05:00
Brady
2d16157d1b
Create CachedChunk BitSet validity method 2018-08-10 22:25:02 -05:00
Brady
ff929b9260
Add hotbar check for presence of water bucket 2018-08-10 22:24:26 -05:00
Leijurv
3dc544b120
goal parsing 2018-08-10 10:45:18 -07:00
Leijurv
9dd5aa21b1
nudge to level 2018-08-10 10:45:13 -07:00
Brady
22a6a4285f
Use the actual game's code in ToolSet#getStrVsBlock 2018-08-10 00:08:29 -05:00
Brady
326d979c0b
Clean up PathRenderer 2018-08-09 20:25:43 -05:00
Leijurv
e6494cdf53
hell merge 2018-08-09 16:44:41 -07:00
Leijurv
f4f67d77b6
more optim 2018-08-09 16:37:56 -07:00
Leijurv
71c36a7b0b
render optim 2018-08-09 16:37:08 -07:00
Brady
9fd207040e
Fix unnecessary unboxing/reboxing of Floats in Rotation 2018-08-09 18:26:17 -05:00
Brady
4ea4e5fa43
Simplify LookBehaviorUtils's reachableCenter method 2018-08-09 18:24:46 -05:00
Brady
ef3c9999c8
LookBehaviorUtils cleanups 2018-08-09 17:07:35 -05:00
Brady
80ef73c279
Move path rendering methods to new class 2018-08-09 16:48:10 -05:00
Brady
2b6d86dcdd
Move fromAngleAndDirection to GoalXZ 2018-08-09 16:35:42 -05:00
Brady
4d32ba131a
Fix deprecation warning 2018-08-09 16:05:14 -05:00
Leijurv
d3891a8f11
don't render parts of the path you've already finished 2018-08-09 13:08:56 -07:00
Leijurv
28ee485a87
render the same movement many times in a row as just one longer line 2018-08-09 13:03:13 -07:00
Leijurv
a1dc98589c
fixed descend into water 2018-08-09 12:53:34 -07:00
Brady
f55686295c
Remove redundant inheritance of Helper in PathExecutor 2018-08-08 23:13:36 -05:00
Leijurv
a6b5d423d5
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-08 17:04:06 -07:00
Leijurv
ea10c136c8
better output 2018-08-08 17:04:01 -07:00
Brady
f7037bf775
Some general cleanups to goal implementations 2018-08-08 18:55:20 -05:00
Leijurv
1f5874876b
don't pick up the water before landing 2018-08-08 16:07:08 -07:00
Leijurv
64ecbe20bf
select the bucket 2018-08-08 16:02:29 -07:00
Leijurv
879e2135e6
look at same coord as later location check 2018-08-08 16:01:35 -07:00
Leijurv
0bf9567833
it returns so no else needed 2018-08-08 16:00:54 -07:00
Leijurv
c23ed73321
unbraced ifs are a crime 2018-08-08 16:00:04 -07:00
Leijurv
e131734657
todo 2018-08-08 15:59:29 -07:00
Leijurv
0ba018388a
optim 2018-08-08 15:56:13 -07:00