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
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
Leijurv
e9308d7e70
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-23 12:54:23 -07:00
Leijurv
d0fc77ede4
special block location caching and automatic mining
2018-08-23 12:54:12 -07:00
Brady
8dd064838b
Utilize streams when finding most recent waypoint of a given tag
2018-08-23 14:52:35 -05:00
Leijurv
36cbffb593
reset, fixes #84
2018-08-23 11:14:37 -07:00
Leijurv
a7abfef329
whoops wrong order
2018-08-23 09:56:57 -07:00
Leijurv
3ce764a472
waypoint convenience methods
2018-08-23 09:54:29 -07:00
Leijurv
bde507cac6
clear blocks in the way, probably fixes #82
2018-08-23 09:41:17 -07:00
Leijurv
f9189d7ec3
comment
2018-08-23 09:07:43 -07:00
Leijurv
5baa56bb29
add option for pythagorean metric
2018-08-23 08:52:05 -07:00
Brady
2d7b465844
Added an anti-cheat compatibility setting, to tie in with free look
2018-08-22 22:07:27 -05:00
Brady
dbb5d56b74
Fix MixinGuiGameOver init Injection parameters
2018-08-22 21:45:45 -05:00
Brady
6a5bdf9023
Cache the block break time in ToolSet, fixes #80
2018-08-22 21:33:56 -05:00
Brady
9dcadc979e
Add death waypoints when the player dies, fixes #75
2018-08-22 21:26:45 -05:00
Brady
5760d0fb8d
Fix MixinMinecraft#onBlockBreak local capture
2018-08-22 21:05:52 -05:00
Brady
060eeb9737
Add automatic bed waypoints on interact, fixes #79
2018-08-22 21:04:37 -05:00
Leijurv
fcb947bedc
bed
2018-08-22 17:56:08 -07:00
Leijurv
4bf1c79830
home and sethome, fixes #54
2018-08-22 17:49:55 -07:00
Leijurv
dab70926e2
waypoints
2018-08-22 16:56:51 -07:00
Leijurv
7996cfe0a5
waypoints rough start
2018-08-22 15:35:32 -07:00
Leijurv
1251b515fa
baritone dir
2018-08-22 14:59:54 -07:00
Leijurv
d9a00ce164
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-22 14:54:23 -07:00
Leijurv
cd9ad69d28
another duplicate from an earlier refactor
2018-08-22 14:51:48 -07:00
Leijurv
6e7f7bfa7f
merge
2018-08-22 14:51:38 -07:00
Leijurv
a2f539353b
cherry pick refactor
2018-08-22 14:50:54 -07:00
Leijurv
c7387662f5
removed print
2018-08-22 14:47:34 -07:00
Leijurv
e730f3a84d
use top block in pathing, and reliability improvements
2018-08-22 14:47:26 -07:00
Leijurv
38aad9d92c
rework chunk caching
2018-08-22 14:46:49 -07:00
Howard Stark
56975c0e0f
Add beginning of surface block caching
2018-08-22 14:46:35 -07:00
Brady
e4e0fdd6d0
Change REGION_MAX to 58594, fixes #73
2018-08-22 16:46:24 -05:00
Leijurv
45f69a0f33
fix illegalaccessexception in mc player reference
2018-08-22 12:28:35 -07:00
Brady
a407fa66a2
Fix placing blocks when in a gui screen and pathing
2018-08-21 21:07:57 -05:00
Leijurv
9f12a0ab6f
max fall height even with bucket, fixes #57
2018-08-21 17:16:00 -07:00
Leijurv
4c0d581d7f
crucial performance optimization
2018-08-21 16:56:49 -07:00
Leijurv
d4a6618b55
lol that was dumb
2018-08-21 16:50:24 -07:00
Brady
71abf0c27e
Fix MovementFall from forcing rotations when unnecessary
2018-08-21 18:24:38 -05:00
Leijurv
c0eb94b318
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-21 16:20:09 -07:00
Leijurv
86f45202d0
ignore y coordinate for distance, fixes #62
2018-08-21 16:20:08 -07:00
Brady
c96b9cb6af
Added free look option
2018-08-21 18:19:20 -05:00
Brady
843bc17777
Add forceRotations field to MovementState
...
Preparation for silent moving
2018-08-21 17:52:09 -05:00
Leijurv
5271b7d5c1
merge
2018-08-21 15:24:07 -07:00
Leijurv
eb34c1fc24
unneeded slowdown
2018-08-21 15:20:33 -07:00
Leijurv
14dddfb1de
chunk packing linkedblockingqueue
2018-08-21 15:18:35 -07:00
Brady
194dd7abe7
Automatically disable auto-jump while pathing is active, fixes #31
2018-08-21 17:06:34 -05:00
Brady
a9cac7718e
Fix inputs overrides not resetting when out of world, fixes #43
2018-08-21 16:36:51 -05:00
Leijurv
40dd2e33f6
fixed setting name
2018-08-21 13:39:28 -07:00
Leijurv
530f87ad14
full integrity check
2018-08-21 13:18:58 -07:00
Leijurv
7d6d34c5aa
idiocy
2018-08-21 13:17:44 -07:00
Leijurv
05cc63f4ff
comment
2018-08-21 13:10:00 -07:00
Leijurv
7623b8b386
reworked saving
2018-08-21 13:06:36 -07:00
Leijurv
5bc8adc777
debug
2018-08-21 12:22:45 -07:00
Leijurv
800078a75c
only gzip changed regions
2018-08-21 12:18:54 -07:00
Leijurv
a64e07685b
lazy chunk loading
2018-08-21 11:55:33 -07:00
leijurv
8ee65f1212
add setting to disable unruly vines
2018-08-20 20:41:45 -07:00
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
86f1f472f5
more benching
2018-08-14 11:22:13 -07:00
Leijurv
7fa04f3423
add bench test
2018-08-14 11:04:34 -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
Leijurv
24496d1de7
fixed crucial bug that prevented you from falling all the way to bedrock
2018-08-08 15:55:18 -07:00
Leijurv
6148166f71
optim
2018-08-08 15:55:04 -07:00
Howard Stark
9f803bc185
Fix target rotation logic
2018-08-08 15:54:20 -07:00
Leijurv
3023a5b4f6
lol
2018-08-08 15:53:28 -07:00
Leijurv
cbdb4fb5ea
fix bucket pathfind issue
2018-08-08 15:41:58 -07:00
Leijurv
c6998198a2
efficiency
2018-08-08 15:38:17 -07:00
Leijurv
38afa1b63c
helper for 0.5 center
2018-08-08 15:31:41 -07:00
Leijurv
b1462d5649
even if holding a bucket, landing in water means done
2018-08-08 15:27:14 -07:00
Howard Stark
04571426fe
Pick up water from bucket during fall
2018-08-08 14:44:16 -07:00
Howard Stark
f4e4b23054
Change water bucket item stack name
2018-08-08 14:22:13 -07:00
Brady
8de0d0ccd3
Replace water bucket stack creation with a constant value
2018-08-08 16:19:47 -05:00
Howard Stark
18431d78e3
Refactor moveTowards to be more stateful
2018-08-08 12:51:04 -07:00
Howard Stark
174f84da73
Prevent damaging falls in the Nether
2018-08-08 12:33:44 -07:00
Brady
db01331560
Remove arbitrary old Minebot hooks
2018-08-08 03:37:29 -05:00
Brady
ebde6f26e9
Created MemoryBehavior
...
Includes basic memory of inventories that have been interacted with.
2018-08-08 03:35:29 -05:00
Brady
6a13e2da64
Fix my inability to replace template members
2018-08-07 23:15:22 -05:00
Brady
27f7b5a3cc
Add GNU General Public License v3
2018-08-07 22:16:53 -05:00
Brady
27d686674e
Clean up connected position code
2018-08-07 22:03:41 -05:00
Brady
3f7b552577
Cached Chunk Path Finding
2018-08-07 19:41:13 -05:00
Brady
b5ddd17131
Clean up angle calculation
2018-08-07 19:36:51 -05:00
Brady
adb6904d53
Replace ToolSet parameter in cost calculation with CalculationContext
2018-08-07 16:36:32 -05:00
Brady
fc082f42e7
General cleanups to the movement system.
2018-08-07 16:14:36 -05:00
Leijurv
732ab5273c
maybe fix
2018-08-07 08:13:51 -07:00
Leijurv
a2b867bf39
reduced drowning
2018-08-07 08:09:27 -07:00
Leijurv
6dd43372f1
when a movement ends, clear all inputs, not just the ones it set on
2018-08-07 08:05:18 -07:00
Leijurv
f9a819b6a5
fix random traverse sprinting
2018-08-07 08:01:26 -07:00
Leijurv
1210db5d37
fixed diagonal movement destination
2018-08-07 08:01:17 -07:00
Leijurv
8516eab043
MovementDiagonal
2018-08-07 07:52:49 -07:00
Leijurv
42749f2325
add thisway
2018-08-07 07:47:37 -07:00
Leijurv
b5a6112bde
fixed fall detection
2018-08-07 07:39:55 -07:00
Howard Stark
b7eaf881a0
Clean falling movement generation
2018-08-07 06:41:45 -07:00
Howard Stark
e30405c0ca
Simplify fall logic and move methods
2018-08-07 06:16:38 -07:00
Brady
8b63a3adad
Fixed cached chunks not loading from file properly
2018-08-07 01:11:49 -05:00
Brady
f047dd08b0
Fix bad block lookups with cached chunks
2018-08-07 00:48:02 -05:00
Leijurv
5cdacb4939
continuous pathfinding and clearing
2018-08-06 21:07:15 -07:00
Leijurv
6e0df6e9fd
ladder descend works
2018-08-06 20:54:58 -07:00
Leijurv
d0708992d4
must use 0.5 instead of bounding box center for descending ladders
2018-08-06 20:52:19 -07:00
Leijurv
9e8154dd5e
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-06 19:52:41 -07:00
Leijurv
703c3b766b
water drop works
2018-08-06 19:48:09 -07:00
Brady
3f81453622
Added packet send and receive listeners
2018-08-06 21:41:17 -05:00
Leijurv
beb56dca5b
merge
2018-08-06 19:31:10 -07:00
Leijurv
1d0c71d2b8
descend lookback is pretty much fixed
2018-08-06 19:30:12 -07:00
Brady
67f5d22280
Change isFlowing parameter to BlockPos for 1.13 changes
2018-08-06 20:25:46 -05:00
Brady
e4492b654d
Fix a couple instances of redundant IBlockState parameters
2018-08-06 20:18:16 -05:00
Brady
70dfb40e5f
Create constant for throwaway items
2018-08-06 19:50:39 -05:00
Brady
1beff941d2
Add fallback item constant to ToolSet
2018-08-06 19:43:20 -05:00
Howard Stark
24cbb5e149
Fix location of method
2018-08-06 17:34:49 -07:00
Brady
5b3eb5a375
Add rotation method to respect relative angles
2018-08-06 19:16:33 -05:00
Howard Stark
207947f7dd
Working MovementFall
2018-08-06 17:10:28 -07:00
Leijurv
a806eaaca7
disable sprinting for now
2018-08-06 17:01:28 -07:00
Leijurv
8eaa64148b
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-06 16:58:10 -07:00
Leijurv
c6bee3addb
even more mega smooth
2018-08-06 16:58:06 -07:00
Brady
1332dd573e
Fix onPlayerUpdate not being called
2018-08-06 18:56:57 -05:00
Leijurv
d8a99f8459
replaced
2018-08-06 16:12:41 -07:00
Leijurv
34bedb58c7
merge
2018-08-06 16:10:05 -07:00
Leijurv
2cbf8fff9b
render improvements
2018-08-06 16:09:28 -07:00
Howard Stark
d357a48710
Add cost-only MovementFall
2018-08-06 16:07:54 -07:00
Howard Stark
6ecc928039
MovementDescend update properly sets status
2018-08-06 16:07:24 -07:00
Howard Stark
5e665554ea
Relocate MovementHelper and Movement utility methods
2018-08-06 16:06:18 -07:00
Leijurv
4caf6a8265
traverse block placing and rendering
2018-08-06 15:53:35 -07:00
Howard Stark
1a33d9462d
Fix unneeded method call on BlockStateInterface internals
2018-08-06 15:52:12 -07:00
Howard Stark
0fd11f80f5
Rename Movements
2018-08-06 15:23:08 -07:00
Howard Stark
1397b137ae
Explode MovementHelper methods into more fitting places
2018-08-06 14:32:54 -07:00
Leijurv
ee4ed0cc65
MovementFall
2018-08-06 14:04:55 -07:00
Leijurv
4fa64059af
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-06 13:51:13 -07:00
Leijurv
233f1d9e3e
if already looking at the block, no need to change rotation
2018-08-06 13:50:38 -07:00
Howard Stark
a4ccfe50a7
Add TickEvent typecheck
2018-08-06 13:07:30 -07:00
Howard Stark
f320c6710a
Fix instant crash on mainmenu
2018-08-06 15:54:06 -04:00
Leijurv
3eef5e2972
undo
2018-08-06 11:48:30 -07:00
Leijurv
25663c54e7
more binary heap performance optims
2018-08-06 08:54:13 -07:00
Leijurv
dff3e1efe5
sanity checks in pathfinder
2018-08-06 08:42:26 -07:00
Leijurv
d884c2dea8
comment
2018-08-06 08:34:08 -07:00
Leijurv
0f37e214aa
MovementDescend
2018-08-06 08:27:50 -07:00
Leijurv
16e31fee88
numNodes debug output
2018-08-06 07:14:20 -07:00
Leijurv
95086bdcb4
slowpath option
2018-08-06 07:01:25 -07:00
Brady
5964ac60b4
Restrict LookBehavior constructor
2018-08-06 03:28:57 -05:00
Brady
e27724aca5
findPath doesn't throw an exception
2018-08-06 03:23:40 -05:00
Brady
e41a04a0d3
Fix BufferBuilder locals that were incorrectly named
2018-08-06 02:48:42 -05:00
Brady
e8149f166f
Utilize Optional return types where mostly applicable
2018-08-06 02:21:47 -05:00
Brady
091c19ca72
Fix possible NullPointerExceptions caused by last commit
...
Silly Brady forgot how Optional works!
2018-08-05 23:45:50 -05:00
Brady
23db615695
Clean up Optional bad practices
2018-08-05 23:42:17 -05:00
Brady
aa635360a2
Fixed gay comment 16x16 regions = bad
2018-08-05 21:13:59 -05:00
Leijurv
0a8fb574b5
don't jump on air anymore
2018-08-05 22:09:29 -04:00
Howard Stark
b96ee346f9
Fix failed path cancellation
2018-08-05 22:08:23 -04:00
Howard Stark
586024b57e
Fix improper indice check on blocks to break
2018-08-05 22:07:13 -04:00
Leijurv
3b88cd319f
fix
2018-08-05 22:05:26 -04:00
Leijurv
cfc222a5db
fixed
2018-08-05 22:04:14 -04:00
Leijurv
3b1ceea211
whoops
2018-08-05 22:02:56 -04:00
Leijurv
603b33277c
player, not center of player feet
2018-08-05 22:00:37 -04:00
Howard Stark
a35a6409ab
Invert check on Movement passability checkC
2018-08-05 21:57:53 -04:00
Howard Stark
2f06857858
Pathing is functioning
2018-08-05 21:52:55 -04:00
Leijurv
5b96e6cd57
target rotation for traverse and ascend
2018-08-05 21:25:25 -04:00
Howard Stark
785e5377e6
Clean up Movement input behavior
2018-08-05 21:17:54 -04:00
Leijurv
988124e444
almost works
2018-08-05 21:17:04 -04:00
Howard Stark
fedbe724ef
Update status when movement is prepared
2018-08-05 21:00:36 -04:00
Howard Stark
e9fedef203
Switch from Float Tuple to Rotation
2018-08-05 20:54:30 -04:00
Howard Stark
3c6415d486
Fix target creation of Movement superclass
2018-08-05 20:50:59 -04:00
Leijurv
84aeca710e
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-05 20:48:26 -04:00
Leijurv
67b9532f99
🅱️ erge
2018-08-05 20:48:02 -04:00
Howard Stark
34dd0f985f
Change visibility on LookBehaviorUtils intenal methods
2018-08-05 20:42:46 -04:00
Howard Stark
c1d61a63ae
Finish Behavior simple implementation
2018-08-05 20:37:42 -04:00
Leijurv
bda2ef8269
ascend cost
2018-08-05 20:27:45 -04:00
Leijurv
2edc7327ab
IDIOTT
2018-08-05 20:08:41 -04:00
Leijurv
6dddb2e895
merge
2018-08-05 20:07:24 -04:00
Brady
9e9ad16686
Fix another typo
2018-08-05 19:00:45 -05:00
Brady
cc0cd7b270
Fix onTick signature in PathingBehavior
2018-08-05 18:57:50 -05:00
Brady
8ef9f9db70
Minor clean ups in PathingBehavior
2018-08-05 18:57:22 -05:00
Howard Stark
379d358408
Add EventTick w/ state guarantees
2018-08-05 19:50:51 -04:00
Brady
89189c532e
Make Helper#world return WorldClient instead of World
2018-08-05 18:41:57 -05:00
Brady
19e5784af9
Fix typo lol
2018-08-05 18:40:10 -05:00
Howard Stark
956e212e39
Change LookBehavior target initialization location
2018-08-05 19:26:31 -04:00
Howard Stark
68874751da
Remove misleading LookBehaviorUtil method
2018-08-05 19:23:51 -04:00
Leijurv
3201766617
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-05 19:21:48 -04:00
Howard Stark
7a21ef423a
Add untested LookBehavior and related utils
2018-08-05 19:20:48 -04:00
Leijurv
98f94f0a81
slowpath rendering
2018-08-05 18:53:11 -04:00
Leijurv
e7c27e04ac
rudimentary path rendering
2018-08-05 18:38:11 -04:00
Leijurv
3dea7eb4f3
insanity check
2018-08-05 18:38:01 -04:00
Leijurv
4cbf20922c
pathing frame listener
2018-08-05 17:48:10 -04:00
Leijurv
c1306ab8bf
bugfix
2018-08-05 17:20:55 -04:00
Leijurv
10212601c8
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-05 17:16:49 -04:00
Leijurv
f252e20dfe
peephole optimization
2018-08-05 17:16:16 -04:00
Brady
cb09af571a
Create object for render event containing partial ticks
2018-08-05 14:42:46 -05:00
Leijurv
d74660f7e5
optimized
2018-08-05 12:03:36 -04:00
Leijurv
a858882f02
performance optim
2018-08-05 11:50:23 -04:00
Leijurv
8ee641f310
fix a* implementation by adding decrease-key operation to heap implementations
2018-08-05 11:37:14 -04:00
Leijurv
3072142513
don't read empty chunks
2018-08-05 10:06:20 -04:00
Leijurv
54c79a3330
not everyone uses windoze with backslash path separators
2018-08-05 09:32:09 -04:00
Leijurv
2769f93f71
streams
2018-08-05 09:30:42 -04:00
Leijurv
6b0bc568de
privatized
2018-08-05 09:24:40 -04:00
Brady
cc29bd16e7
Clean up mixin configuration
2018-08-05 00:25:58 -05:00
Brady
34ead03432
Call the player update event
2018-08-05 00:25:08 -05:00
Brady
89a9923185
Repackage the Pathing behavior to impl
2018-08-05 00:15:18 -05:00
Brady
12aeab4943
Fix conflicting files
2018-08-04 23:44:42 -05:00
Brady
10c847074a
Initial Chunk Caching Commit
...
The actual code to run is commented out in GameEventHandler, uncomment for testing.
2018-08-04 23:42:58 -05:00
Leijurv
4fc74a85c1
some glue
2018-08-04 23:28:32 -04:00
Leijurv
b1ced3fe84
refactor
2018-08-04 23:25:14 -04:00
Leijurv
72c69eb962
openset refactor
2018-08-04 23:19:32 -04:00
Howard Stark
5a573f52bf
Remove implementation of IMovement
2018-08-04 23:01:38 -04:00
Howard Stark
4608086656
Add player update injection
2018-08-04 22:58:32 -04:00
Howard Stark
9bda792a3e
Add render pass game event
2018-08-04 21:55:38 -04:00
Howard Stark
89a64a375e
Add EntityRenderer renderWorldPass injection
2018-08-04 21:27:34 -04:00
Leijurv
d3a2238493
better falling costs
2018-08-04 18:28:36 -04:00
Howard Stark
84d9a9bf35
Update reference to proper state variable
2018-08-04 18:21:09 -04:00
Howard Stark
1bc2e6fe7a
Fix enough to compile
2018-08-04 18:18:32 -04:00
Leijurv
d061f759b5
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-04 15:54:00 -04:00
Leijurv
fd5fc0f7f7
path execution
2018-08-04 15:53:50 -04:00
Howard Stark
d36b254ccc
Small changes
2018-08-04 15:39:03 -04:00
Leijurv
13f9e169f0
lambdas are hard
2018-08-04 15:31:52 -04:00
Leijurv
e2030eeba9
try with resources
2018-08-04 13:34:50 -04:00
Brady
d6b3d57560
Create GZIP compression util class
2018-08-03 22:48:47 -07:00
Leijurv
9dc1f2abab
helpers and optimizations
2018-08-03 22:14:50 -04:00
Brady
8250338210
Remove cached chunk development code
2018-08-03 13:32:54 -07:00
Brady
3d0d73a5ca
Refactored IOpenSet implementations
2018-08-03 13:31:33 -07:00
Leijurv
9afcdedf81
javadocs
2018-08-03 12:52:25 -04:00
Leijurv
d382de2b52
moving away from linked list, so remove nextOpen from PathNode
2018-08-03 12:50:09 -04:00
Leijurv
cd2b5d001e
friendship ended with linked list. now binary heap is my best friend.
2018-08-03 11:54:29 -04:00
Leijurv
b6d40785a1
path finding
2018-08-03 09:55:17 -04:00
Brady
ed6a65891a
Register unregistered Mixin
2018-08-03 01:46:49 -07:00
Brady
b8817f2929
Fix ChunkEvent Y->Z and add POPULATE Type
2018-08-03 01:03:36 -07:00
Brady
35a60d5ed7
Pathing code cleanups, javadoc updates, etc.
2018-08-03 00:51:10 -07:00
Leijurv
33ab4af3a3
comments
2018-08-03 01:14:33 -04:00
Leijurv
9bd94fc8d2
move in more helpers
2018-08-03 01:06:49 -04:00
Brady
b3410ab5d0
Add ending double quote in google doc url
2018-08-02 22:06:06 -07:00
Brady
82ea42ee4c
Create a see tag for google doc in javadocs
2018-08-02 21:55:53 -07:00
Leijurv
df36227fe4
started on path finder porting
2018-08-03 00:50:45 -04:00
Leijurv
d3c6e1bac1
arraylist not linkedlist
2018-08-03 00:07:01 -04:00
Brady
77f6e1c6c4
General cleanups to path calculation
2018-08-02 20:48:39 -07:00
Howard Stark
5537954180
Make myself not incompetent (Incomplete)
2018-08-02 23:41:16 -04:00
Howard Stark
f6f057c8cb
Refactoring
2018-08-02 23:40:27 -04:00
Leijurv
1f9dadce39
break and place
2018-08-02 23:30:35 -04:00
Leijurv
71d4379316
action to movement
2018-08-02 18:35:36 -04:00
Howard Stark
49cc61d2ca
Updated movement naming
2018-08-02 17:28:35 -04:00
Howard Stark
7eae7a86b5
Remove references to null Helper player
2018-08-02 17:19:49 -04:00
Leijurv
471c170884
implement getSrc and getDest
2018-08-02 14:12:56 -04:00
Leijurv
e051ac12b5
unmodifiableList in Path return
2018-08-02 14:06:58 -04:00
Leijurv
47c7413215
sanity check
2018-08-02 14:05:47 -04:00
Leijurv
13d9ba2f87
updated comment
2018-08-02 14:04:20 -04:00
Brady
e7fcd32440
Fix another block constant check
2018-08-02 10:57:11 -07:00
Brady
1bfabdf66b
Fix possible NPE warning
2018-08-02 10:56:26 -07:00
Brady
9ce1b9250f
Fix the isFlowing check
2018-08-02 10:55:43 -07:00
Leijurv
5cd8a958e1
I was overthinking that.
2018-08-02 13:54:36 -04:00
Leijurv
0f74141d23
toolset introduction
2018-08-02 13:49:31 -04:00
Leijurv
ee5d382693
action world helper and replacement with actions
2018-08-02 13:25:46 -04:00
Leijurv
38e358b077
path
2018-08-02 11:07:10 -04:00
Howard Stark
36d3ab9e1d
Make Action more robust
2018-08-02 10:59:51 -04:00
Leijurv
c86ee0f1bc
calc refactor
2018-08-02 10:51:42 -04:00
Leijurv
b29b66a19c
more pathing
2018-08-02 10:48:22 -04:00
Leijurv
8c8ce9cd5e
path stuff
2018-08-02 10:01:34 -04:00
Leijurv
a60b398b0c
getOrDefault instead of custom hashmap
2018-08-02 09:23:56 -04:00
Leijurv
bf569f6f66
am i verified now
2018-08-02 09:04:03 -04:00
Howard Stark
927c7f21b6
Create better example action
2018-08-02 04:22:09 -04:00
Howard Stark
f0488b24dd
Add features to Action scaffolding
2018-08-02 04:15:51 -04:00
Howard Stark
cb238ec130
Add default-value HashMap
2018-08-02 04:04:44 -04:00
Brady
b6b67fdd71
Create ChunkEvent
2018-08-02 00:45:15 -07:00
Brady
e0fe323039
Clean up goal check in GoalComposite
...
We're not going to check if the player has reached their goal literally hundreds of thousands of times consecutively so using a stream will not heavily impact performance.
2018-08-02 00:31:55 -07:00
Brady
f0c45260c6
Some general cleanups
2018-08-02 00:18:18 -07:00
Howard Stark
854e67b9a8
Call default constructor in ActionAscend
2018-08-02 03:15:42 -04:00
Howard Stark
cda55b8ac7
Better define Action scope and functionality
2018-08-02 03:14:06 -04:00
Brady
3f1137b5a6
Remove all of the gross license header notices
2018-08-01 21:52:59 -07:00
Brady
2e19023357
Clean up some goal constructors
2018-08-01 21:50:48 -07:00
Brady
ef938304f0
Remove unnecessary usage of Reflections
2018-08-01 21:48:33 -07:00
Brady
ae59f0606d
Fix uninitialized beahvior list
2018-08-01 21:41:36 -07:00
Brady
774b906d19
Change ActionCosts to be an interface
2018-08-01 21:27:11 -07:00
Leijurv
f5c2c40c79
add back GoalBlock toString
2018-08-02 00:25:06 -04:00
Brady
3ddc5ad115
Fix all old code refs in Goal classes
2018-08-01 21:22:40 -07:00
Leijurv
46f76df2af
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-02 00:19:18 -04:00
Leijurv
af84ebcea5
hurts my eyes
2018-08-02 00:19:13 -04:00
Howard Stark
07a4e9221c
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-02 00:08:09 -04:00
Howard Stark
2ee6802414
Begin movement/action rewrite
2018-08-02 00:07:55 -04:00
Leijurv
8445b29ee1
IPath
2018-08-02 00:04:14 -04:00
Leijurv
a5a4fbd6af
WHAT
2018-08-01 23:33:22 -04:00
Leijurv
8837810e63
what
2018-08-01 23:30:12 -04:00
Howard Stark
37be3908c7
Refactor pathfinding => pathing
2018-08-01 23:27:41 -04:00
Howard Stark
e4fa043c8c
Refactor pathfinding => pathing
2018-08-01 23:27:14 -04:00
Howard Stark
a6d5d608e4
Start impl. of new action system
2018-08-01 23:26:43 -04:00
Leijurv
bd9b1e1102
refactor
2018-08-01 23:17:10 -04:00
Leijurv
af5b01ddf3
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-01 23:13:53 -04:00
Leijurv
6956bcac2d
reintroduce goals (with javadocs)
2018-08-01 23:13:48 -04:00
Brady
42fd04e329
Initial Behavior system commit.
...
Still needs some work, just getting this in the repo!
2018-08-01 20:10:19 -07:00
Brady
a36b223aab
Add an onSendChatMessage event
2018-08-01 18:46:51 -07:00
Brady
28c4636857
Moved the old src to main/java/resources
2018-08-01 18:45:56 -07:00
Brady
6a686d11f3
Fix issue with InputOverrideHandler that could cause while loop holdups
2018-08-01 18:25:23 -07:00
Brady
bc7cd2efcc
Fix custom chat commands not cancelling
2018-08-01 17:07:15 -07:00
Leijurv
94017313a4
updated
2018-08-01 15:27:34 -04:00
Leijurv
93856c2832
aoeu
2018-08-01 15:25:59 -04:00
Leijurv
c68367b865
works
2018-08-01 14:44:19 -04:00
Howard Stark
f12215eac9
Add JUMP keybind injection
2018-08-01 14:35:44 -04:00
Leijurv
2f806823a4
hmm
2018-08-01 14:32:21 -04:00
Leijurv
63c2b682ad
yay
2018-08-01 14:29:44 -04:00
Leijurv
d1e42a9bf0
Merge branch 'master' of github.com:cabaletta/baritone
2018-08-01 14:14:14 -04:00
Leijurv
3a6178513b
aoeu
2018-08-01 14:14:06 -04:00
Howard Stark
36bcaa795c
Remove horrifying netbeans compat snippet
2018-08-01 14:08:30 -04:00
Howard Stark
119b1b3aca
Switch to latest mappings
2018-08-01 14:05:35 -04:00
Howard Stark
2c60220e32
Fix config files
2018-08-01 14:05:04 -04:00
Leijurv
7fb426f94d
vec
2018-08-01 13:51:23 -04:00
Leijurv
cc11310cde
ugh
2018-08-01 13:50:15 -04:00
Leijurv
2fdcf8640d
fix
2018-08-01 13:13:02 -04:00
Leijurv
35a7d5d818
first attempt
2018-08-01 13:10:48 -04:00
Leijurv
9201b99853
it builds
2018-08-01 12:48:12 -04:00
Leijurv
f83adb7d81
fixed miner
2018-08-01 12:41:30 -04:00
Leijurv
79b00eea23
fixed movementmanager
2018-08-01 12:38:03 -04:00
Leijurv
be579d03fd
unneeded
2018-08-01 12:37:12 -04:00
Leijurv
ee0e47e0e2
fixed pathrenderer
2018-08-01 12:35:58 -04:00
Leijurv
c59d8bae7c
lookmanager
2018-08-01 12:31:01 -04:00
Leijurv
5d4ea57503
pathfinding.goals and actions are cleared of errors
2018-08-01 12:20:29 -04:00
Leijurv
4cb05a7979
cleanup
2018-08-01 12:06:09 -04:00
Leijurv
32427075c2
better
2018-08-01 11:59:20 -04:00
Leijurv
379055f926
big move
2018-08-01 11:52:58 -04:00