Commit Graph

703 Commits

Author SHA1 Message Date
Leijurv
9e272824c5
traverse should also break the block in the way 2018-09-02 13:34:15 -07:00
Brady
0e6d61e907
Consolidate rayTraceTowards into RayTraceUtils, fixes #121 2018-09-02 14:21:34 -05:00
Brady
115b8553b2
Make Baritone initialization listeners consumers 2018-09-02 14:18:17 -05:00
Leijurv
e8b108fde8
removePrefix 2018-09-02 12:06:00 -07:00
Leijurv
8d62f754a7
crucial performance optimization 2018-09-02 12:04:48 -07:00
Leijurv
5caa0542ba
ascend should clear the replaceable block in the way 2018-09-02 11:48:10 -07:00
Leijurv
f3bd50dc36
disable load boundary cutoff by default, fixes #114 2018-09-02 10:46:54 -07:00
Leijurv
e58c43305c
typo 2018-09-02 10:45:07 -07:00
Leijurv
462ccad885
use initial estimate from calculation phase 2018-09-02 10:43:34 -07:00
Leijurv
3afd836822
only offset down if doing so would put us on solid ground 2018-09-02 09:22:51 -07:00
Leijurv
1f97daf391
clean up the clutter 2018-09-02 07:18:57 -07:00
Leijurv
2e22f1cf54
hopefully make currentlyRunning more resilient 2018-09-01 14:47:46 -07:00
Leijurv
e705f9808b
add force cancel 2018-09-01 14:45:57 -07:00
Leijurv
8d46c36269
you can walk on chests 2018-09-01 13:20:27 -07:00
Leijurv
76cdad2223
properly place on soul sand, fixes #118 2018-09-01 12:47:43 -07:00
Leijurv
c0bc7b5ecd
fix strange issue when exiting and entering the same world 2018-09-01 12:26:55 -07:00
Leijurv
aca487f97e
fix behavior when all have been mined 2018-09-01 12:16:55 -07:00
Leijurv
e354227635
allow goto blocks that end in s 2018-09-01 11:31:42 -07:00
Leijurv
0b892e05cb
goto next to block, not in it, fixes #116 2018-09-01 11:30:02 -07:00
Leijurv
3c25e2b685
fix part of oscillation 2018-09-01 11:19:42 -07:00
Leijurv
791eb886c0
bugfix 2018-08-31 16:50:25 -07:00
Leijurv
24c5c5d238
instant cancel when more than 3 blocks away 2018-08-31 15:21:59 -07:00
Leijurv
c08f0f1e4d
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-31 14:58:28 -07:00
Leijurv
3f688bc45e
spam chat less 2018-08-31 14:58:23 -07:00
Brady
f10e010e20
GoalNear#toString 2018-08-31 16:32:15 -05:00
Leijurv
a93af3404b
cache chunk in BlockStateInterface, fixes #113 2018-08-31 12:58:52 -07:00
leijurv
7cd0b186a9 lava hurts just as much as magma when cutting over 2018-08-31 08:13:16 -07:00
Leijurv
aa3a8338e6
stop sprinting off ledges, fixes #110 2018-08-30 16:43:12 -07:00
Brady
606581b044
Wrap immutable list in normal arraylist to fix errors with adding 2018-08-29 20:35:57 -05:00
Brady
1734caeed8
Minor MovementDiagonal cleanup 2018-08-29 18:59:22 -05:00
Brady
51593a95e4
Add soul sand sprinting cost, @leijurv should implement it im lazy 2018-08-29 18:56:36 -05:00
Brady
532024248f
Actual soul sand walk cost, fixes #7 2018-08-29 18:53:37 -05:00
Brady
336b323697
Replace Math.X functions with MathHelper.X functions, fixes #111 2018-08-29 18:45:16 -05:00
Brady
4b41c6b1d7
Replace anonymous thread creation with runnable constructor 2018-08-29 18:32:16 -05:00
Brady
b073d591fb
Fix non-monotonic elapsed time checks, fixes #108 2018-08-29 18:23:11 -05:00
Leijurv
be303f2e57
crucial performance optimization 2018-08-29 16:13:14 -07:00
Leijurv
95cda79ef1
small open set change 2018-08-29 15:35:41 -07:00
Leijurv
cebdd76ca7
node map performance, fixes #107 2018-08-29 13:51:17 -07:00
Leijurv
0342136edc
fix chunk cache check performance, fixes #106 2018-08-29 12:19:21 -07:00
Leijurv
81b0e14c9a
more debug info 2018-08-29 11:53:37 -07:00
Leijurv
fb04ec6ff4
chunk check optimization 2018-08-29 11:29:26 -07:00
leijurv
8d1570a11b cherry pick 3x faster cache check 2018-08-28 21:16:27 -07:00
leijurv
e553ee93b8 20% improvement to cached chunk check performance 2018-08-28 21:11:10 -07:00
Leijurv
23cbef102d
more debug info 2018-08-28 16:15:24 -07:00
Leijurv
340b1558e4
debug cosmetic improvements 2018-08-28 15:53:29 -07:00
Leijurv
f99abd6170
fix world event post not firing for exit 2018-08-28 15:24:43 -07:00
Leijurv
a3e5714e91
collect canPlaceAgainst into one place 2018-08-28 15:01:24 -07:00
Leijurv
d433cbb90b
no more against array creation 2018-08-28 14:56:21 -07:00
Leijurv
a33b515871
fixed chunk packing bug 2018-08-28 14:15:20 -07:00
Leijurv
324c3a2705
S A N I K 2018-08-28 14:04:51 -07:00
Leijurv
801f942c30
S A N I K 2018-08-28 14:02:57 -07:00
Leijurv
4e531ec578
SANIK 2018-08-28 14:00:40 -07:00
Leijurv
804cad2776
sanik 2018-08-28 14:00:02 -07:00
Leijurv
ff83b42132
fix heightMap bug 2018-08-28 13:58:36 -07:00
Leijurv
557f2e48c3
no movement places more than one thing... 2018-08-28 13:41:44 -07:00
Leijurv
53d477d99a
optimize diagonal 2018-08-28 13:29:32 -07:00
Leijurv
4836f044ba
pillar logic 2018-08-28 13:24:34 -07:00
Leijurv
1dc0f5c3ad
update logic 2018-08-28 12:53:01 -07:00
Leijurv
d4d2fb392a
small optimization 2018-08-28 12:40:35 -07:00
Leijurv
890e5be0ed
assumeWalkOnWater 2018-08-28 12:30:08 -07:00
Leijurv
bf05de1de7
can't use flowing water, so pack it as such 2018-08-28 12:23:54 -07:00
Leijurv
169eb1d0a3
more efficient check 2018-08-28 11:57:41 -07:00
Leijurv
01dbf75eca
MineBehavior 2018-08-28 11:43:28 -07:00
Leijurv
c761a9b127
better chunk saving and loading 2018-08-28 11:28:36 -07:00
Leijurv
c0fb57825c
cancel calculation in progress 2018-08-28 11:17:11 -07:00
Leijurv
df73e07923
Add comment, fixes #102 2018-08-28 10:04:25 -07:00
leijurv
09a146e0ce Merge branch 'master' of github.com:cabaletta/baritone 2018-08-28 08:56:06 -07:00
leijurv
46fefa9298 simplification support for more goal types 2018-08-28 08:55:56 -07:00
Leijurv
850beb6c08
really cancel 2018-08-28 07:29:41 -07:00
leijurv
c404258b00 Merge branch 'master' of github.com:cabaletta/baritone 2018-08-27 19:15:16 -07:00
leijurv
27a3adeceb FollowBehavior 2018-08-27 19:05:21 -07:00
Brady
65bfe466bb
Clean up retrieving tags by string 2018-08-27 20:06:48 -05:00
leijurv
af3bc18079 add GoalNear 2018-08-27 18:00:11 -07:00
Brady
43b7aece74
Move events to api package 2018-08-27 19:37:21 -05:00
Brady
423087cc12
Add a way to hook into Baritone's post-init stage 2018-08-27 17:45:43 -05:00
Brady
8f8bedb1b0
If we're going to have a getter we might as well use it 2018-08-27 14:35:30 -05:00
Brady
92e0b842be
Double frown? Let's be more positive! 2018-08-27 13:51:22 -05:00
Brady
3bf4b997b0
Rename getByValueType to getAllValuesByType 2018-08-27 13:39:36 -05:00
Leijurv
3bb1c1a972
unneeded 2018-08-26 13:51:50 -07:00
Leijurv
5abadc6fe5
address cost calculation of blockfalling stacks 2018-08-26 13:48:08 -07:00
Leijurv
74916dd24e
consistency between byte and short read methods 2018-08-26 13:09:20 -07:00
Leijurv
f052c91cda
map 0 to 65536 2018-08-26 12:54:01 -07:00
Brady
68c2537d20
Leijurv doesn't know how unsigned works in java 2018-08-26 12:09:23 -05:00
Leijurv
6408e678ff
fix short int conversion 2018-08-26 08:51:56 -07:00
Leijurv
45631fa12a
brady pls 2018-08-26 08:50:30 -07:00
Leijurv
9a24e6a1a3
fixed overzealous cost check 2018-08-26 08:49:56 -07:00
Leijurv
5f6a5ea403
extend MovementFall breakability one more, fixes #97 2018-08-26 08:31:03 -07:00
Leijurv
e8c644fc63
haha 2018-08-26 08:22:34 -07:00
Leijurv
6dd501a46b
add cost verification lookahead 2018-08-26 08:19:14 -07:00
Leijurv
50fd63647b
sprint through descend, fixes #29 and #38 2018-08-26 08:12:57 -07:00
Brady
91c4d8292d
Cleaned up 7 duplicate switch statements 2018-08-26 02:53:50 -05:00
Brady
5c7ffe6ed1
Removed irrelevant TODO 2018-08-26 02:25:13 -05:00
Brady
8de7963c74
Allow opening of fence gates that are blocking movement, fixes #46 2018-08-26 02:17:52 -05:00
Brady
f1fcacf241
Fix refmap not generating with the proper name 2018-08-26 01:45:33 -05:00
Brady
5ec99977fa
Fix water bucket falling, fixes #91 2018-08-26 00:09:44 -05:00
Brady
1801551d3b
A less atrocious approach to fixing 95 2018-08-25 23:12:43 -05:00
Brady
7d863ebfed
Intercept toStringHelper to fix BlockPos obfuscated name, fixes #95 2018-08-25 23:03:36 -05:00
Leijurv
d655745d1a
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-25 17:09:43 -07:00
Leijurv
f834bcec08
add BlockFalling check for MovementFall, fixes #94 2018-08-25 17:09:35 -07:00
Brady
72c2a58ef2
Replace ArrayList type fields with List 2018-08-25 18:35:41 -05:00
Brady
32a0f4eaac
All around minor cleanups to movement classes 2018-08-25 18:30:23 -05:00
Leijurv
85cf5322f9
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-25 15:40:33 -07:00
Leijurv
879d72d715
don't sprint if allowSprint is false 2018-08-25 15:34:19 -07:00
Brady
c6ca584847
Clean up isDoorPassable 2018-08-25 17:24:10 -05:00
Leijurv
199d69d79c
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-25 15:09:54 -07:00
Leijurv
fdf11f9d76
invert goal to run away 2018-08-25 15:09:47 -07:00
Brady
871dc98acc
Change SOLID pathing types based on dimension, fixes #88 2018-08-25 14:22:39 -05:00
Leijurv
342bb8616c
fix passable and replacable checks for snow in cached chunks, fixes #87 2018-08-25 08:44:33 -07:00
Leijurv
db6453fae0
accuracy 2018-08-25 07:07:09 -07:00
Brady
21c1fc09e7
Added newlines after every declaration in PathEvent enum 2018-08-25 02:10:31 -05:00
Brady
8ff89e7400
Block break simulation instead of input override for breaking, fixes #74 2018-08-25 01:38:53 -05:00
Brady
d14d0e131b
Better comment explaining new folder depth check 2018-08-25 00:24:19 -05:00
Leijurv
c51a65488a
lol what 2018-08-24 14:24:09 -07:00
Brady
cbec60472b
Replace anonymous thread in PathingBehavior with lambda body 2018-08-24 13:54:01 -05:00
leijurv
5b60d01c11 peace and quiet 2018-08-24 08:42:54 -07:00
leijurv
37d4e7b178 fixed prefix logic 2018-08-23 20:12:36 -07:00
leijurv
6631f9c80f reformat 2018-08-23 20:04:23 -07:00
leijurv
bf37d50d6f fix mixin json file name 2018-08-23 19:58:11 -07:00
leijurv
a18ff092d8 finally fixed MovementAscend 2018-08-23 19:57:49 -07:00
Brady
830c90dd97
Use relative path to main game dir as comparison, fixes #86 2018-08-23 21:26:28 -05:00
Brady
71ce9cd901
Make the prefix optional 2018-08-23 21:01:35 -05:00
Brady
93de55318f
Force # command prefix 2018-08-23 20:57:32 -05:00
Brady
c8de4a4e00
Fix coloring across multiple lines 2018-08-23 20:43:37 -05:00
Brady
6ce0f40451
Waypoint magic 2018-08-23 20:16:40 -05:00
Brady
c3009b46a8
End of file magic values are bad change my mind 2018-08-23 20:09:40 -05:00
Brady
e778a79a7b
Loading an mp4? nah. Saving one? yep. 2018-08-23 19:44:30 -05:00
Brady
05ba817052
get owned idiot
https://i.imgur.com/NoMJHXE.png
2018-08-23 19:39:50 -05:00
Brady
00b0266c43
Fix duplicate waypoint issues and bad bed positions 2018-08-23 19:39:04 -05:00
Brady
18a9206058
Fix comparison between incompatible types, fixes #83 2018-08-23 19:27:18 -05:00
Brady
42b7597cd6
Remove printed debug code 2018-08-23 19:19:24 -05:00
Brady
4de52cfec2
Fix duplicate onPlayerDeath call b/c mojang is bad, fixes #85 2018-08-23 19:18:49 -05:00
Brady
85c88e669c
Potentially fix issue in obfuscated environment 2018-08-23 19:05:54 -05:00
Brady
54151b9a30
Fix baritone not using its own refmap 2018-08-23 18:43:24 -05:00
Brady
40545c0c5d
Add player null check to our allowUserInput hook, fixes #81 2018-08-23 18:34:54 -05:00
Leijurv
e85f439c0f
multi threaded 2018-08-23 15:57:29 -07:00
Leijurv
9accdf097f
single threaded 2018-08-23 15:55:25 -07:00
Leijurv
28be7121e3
path event 2018-08-23 15:39:02 -07:00
Leijurv
90316b3359
useless 2018-08-23 15:13:33 -07:00
Brady
c14f0dac8f
Remove MixinMain
Was a misinterpretation of something Leijurv didn't actually add ??
2018-08-23 17:04:00 -05:00
Brady
d17122a777
Fix some mixins which referenced a non-obfuscated method 2018-08-23 17:01:51 -05:00
Leijurv
559bc46702
put it in the right place 2018-08-23 14:40:42 -07:00
Leijurv
b3189721a6
add explanation 2018-08-23 14:37:08 -07:00
Leijurv
9a065f55cc
some more blocks to cache 2018-08-23 14:02:05 -07:00
Leijurv
c4cc0c6cdf
cleanup to cachedregion 2018-08-23 13:47:01 -07:00
Leijurv
cacd2096ec
save regularly 2018-08-23 13:42:45 -07:00
Leijurv
14df84ef0e
chunk caching either way 2018-08-23 13:39:13 -07:00
Leijurv
b56dde8f7e
typo 2018-08-23 13:17:29 -07:00
Leijurv
cf05e75e9a
Merge branch 'master' of github.com:cabaletta/baritone 2018-08-23 13:12:17 -07:00
Leijurv
709822ef47
only search nearby regions 2018-08-23 13:12:13 -07:00
Brady
1889e37493
Replace lambda with method reference 2018-08-23 15:05:37 -05:00