1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

751 commits

Author SHA1 Message Date
mat
fc20cbb727 Update README.md 2022-10-09 14:35:24 -05:00
mat
4fb01b6cda add success function 2022-10-09 00:41:44 -05:00
mat
b95423ed23 make heuristic only take in one arg 2022-10-09 00:27:01 -05:00
mat
e1254c32b6 remove normal d* lite 2022-10-09 00:23:16 -05:00
mat
eb4ea3aecc add a test to mtd* lite 2022-10-08 23:35:40 -05:00
mat
70fcdf0718 implement mtd* lite 2022-10-08 23:30:04 -05:00
mat
803dc6861e fix PartialOrd issues 2022-10-08 13:19:47 -05:00
mat
0a4a2652c6 make W only have to be PartialOrd 2022-10-08 13:04:29 -05:00
mat
d967c447c7 Merge branch 'main' into pathfinding 2022-10-08 12:04:15 -05:00
mat
4a0d5e7e96 handle SectionBlocksUpdate packet 2022-10-08 01:01:54 -05:00
mat
82c04004db change definition of Event::Tick 2022-10-08 00:03:07 -05:00
mat
7c955c794a remove a println 2022-10-07 23:57:31 -05:00
mat
6f6289376a fix errors with rewritten packet reading
i forgot i never tested it before LMAO
2022-10-07 23:56:23 -05:00
mat
e9d8d0357e fix a test 2022-10-07 20:41:05 -05:00
mat
e00d5c421e Merge branch 'main' into pathfinding 2022-10-07 20:13:04 -05:00
mat
bc3aa9467a
Replace impl Read with Cursor<&[u8]> (#26)
* Start getting rid of Cursor

* try to make the tests pass and fail

* make the tests pass

* remove unused uses

* fix clippy warnings

* fix potential OOM exploits

* fix OOM in az-nbt

* fix nbt benchmark

* fix a test

* start replacing it with Cursor<Vec<u8>>

* wip

* fix all the issues

* fix all tests

* fix nbt benchmark

* fix warnings
2022-10-07 20:12:36 -05:00
mat
0b3e34946c Merge branch 'main' into pathfinding 2022-10-07 20:11:18 -05:00
mat
695efef66f remove jumping_once from az-client 2022-10-07 20:09:47 -05:00
mat
8e5978d7a7 Merge branch 'main' into pathfinding 2022-10-07 19:58:55 -05:00
mat
ba4cfaafae
Bot API (#27)
Basically make the `azalea` crate have stuff
2022-10-07 19:57:42 -05:00
mat
61f76281be fix clippy complaints 2022-10-07 19:43:01 -05:00
mat
3694f234b1 replace while loop with if statement 2022-10-07 19:20:14 -05:00
mat
a0859eaa50 make the test actually check the coords 2022-10-07 19:16:55 -05:00
mat
803816a4e5 fix d* lite implementation 2022-10-07 19:13:34 -05:00
mat
cd3465272a why does dstar lite not work 2022-10-07 14:22:06 -05:00
mat
079e0dc50b add NoPathError 2022-10-05 19:19:03 -05:00
mat
5c9fe7989d add next() function 2022-10-05 19:02:39 -05:00
ac4abca9e2 updated edges 2022-10-05 21:08:34 +00:00
00fcf26fca full d* lite impl 2022-10-05 19:59:18 +00:00
mat
6792077a0d work more on implementing d* lite 2022-10-04 22:38:56 -05:00
940ad47eb1 more work on d* lite 2022-10-04 21:08:29 +00:00
mat
4e556c4986 start writing d* lite impl 2022-10-03 23:01:03 -05:00
mat
e0bcab53b8 start adding stuff to azalea crate 2022-10-02 15:02:27 -05:00
mat
06068377bd
New example (#24)
the example isn't finished but it's finished enough
2022-10-02 14:58:42 -05:00
mat
37f9f1c6fe add jumping 2022-10-02 14:52:48 -05:00
mat
c9b4dccd7e
All block shapes & collisions (#22)
* start adding shapes

* add more collision stuff

* DiscreteCubeMerger

* more mergers

* start adding BitSetDiscreteVoxelShape::join

* i love rust 😃 😃 😃

* r

* IT COMPILES????

* fix warning

* fix error

* fix more clippy issues

* add box_shape

* more shape stuff

* make DiscreteVoxelShape an enum

* Update shape.rs

* also make VoxelShape an enum

* implement BitSet::clear

* add more missing things

* it compiles

W

* start block shape codegen

* optimize shape codegen

* make az-block/blocks.rs look better (broken)

* almost new block macro

* make the codegen not generate 'type'

* try to fix

* work more on the blocks macro

* wait it compiles

* fix clippy issues

* shapes codegen works

* well it's almost working

* simplify some shape codegen

* enum type names are correct

* W it compiles

* cargo check no longer warns

* fix some clippy issues

* start making it so the shape impl is on BlockStates

* insane code

* new impl compiles

* fix wrong find_bits + TESTS PASS!

* add a test for slab collision

* fix clippy issues

* ok rust

* fix error that happens when on stairs

* add test for top slabs

* start adding join_is_not_empty

* add more to join_is_not_empty

* top slabs still don't work!!

* x..=0 doesn't work in rust 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃

* remove comment since i added more useful names

* remove some printlns

* fix walls in some configurations erroring

* fix some warnings

* change comment to \`\`\`ignore instead of \`\`\`no_run

* players are .6 wide not .8

* fix clippy's complaints

* i missed one clippy warning
2022-10-02 12:29:47 -05:00
ce0ab8b79c make azalea-pathfinder dir 2022-09-29 20:10:50 +00:00
mat
aa78491ee0
yeah let's be honest they're not very useable 2022-09-23 22:11:23 -05:00
mat
e63f605c82 add shutdown function 2022-09-19 23:05:05 -05:00
mat
a87c4cf718 Merge branch 'main' of https://github.com/mat-1/azalea 2022-09-19 21:44:15 -05:00
mat
788e9e875a fix rotations 2022-09-19 21:44:13 -05:00
mat
e46577a214
Fix connection writer being locked (#23)
* Split connection struct in az-protocol

* az-client uses split conns

* fix errors

* add a convenience write_packet fn to az-client
2022-09-19 21:21:46 -05:00
mat
528c1a07e3 change example 2022-09-19 20:38:08 -05:00
14a6f9d9f8 replace printlns with log 2022-09-19 19:53:16 +00:00
mat
4247945df1 start work on optimizing block macros 2022-09-18 23:13:45 -05:00
mat
79cf19f93e modify warning in readme 2022-09-18 17:04:02 -05:00
f7e761dfd3 re-enable nbt benches 2022-09-14 18:33:51 +00:00
mat
58f8e95fe8 no unused variable 2022-09-11 13:04:26 -05:00
mat
679223f3de only check leftover data in debug mode 2022-09-11 13:03:53 -05:00
mat
0b3ec4ee3b fix panic in azalea-chat 2022-09-11 09:47:54 -05:00