Commit Graph

828 Commits

Author SHA1 Message Date
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