Commit graph

224 commits

Author SHA1 Message Date
mat
e47dee388e reduce allocations for collision detection 2024-02-25 22:31:56 -06:00
mat
018ab55bdb optimize physics 2024-02-25 16:53:08 -06:00
mat
be4f13c36c upgrade deps, bevy 0.13 2024-02-17 14:43:42 -06:00
mat
64d48897af update deps 2024-01-25 00:44:20 -06:00
mat
fd1c99e74a upgrade deps 2024-01-08 21:15:12 -06:00
mat
13e6421cf5 fix FormattedText when 'extra' isn't a list of compounds 2023-12-28 18:36:23 -06:00
mat
cbb2ffad92 read nbt as optional in more places 2023-12-28 17:49:47 -06:00
mat
9260892d44 fix bytes of packets not being logged in tracing 2023-12-16 13:28:22 -06:00
mat
98f2c54c26 use minecraft_folder_path 2023-12-06 23:23:18 -06:00
mat
020dc434ff thanks cargo workspaces 2023-12-05 11:15:18 -06:00
mat
ab5f6d598d upgrade deps 2023-12-05 11:06:24 -06:00
mat
7857a014b9
1.20.3 (#110)
* 23w40a

* 23w41a

* 23w42a

* 23w43a

* 23w44a

* serialize FormattedText as nbt in network

* use azalea-nbt/serde in azalea-chat

* 23w45a

* fix 23w45a to compile

* handle Object in codegen

* 1.20.3-pre2

* remove unused clientbound_resource_pack_packet.rs

* merge main and make azalea-chat use simdnbt

* 1.20.3-rc1

* fix tests

* use simdnbt 0.3

* fix ServerboundSetJigsawBlockPacket

* 1.20.3
2023-12-05 10:59:05 -06:00
mat
421d8ce2c8
Replace Bevy's FixedUpdate with Azalea's GameTick (#119)
* replace bevy FixedUpdate with azalea GameTick

* Update to Bevy 0.12.1
2023-12-04 23:42:49 -06:00
mat
3e168a33c9 let plugins override query responses 2023-12-03 16:17:46 -06:00
mat
1f46ef8c11 make it so plugins can send and receive packets during the login state 2023-12-03 02:41:09 -06:00
mat
3eb9998c98 compression does not need to be async 2023-12-01 23:09:24 -06:00
mat
2c610826fc
Replace azalea-nbt with simdnbt (#111)
* delete azalea-nbt and replace with simdnbt

* use simdnbt from crates.io

* remove serde dependency on azalea-registry
2023-11-19 22:07:38 -06:00
mat
f0b58c7e74 share registries in swarms and fix some bugs 2023-11-18 20:44:49 -06:00
mat
89f5053b47 upgrade all dependencies 2023-11-18 01:02:52 -06:00
mat
9633508a3a replace log with tracing 2023-11-18 00:58:47 -06:00
mat
ee55453fbf bevy 0.12 2023-11-06 18:04:57 -06:00
mat
177864be60 replace a linear search with a binary search . . . 2023-10-05 01:40:25 -05:00
mat
0ef15254c4 also upgrade deps everywhere else lol 2023-10-03 01:37:00 -05:00
mat
d0505f7de3 optimize pathfinder more 2023-10-02 17:51:38 -05:00
mat
994bac2c13 add benchmarks to azalea-world 2023-10-02 00:20:20 -05:00
mat
4f6ab28325 add pathfinder benchmark 2023-10-01 20:23:26 -05:00
mat
7b3e2e4bf7
1.20.2 (#99)
* add configuration state

* start updating to 23w31a

* implement a bit more of 23w31a

* chunk batching

* start adding configuration state

* ioasfhjgsd

* almost works

* configuration state mostly implemented

* handle other packets in configuration state and fix keepalive

* cleanup, fix warnings

* 23w32a

* fix some doctests

* 23w33a

* 23w35a

* 1.20.2-pre2

* fix system conflicts

* 1.20.2-pre4

* make tests compile

* tests pass

* 1.20.2-rc2

* 1.20.2

* Revert "1.20.2"

This reverts commit dd152fd265.

* didn't mean to commit that code

---------

Co-authored-by: mat <git@matdoes.dev>
2023-09-21 11:16:29 -05:00
mat
c3717eaead finish releasing 0.8 2023-09-14 19:15:42 -05:00
mat
35d6ac565d upgrade deps 2023-09-08 16:51:32 -05:00
mat
bf8f533d9f use thiserror for azalea_nbt::Error 2023-08-27 01:27:45 -05:00
mat
7df2256f35 add failing test for that weird diagonal edge case
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2023-08-25 03:19:11 -05:00
mat
d5465cd28e add basic pathfinding test 2023-08-25 02:34:31 -05:00
mat
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -05:00
mat
15acf13477 fix sending brand incorrectly 2023-07-23 22:24:08 -05:00
mat
a985cc7442 remove unused deps 2023-07-19 17:13:46 -05:00
mat
0a83dc73b4 add try_read to connection 2023-07-16 05:50:02 -05:00
mat
7405427199
Mining (#95)
* more mining stuff

* initialize azalea-tags crate

* more mining stuff 2

* mining in ecs

* well technically mining works but

no codegen for how long it takes to mine each block yet

* rename downloads to __cache__

it was bothering me since it's not *just* downloads

* codegen block behavior

* fix not sending packet to finish breaking block

* mining animation 🎉

* clippy

* cleanup, move Client::mine into a client extension

* add azalea/src/mining.rs

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-14 22:20:40 -05:00
mat
d1afd02aa8
Update to Bevy 0.11 (#94)
* update to bevy 0.11

* clippy

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-09 19:11:29 -05:00
Adam Reisenauer
5e46996882
Add functions auth_with_link_code, get_ms_link_code, and get_ms_auth_token. (#88)
* Add option for grabbing authentication code for Microsoft seperately. Created two new functions, one that outputs the DeviceCodeResponse and one that uses this response to authenticate an actual account.

* Added documentation and cleaned up function names. Still wondering about code repeition

* reduce code duplication, more docs, cleanup

* clippy

---------

Co-authored-by: mat <git@matdoes.dev>
2023-06-24 17:09:43 -05:00
mat
dbfbffac14 Vec3::distance_to and clippy 2023-06-14 23:43:54 -05:00
mat
8813330359 random fixes mostly related to auth and crypto 2023-05-27 01:57:31 -05:00
mat
6188230009 add stuff related to chat signing
and also some stuff related to digging because i forgot to do a different branch lol
2023-05-26 15:18:04 -05:00
mat
8ef57aa698 chore: Release 2023-05-17 00:04:16 -05:00
mat
cb20430481 chore: Release 2023-05-16 23:57:06 -05:00
mat
bb49c78ebc and also update the dependents lol 2023-05-16 23:53:13 -05:00
mat
3f8177a302 chore: Release 2023-05-16 23:49:08 -05:00
mat
76428154f8 upgrade dependencies
have fun compiling nerds
2023-05-16 23:39:06 -05:00
mat
2ba7b83490 ClientBuilder::new_without_plugins 2023-05-16 23:26:45 -05:00
mat
12370ab076 change some things to be Arc+RwLock in brigadier 2023-05-05 23:09:57 -05:00
mat
c690e72405 export brigadier from azalea 2023-05-04 20:11:49 -05:00