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
Leijurv
8f146d1a2b
increase degree of backtrack cost favoring
2018-10-01 15:35:18 -07:00
Leijurv
1cc03e3aca
it doesn't actually have to be falling, it just has to be solid
2018-10-01 15:20:52 -07:00
Leijurv
023822b5d9
stop breaking block on cancel, even if not requested by player
2018-10-01 15:11:52 -07:00
Leijurv
41ffd4455d
don't cancel for any reason while doing a water bucket fall, fixes #98 , fixes #123
2018-10-01 14:50:20 -07:00
Leijurv
810b92fbad
Merge pull request #193 from cabaletta/service-loader
...
Service loader
2018-10-01 14:37:15 -07:00
Leijurv
6db31cbe74
now that that's fixed, we can tighten the maximum time again
2018-10-01 14:37:01 -07:00
Leijurv
b55a102d37
take depth strider into acocunt for water speed, fixes #101
2018-10-01 14:26:55 -07:00
Leijurv
f338cdd2e5
clear all keys including sprint in the next movement, fixes #194
2018-10-01 14:26:08 -07:00
Leijurv
76365a4564
sprint on soul sand, fixes #120
2018-10-01 10:05:04 -07:00
Leijurv
109cffc3de
rearrange blockstate lookups
2018-10-01 09:57:47 -07:00
Leijurv
c67339dc42
Merge branch 'master' into service-loader
2018-10-01 09:53:03 -07:00
Leijurv
f56766be26
maybe it just needs more time
2018-10-01 09:51:43 -07:00
Leijurv
b1e1cc43e0
simplify properly even when obfuscated
2018-09-30 21:43:07 -07:00
Leijurv
13aaec07cd
draw most recent node considered even if there is no valid best
2018-09-30 21:42:34 -07:00
Leijurv
08b9eab9f3
draw most recent node considered even if there is no valid best
2018-09-30 21:32:13 -07:00
Leijurv
09ac3c615c
more time maybe
2018-09-30 09:14:23 -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
bcb95c55c9
allow a bit more time, it's a little flaky on travis right now
2018-09-29 07:43:34 -07:00
Leijurv
c383186808
sprint through descend then ascend in the same direction, fixes #115
2018-09-28 18:55:04 -07:00
Leijurv
2f602f8718
no stop dont
2018-09-27 16:11:55 -07: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
1b2304146b
reorganized diagonal
2018-09-26 17:25:18 -07:00
Leijurv
f28cdc531f
this will really help performance a lot
2018-09-26 15:34:06 -07:00
Leijurv
2aa4770b45
add settings for pathing hashmap
2018-09-26 15:01:14 -07:00
Brady
1d931a4bb6
lol epic
2018-09-26 16:21:53 -05:00
Leijurv
9094c712d6
only optimize game settings if we are going to be auto testing
2018-09-26 13:46:08 -07:00
Leijurv
40a3177ae7
no need to get that twice
2018-09-26 13:05:36 -07:00
Leijurv
ab0d713882
THX 0x22
2018-09-25 22:18:19 -07:00
Leijurv
19661cc99c
it takes more time to go a longer distance what a wild concept
2018-09-25 22:07:51 -07:00
Leijurv
d58656571a
thx 0x22
2018-09-25 21:58:22 -07:00
Leijurv
4900c76752
merge
2018-09-25 21:57:00 -07:00
Brady
d899ff7f7b
2 iq
2018-09-25 23:24:48 -05:00
Brady
36651553fe
Increase max ticks accordingly
...
See last commit
2018-09-25 23:17:15 -05:00
Brady
d9596fcac9
Travis may actually take 10 seconds to load in
2018-09-25 23:16:20 -05:00
Leijurv
aa7b77b413
can't pause on lost focus in xvfb
2018-09-25 18:57:50 -07:00
Brady
b3f06c6fac
Allow pause on lost focus
2018-09-25 20:54:33 -05:00
Brady
3483be4bed
Sync framerate limit with tps in auto test
2018-09-25 20:43:49 -05:00
Brady
d7a0d26fd2
Optimize game settings for better travis performance
2018-09-25 20:31:54 -05:00
Leijurv
9abc34ca4c
less unneeded output
2018-09-25 13:55:03 -07:00
Leijurv
f561ff84fa
a more interesting route
2018-09-25 13:45:29 -07:00
Leijurv
00658dcaba
allow a little more time
2018-09-25 11:56:48 -07:00
Leijurv
eb78a1f49b
tweak starting and ending positions for less water
2018-09-25 11:37:45 -07:00
Leijurv
b056f18444
Merge branch 'master' into travis-test
2018-09-25 11:32:49 -07:00
Leijurv
a3f42e2292
fix pillar up in water without throwaway
2018-09-25 11:32:40 -07:00
Leijurv
ce55cc56c1
BaritoneAutoTest
2018-09-25 11:19:25 -07:00
Brady
c94ac6e26c
Better Rotation
2018-09-25 09:40:22 -05:00
Brady
bb5b1a7a91
Rename ActionCosts...Test
...
that one
2018-09-25 09:08:29 -05:00
Leijurv
61cf103df4
fix pathing
2018-09-24 18:56:57 -07:00
Brady
80a734141c
Fix compiler error
2018-09-24 20:45:16 -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
Leijurv
1b74c8c8be
Update BlockBreakHelper.java
2018-09-24 18:16:13 -07:00
Leijurv
8c397d1454
t e s t
2018-09-24 17:19:59 -07:00
Brady
b9cba93d33
Jurv's absolutely autistic practices made me have to do this shit
2018-09-24 19:19:07 -05:00
Leijurv
34e5811613
and a couple more
2018-09-24 17:15:22 -07:00
Brady
ce39183482
Add more fast methods to BetterBlockPos
2018-09-24 19:03:19 -05:00
Brady
529f8dae47
Remove ignored hashCode call
2018-09-24 18:58:08 -05:00
Brady
b575f54977
Revert BlockStateInterface changes because jurv wurv sad
2018-09-24 18:55:57 -05:00
Brady
6ec6ff4596
Clean all imports
2018-09-24 18:51:10 -05:00
Brady
30b63abb73
Replace creation of new Helper instances in Utils
2018-09-24 18:50:29 -05:00
Brady
2a8575caa8
Begin to create interfaces in api for cached World and Region
2018-09-24 18:45:41 -05:00
Leijurv
6829bc920e
demolish goto, fixes #182
2018-09-24 16:21:14 -07:00
Leijurv
8ee7446517
save by coordinate, fixes #175
2018-09-24 16:16:04 -07:00
Brady
559f575db5
Add javadocs to RayTraceUtils
2018-09-24 18:09:10 -05:00
Leijurv
750da2f1a6
stop breaking on cancel, hopefully fixes #127
2018-09-24 16:05:09 -07:00
Brady
7d27509e63
Don't forget
2018-09-24 18:01:26 -05:00
Leijurv
76f287582e
overhaul betterblockpostest
2018-09-24 15:58:08 -07:00
Brady
239a95961e
Replace for loop with forEach
2018-09-24 17:56:27 -05:00
Leijurv
3e189510d4
bits test
2018-09-24 15:50:09 -07:00
Leijurv
cef4fb0f50
convert blocks to strings and back less
2018-09-24 15:45:12 -07:00
Leijurv
da3f5251b5
refactor
2018-09-24 15:37:05 -07:00
Brady
fc591eafd3
We must preserve it
2018-09-24 17:32:12 -05:00
Leijurv
5087e65c61
what
2018-09-24 15:27:37 -07:00
Leijurv
65672b5564
gotta go fast lol
2018-09-24 13:14:36 -07:00
Leijurv
758e9c511a
tiny optimization
2018-09-24 13:13:24 -07:00
Brady
812c23e1ca
Fix compiler error and revert addAll meme
2018-09-24 14:48:01 -05:00
Leijurv
9e27a59d7f
cache on load check
2018-09-24 12:44:41 -07: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
Leijurv
0ed6bc966e
standardize on moveresult
2018-09-24 10:55:35 -07:00
Leijurv
ba7e9a56e3
remove intermediate object
2018-09-24 10:50:40 -07: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
Leijurv
5650c86a7d
update goal in new thread
2018-09-24 10:17:01 -07:00
Leijurv
4ec9a4fc5b
really cancel, fixes #178
2018-09-24 09:57:20 -07:00
Brady
7b0f14a0e5
Configurable colors for path rendering
2018-09-23 21:47:19 -05:00
Brady
c3a21b928e
When PathingBehavior is disabled, clear all of the key override states
2018-09-23 21:35:56 -05:00
Leijurv
89ad673ae3
convenience methods
2018-09-23 18:44:54 -07:00
Leijurv
fa7a0b3c45
readd costs
2018-09-23 18:00:54 -07: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
Leijurv
182c1e6ff5
refactor
2018-09-23 14:23:23 -07:00
Brady
6770985b3a
Ew TUPLE
2018-09-23 15:26:57 -05:00
Leijurv
943794726a
wtf intellij
2018-09-23 12:24:56 -07:00
Leijurv
59b4e1a993
parkour
2018-09-23 12:24:07 -07:00
Leijurv
5ca5fdf777
misc fixes
2018-09-23 11:37:39 -07:00
Leijurv
53590a96b9
you are no longer being poisoned by a toxic cloud
2018-09-23 11:17:31 -07:00
Leijurv
1a6b7d184a
cache chunk load check through block state interface
2018-09-23 10:20:19 -07:00
Leijurv
c623250387
no reason to do that actually
2018-09-23 10:13:09 -07:00
Leijurv
289637a370
what is testing :S
2018-09-23 09:42:20 -07:00
Leijurv
b20f148fa6
might as well
2018-09-23 08:58:45 -07:00
Leijurv
cc01c88dbd
begone betterblockpos
2018-09-23 08:54:26 -07:00
Leijurv
23c11a5170
finish moving away from betterblockpos in path calculation
2018-09-23 08:52:03 -07:00
Leijurv
7fa6e001e6
don't cause exception on main thread if a movement becomes impossible
2018-09-23 08:13:21 -07:00
Leijurv
65a59cb739
add bench link
2018-09-23 08:05:59 -07:00
Leijurv
0d0eefec9c
s a n i k
2018-09-22 22:00:28 -07:00
Leijurv
1b576eca28
MovementDescend
2018-09-22 19:58:03 -07:00
Leijurv
2d3cdddc51
why do i even do this
2018-09-22 19:48:33 -07:00
Leijurv
eaa44c90f3
MovementAscend
2018-09-22 19:46:10 -07:00
Leijurv
e33564f1eb
MovementPillar
2018-09-22 19:13:59 -07:00
Leijurv
7888dd24e5
comments
2018-09-22 11:23:26 -07:00
Leijurv
f07c02ff41
Merge branch 'master' into noblockpos
2018-09-22 09:35:33 -07:00
Leijurv
c64785f0ce
don't let a NaN slip through
2018-09-22 09:34:42 -07:00
Leijurv
d471bfa948
fewer blockpos
2018-09-22 09:28:59 -07:00
Leijurv
c508fb2cb7
optimized checks
2018-09-22 09:17:28 -07:00
Leijurv
15fa12fe08
end of an era. stop randomizing movements
2018-09-22 09:04:10 -07:00
Leijurv
e16bc5eca4
more better block pos
2018-09-22 08:56:49 -07:00
Leijurv
8b307f296a
fix very rare null pointer exception
2018-09-21 22:14:18 -07:00
Leijurv
9661ab3b42
more info on cancelOnGoalInvalidation
2018-09-21 09:30:37 -07:00
Leijurv
ae59e94a6c
lmao wtf
2018-09-21 08:49:49 -07:00
Leijurv
21568f593a
fix goal offset logic
2018-09-20 21:27:25 -07:00
Leijurv
2cac115211
fix scan logic
2018-09-20 14:09:13 -07:00
Leijurv
4513a537db
fix logic in minebehavior
2018-09-20 14:08:56 -07:00
Leijurv
e3434115ac
logger
2018-09-20 13:29:26 -07:00
Brady
ddf7b3739a
Fix compiler error
2018-09-20 14:29:37 -05:00
Brady
1c2e47c39a
Add maxSearchRadius parameter to WorldScanner
2018-09-20 14:14:59 -05:00
Brady
0575e2d667
Fix size parameter not being properly recognized by WorldScanner
2018-09-20 13:52:29 -05:00
Brady
37f00f3e14
Made foundWithinY in WorldScanner an "option"
2018-09-20 12:21:23 -05:00
Brady
d0fd370d53
Fix issue with WorldScanner where no chunks match exact dist squared
2018-09-20 11:35:36 -05:00
Leijurv
28a8e7ea63
home should path, not just set goal
2018-09-19 20:30:17 -07:00
Leijurv
2e63ac41d9
possibly fix oscillation problem with a large goal composite
2018-09-19 19:34:05 -07:00
Leijurv
1790534421
allow swimming up a water column, fixes #174 , fixes #129
2018-09-19 17:16:42 -07:00
Leijurv
2375f1a408
better encapsulation of currentlyRunning
2018-09-19 14:39:57 -07:00
Leijurv
ef55d86913
fix follow offset while at large x and z coordinates
2018-09-18 20:59:48 -07:00
Leijurv
28ebf065ee
5x harder to break while sneaking
2018-09-18 13:14:22 -07:00
Leijurv
b47b813462
deal with fence gate properly, fixes #172
2018-09-18 12:23:03 -07:00
Leijurv
f13bcbd49f
no more flowing water
2018-09-17 20:25:52 -07:00
Brady
63a1083e19
Let's talk about doors
2018-09-17 17:46:23 -05:00
Brady
6b61a00bed
Change License to GNU Lesser General Public License v3
2018-09-17 17:11:40 -05:00
Leijurv
71952410eb
mine quantity
2018-09-17 14:22:45 -07:00
Leijurv
e981bfa346
follow player by name
2018-09-17 10:56:37 -07:00
Leijurv
043dd80e28
higher priority
2018-09-17 10:38:37 -07:00
Leijurv
b3654492be
follow offset distance and direction
2018-09-17 10:36:47 -07:00
Brady
583a5046ef
Utilize the fact that all MovementState methods return "this"
2018-09-17 12:17:58 -05:00
Leijurv
f36b11016e
codacy badge
2018-09-16 20:19:41 -07:00
Leijurv
a589cb0d9e
rearranged constructors
2018-09-16 20:16:05 -07:00
Leijurv
74dc8d4118
unneeded
2018-09-16 19:58:44 -07:00
Leijurv
0b640199ef
add defaults to more switches
2018-09-16 19:56:33 -07:00
Leijurv
3011b85aee
add defaults to switches
2018-09-16 19:50:14 -07:00
Leijurv
f25f264fd3
epicer default
2018-09-16 19:43:48 -07: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
Brady
b4ddd98bcb
cUrLy BrAcKeT
2018-09-16 21:24:13 -05:00
Brady
aa2caf63d3
Clean up PathingBehavior#findPath
2018-09-16 21:18:39 -05:00
Brady
bc82276e62
Why null check when you can default null
2018-09-16 20:14:51 -05:00
Leijurv
b7cc707737
misc cleanup 4
2018-09-16 17:58:35 -07:00
Leijurv
543c0d0a33
dont modify arguments
2018-09-16 17:51:39 -07:00
Leijurv
af58304b38
misc cleanup 3
2018-09-16 17:49:19 -07:00
Leijurv
e75d0ff102
huh thats neat
2018-09-16 17:25:14 -07:00
Leijurv
dbd1fb2aa2
misc cleanup 2
2018-09-16 17:15:33 -07:00
Leijurv
fb7d729b11
misc cleanup
2018-09-16 17:11:04 -07:00
Leijurv
51f1cadbb8
now unused
2018-09-16 16:50:56 -07:00
Leijurv
7fd0d2d038
clean up toLowerCase
2018-09-16 16:45:56 -07:00
Brady
a92465a5f9
Exceedingly beautiful
2018-09-16 16:46:41 -05:00
Leijurv
8dac838fe0
thread pool executor
2018-09-16 14:23:15 -07:00
Brady
23779329a9
Expose registerEventListener in Baritone class
2018-09-16 15:59:52 -05:00
Leijurv
3f15451e88
command to rescan and repack all loaded chunks
2018-09-16 13:43:54 -07:00
Brady
0ce68ee21f
Replace some issue references with proper javadocs where applicable
2018-09-16 15:28:52 -05:00
Leijurv
30fc72a34c
scan loaded if not cached
2018-09-16 13:28:16 -07:00
Brady
5492dc59e2
Replace Setting<Number> usages with their actual number types
2018-09-16 15:05:05 -05:00
Leijurv
9937739518
force internal mining
2018-09-16 13:00:44 -07:00
Leijurv
eca41a046a
more accurate name
2018-09-15 19:35:35 -07:00
Leijurv
e54ea6c571
pathingbehavior must emit canceled event for mining to recalc
2018-09-15 15:22:34 -07:00
Leijurv
43cf2062bc
locations cache
2018-09-15 12:56:35 -07:00
Leijurv
27b9324cf1
add goal axis and fix movement fall path detection
2018-09-15 12:51:37 -07:00
Leijurv
a978ddec08
mineGoalUpdateInterval and cancelOnGoalInvalidation
2018-09-15 10:34:02 -07:00
Leijurv
b5a512963d
don't get stuck on ascend, fixes #171
2018-09-15 10:04:48 -07:00
Leijurv
67c5a9caa0
fix failure to break on fall
2018-09-15 09:29:03 -07:00
Leijurv
20ecab7d53
fix breaking movementfall last block with assumeWalkOnWater
2018-09-15 08:31:46 -07:00
Leijurv
0b30e822c2
fix flowing water detection for assumeWalkOnWater
2018-09-15 08:00:24 -07:00
Leijurv
19b47d77e5
can still fall into water if assumeWalkOnWater is true
2018-09-15 07:51:46 -07:00
Leijurv
9b375e1f5f
fix path not derendering once finished
2018-09-15 07:42:03 -07:00
Leijurv
1745ce6a62
fix wrong y coordinate on path beginning
2018-09-15 07:38:53 -07:00
Leijurv
5513d0669f
helps with nether fortresses
2018-09-15 07:04:22 -07:00
Leijurv
12b64ead5c
a much needed path executor overhaul
2018-09-14 18:29:35 -07:00
Leijurv
13cfb8e369
walkWhileBreaking, fixes #147
2018-09-14 16:45:51 -07:00
Leijurv
29391af5ad
solidarity
2018-09-14 15:57:46 -07:00
Leijurv
7d94cb259f
world scanner do 1 chunk only if blocks at same y have been found
2018-09-14 12:24:53 -07:00
Leijurv
001070d406
more robust path destination verification
2018-09-14 09:21:59 -07:00
Leijurv
a38da64c49
make the left click workaround optional
2018-09-14 09:05:29 -07:00
Leijurv
d7a646789e
fixes to parkour place
2018-09-14 08:40:34 -07:00
Leijurv
6b45b84784
special request from plutie#9079
2018-09-13 18:40:50 -07:00
Leijurv
853cbf3554
add waypoint user
2018-09-13 18:00:08 -07:00
Leijurv
7d0914bd43
don't crash on thisway typo lol
2018-09-13 16:40:55 -07:00
Leijurv
e3830643f6
only fail on movement cost increase if calced through cached, fixes #165
2018-09-13 16:18:26 -07:00
Leijurv
924cea342b
user defined not home
2018-09-13 15:41:00 -07:00
Leijurv
33a0a2a7f9
derp
2018-09-13 15:40:11 -07:00
Brady
13628789c8
We should only care about real client-sided packet flow
...
Prior to this commit, IntegratedServer packets would be picked up by PacketEvent
2018-09-13 15:10:29 -05:00
Brady
380f21bb38
Remove pythagoreanMetric setting
2018-09-13 14:48:23 -05:00
Leijurv
530bdfae0f
add save command
2018-09-13 09:15:50 -07:00
Brady
4c5c35069d
Remove keycode state forcing
...
It was a feature that was in the source of MineBot, but was actually never used.
2018-09-13 09:44:51 -05:00
Leijurv
315c1bf63c
help i cannot math into number
2018-09-12 16:40:27 -07:00
Leijurv
796be3da79
can't break nether roof, fixes #164
2018-09-12 16:29:10 -07:00
Brady
ef396829f0
Collapse impl package for default behaviors
2018-09-12 17:58:33 -05:00
Brady
0a0209d2e1
Move Behavior to api
2018-09-12 17:53:29 -05:00
Brady
fb8ee44447
Remove hacky "softCancel" thing
2018-09-12 17:25:01 -05:00
Brady
2fd888b9ee
Replace String lists containing block names with actual block lists
...
It just makes sense like wtf
2018-09-12 17:12:06 -05:00
Leijurv
a7504caa67
Merge branch 'skynet'
2018-09-12 10:13:39 -07:00
Leijurv
39a3c1cd4a
oh my god
2018-09-12 07:55:40 -07:00
Leijurv
7f983c92f4
assumeSafeWalk
2018-09-11 20:50:29 -07:00
Leijurv
e82f6b8e35
assumeStep
2018-09-11 20:24:27 -07:00
Leijurv
5669204b4a
skynet
2018-09-11 20:09:53 -07:00
Leijurv
3afc77bc9a
fix infinite recalc when jumping over flowing water
2018-09-11 19:39:47 -07:00
Leijurv
0412298555
don't try to place against water, actually fixes #155
2018-09-11 19:05:45 -07:00
Leijurv
9334cf1dd4
stop walking into liquids, fixes #155
2018-09-11 18:33:03 -07:00
Leijurv
acd9cecd66
improve path safety
2018-09-11 18:26:10 -07:00
Leijurv
1bf34d42e2
added maxCostIncrease, fixes #154
2018-09-11 15:51:29 -07:00
Brady
e6c574063e
Prevent flying capabilities when pathing, fixes #130
2018-09-11 17:37:26 -05:00
Leijurv
ff2714b15f
refactor logging, fixes #153
2018-09-11 13:45:43 -07:00
Leijurv
bafc938424
possibly fix parkour cost calculation issue
2018-09-11 13:15:13 -07:00
Leijurv
ab1037bcfd
blockstateinterface reorg
2018-09-11 11:57:16 -07:00
Leijurv
35ed0f6821
refactor chunk to cache
2018-09-11 10:28:03 -07:00
Brady
a0a480e2cc
Move api package in main to api sourceset
2018-09-11 12:05:12 -05:00
Leijurv
9daf46e30c
typos
2018-09-11 06:37:08 -07:00
Brady
a67e6fd163
Create and use injection point on pre/post jump, fixes #146
...
Also removed ItemSlotEvent because @leijurv is retarded
2018-09-10 17:18:01 -05:00
Leijurv
d8790e1dc6
misc cleanup
2018-09-10 14:48:18 -07:00
Leijurv
72eec135d0
misc improvements
2018-09-10 09:22:32 -07:00
Leijurv
075ad3f244
almost forgot crucial performance numbers
2018-09-09 15:38:59 -07:00
Brady
ecbb34366f
Hyperlink the benchmark spreadsheet for BetterBlockPos
2018-09-09 17:37:12 -05:00
Leijurv
8fa0d63ae5
add link to benchmark
2018-09-09 15:33:53 -07:00
Leijurv
d8ca6cad4e
i am an idiot 2: electric boogaloo
2018-09-09 13:19:48 -07:00
Leijurv
d29a37664c
clarify error messages
2018-09-09 13:09:56 -07:00
Leijurv
4221c07d1f
i don't know how i keep getting worldscanner wrong lol
2018-09-09 13:04:41 -07:00
Leijurv
6801d00d7e
enable 1-skipback
2018-09-09 11:06:02 -07:00
Leijurv
7b712fe677
add synchronization, fixes #145
2018-09-09 11:00:57 -07:00
Leijurv
4a13b54e50
brady was right and I was wrong
2018-09-09 10:27:47 -07:00
Leijurv
ef4de2b159
oh look and another bug
2018-09-09 09:55:59 -07:00
Leijurv
44ece7c510
prevent double lookup
2018-09-09 09:54:09 -07:00
Leijurv
07b0e2cdbf
block state interface cache region too
2018-09-09 09:50:19 -07:00
Leijurv
760f68cb05
instead of casting to BetterBlockPos at runtime, let the compiler verify that
2018-09-09 09:22:35 -07:00
Leijurv
dce51d856b
more specific return type
2018-09-09 08:58:36 -07:00
Leijurv
a8ef421757
epic performance
2018-09-09 08:57:20 -07:00
Leijurv
b69acadca6
start of blockstateinterface overhaul
2018-09-09 08:53:15 -07:00
Leijurv
387e27e8de
movementhelper overhaul
2018-09-09 08:11:33 -07:00
Leijurv
02ebc1947b
actually disable by default
2018-09-09 07:18:03 -07:00
Leijurv
b31930ebd2
merge
2018-09-09 07:16:46 -07:00
Leijurv
489b9dea98
fix world scanner radius
2018-09-09 07:15:48 -07:00
Leijurv
b45a2c94ea
direct invocation
2018-09-08 20:45:40 -07:00
Leijurv
fadb17f364
that was dumb
2018-09-08 14:16:54 -07:00
Leijurv
9577967da1
final
2018-09-08 08:15:10 -07:00
Leijurv
132e277388
{ }
2018-09-07 21:32:25 -07:00
Leijurv
5ffd21dddc
Merge branch 'master' into parkour
2018-09-07 20:45:10 -07:00
Leijurv
9052781889
smaller cuter boxes for goaltwoblocks
2018-09-07 20:45:00 -07:00
Leijurv
3261687ee0
render more goals, fixes #25
2018-09-07 20:44:50 -07:00
Leijurv
6ad9451798
smaller cuter boxes for goaltwoblocks
2018-09-07 20:43:12 -07:00
Leijurv
85babda97e
render more goals, fixes #25
2018-09-07 18:23:32 -07:00
Leijurv
2d969b55ef
fix world scanner radius
2018-09-07 18:23:05 -07:00
Brady
d17cc96e90
Constructor fix
2018-09-07 19:40:15 -05:00
Brady
e5f8b5de5b
Merge branch 'master' into movement-duplicate-switch
2018-09-07 19:36:06 -05:00
Brady
99323463e3
Fix improper treatment of unbreakable blocks
2018-09-07 19:00:36 -05:00
Leijurv
ead6edc574
merge
2018-09-07 13:35:14 -07:00
Leijurv
dcad5fb79e
shouldn't be on master yet
2018-09-07 13:34:34 -07:00
Leijurv
439ff92727
crucial performance optimization
2018-09-07 13:33:51 -07:00
Leijurv
0d515b336f
can get to block at eye level adjacent too
2018-09-07 10:50:49 -07:00
Leijurv
9757422626
also check where we might hit our head
2018-09-06 10:14:41 -07:00
Leijurv
b746e56631
lol you can't jump with a ceiling above you
2018-09-06 10:13:50 -07:00
Leijurv
915b03a44e
lol
2018-09-06 07:54:12 -07:00
Leijurv
5e063f56a2
merge master
2018-09-06 07:48:52 -07:00
Leijurv
63b04df95d
parkour
2018-09-06 07:48:27 -07:00
Leijurv
008422680d
that should NOT have been there
2018-09-05 21:08:18 -07:00
Leijurv
db3aa5a714
lets allow it, fixes #137
2018-09-05 19:52:06 -07:00
Leijurv
de84a49391
fix tool set once and for all, fixes #136
2018-09-04 17:15:59 -07:00
Brady
bba2458f8e
Separate "launch" into another SourceSet
2018-09-04 18:48:12 -05:00
Leijurv
a45f291d67
vine and ladder fixes
2018-09-04 16:19:23 -07:00
Brady
40e86df080
Remove unnecessary abstract mixin class modifiers
2018-09-04 18:06:28 -05:00
Leijurv
d40418d344
move updateState after calculateCost for consistency with every other movement
2018-09-04 16:04:44 -07:00
Leijurv
81ffbddc94
start with more than one chunk
2018-09-04 16:02:31 -07:00
Leijurv
0c4fd39845
better error message
2018-09-04 15:53:11 -07:00
Leijurv
2bb01fdd20
decrease scan rate
2018-09-04 15:33:38 -07:00
Leijurv
69d8bd56fa
rearranged loop order
2018-09-04 15:23:54 -07:00
Leijurv
e7d41ba4fc
optimize chunk packer with extended block storage
2018-09-04 15:19:16 -07:00
Brady
8c9bb85d4b
Fully separate dependency on launch package from other packages
2018-09-04 17:18:42 -05:00
Leijurv
4f07d655d6
don't scan empty
2018-09-04 15:08:21 -07:00
Leijurv
7cc23bc89b
scan for uninteresting blocks in loaded chunks, fixes #99
2018-09-04 15:03:59 -07:00
Leijurv
0bd3f9f680
fix water fall logic
2018-09-04 13:57:56 -07:00
Leijurv
288e57d275
fix warning
2018-09-04 13:20:49 -07:00
Leijurv
b8ee7f5b96
Merge branch 'slabs-stairs'
2018-09-04 10:07:08 -07:00
Leijurv
3fd1063e3c
cache on block not blockstate
2018-09-04 10:06:48 -07:00
Leijurv
424113f052
don't sprint if hunger is too low
2018-09-04 09:55:56 -07:00
Leijurv
438392840b
possible fix to concurrentmodificationexception on path start
2018-09-04 08:56:34 -07:00
Leijurv
f51bcc8b89
forgot null check
2018-09-04 08:51:58 -07:00
Leijurv
2452a69089
mine many block types at once
2018-09-04 08:50:42 -07:00
Leijurv
c367297136
Merge branch 'master' into slabs-stairs
2018-09-03 20:42:57 -07:00
Leijurv
a2f0a1839a
fix goal get to block
2018-09-03 20:42:28 -07:00
Leijurv
07a9829865
accurate debug
2018-09-03 16:24:43 -07:00
Leijurv
dd1a20a047
final makes things faster
2018-09-03 16:14:14 -07:00
Leijurv
fc0d4c67f2
merge
2018-09-03 12:05:18 -07:00
Leijurv
574fd05376
fix bucket check, fixes #128
2018-09-03 12:03:49 -07:00
Leijurv
21342d6ea5
Merge branch 'master' into slabs-stairs
2018-09-03 11:43:24 -07:00
Leijurv
bfd41f9473
stairs
2018-09-03 11:27:59 -07:00
Leijurv
4b2f98ccfd
consolidate and simplify into MovementHelper.isBottomSlab
2018-09-03 09:50:26 -07:00
Leijurv
7473e34602
check for top or double slab
2018-09-03 09:24:44 -07:00
Leijurv
d328438cf2
no falling onto half slab
2018-09-03 09:21:26 -07:00
Leijurv
16f88aa858
setting
2018-09-03 09:18:30 -07:00
Leijurv
bac07ce100
slabs
2018-09-03 09:15:18 -07:00
Brady
5dbf1014b3
Fix usage of characters that can't be mapped to ascii
2018-09-02 21:28:55 -05:00
Leijurv
f75188b24d
fix cost cache overwrite in path executor
2018-09-02 14:12:33 -07:00
Leijurv
c63ccc3dcb
can walk through should be cached as air, fixes #124
2018-09-02 14:10:27 -07:00
Leijurv
da5460413c
segment based timeout, and slowpath warning
2018-09-02 13:51:38 -07:00
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