Commit graph

102 commits

Author SHA1 Message Date
mat
2f51a0a123 Release 0.10.0
azalea@0.10.0
azalea-auth@0.10.0
azalea-block@0.10.0
azalea-block-macros@0.10.0
azalea-brigadier@0.10.0
azalea-buf@0.10.0
azalea-buf-macros@0.10.0
azalea-chat@0.10.0
azalea-client@0.10.0
azalea-core@0.10.0
azalea-crypto@0.10.0
azalea-entity@0.10.0
azalea-inventory@0.10.0
azalea-inventory-macros@0.10.0
azalea-language@0.10.0
azalea-physics@0.10.0
azalea-protocol@0.10.0
azalea-protocol-macros@0.10.0
azalea-registry@0.10.0
azalea-registry-macros@0.10.0
azalea-world@0.10.0

Generated by cargo-workspaces
2024-04-23 23:56:30 -05:00
mat
df8068b79c upgrade deps 2024-04-24 04:20:39 +00:00
mat
7357455cad Revert "Release 0.10.0"
This reverts commit f26aa56f42.
2024-04-24 04:11:53 +00:00
mat
f26aa56f42 Release 0.10.0
azalea@0.10.0
azalea-auth@0.10.0
azalea-block@0.10.0
azalea-block-macros@0.10.0
azalea-brigadier@0.10.0
azalea-buf@0.10.0
azalea-buf-macros@0.10.0
azalea-chat@0.10.0
azalea-client@0.10.0
azalea-core@0.10.0
azalea-crypto@0.10.0
azalea-entity@0.10.0
azalea-inventory@0.10.0
azalea-inventory-macros@0.10.0
azalea-language@0.10.0
azalea-physics@0.10.0
azalea-protocol@0.10.0
azalea-protocol-macros@0.10.0
azalea-registry@0.10.0
azalea-registry-macros@0.10.0
azalea-world@0.10.0

Generated by cargo-workspaces
2024-04-23 23:11:11 -05:00
mat
1d80f531b7
1.20.5 (#127)
* 23w51b

* make recalculate_near_end_of_path public

so other plugins can do .after(recalculate_near_end_of_path)

* update to 24w03a i think

* start implementing 24w13a

* registries work (but a lot of packets are still broken)

* fix recipes and commands packets

* i love codecs :D i am not going insane :D mojang's java is very readable :D

* item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow

* update to 1.20.5-pre3

* fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone)

* 1.20.5-rc1

* fix failing tests

* 1.20.5
2024-04-23 10:34:50 -05:00
mat
f919fb65d6 upgrade deps 2024-04-20 04:12:16 +00:00
mat
353eda21ac socks5 support (#113) 2024-04-20 03:40:59 +00:00
mat
fa96af786b Release 0.9.1
azalea@0.9.1
azalea-auth@0.9.1
azalea-block@0.9.1
azalea-block-macros@0.9.1
azalea-brigadier@0.9.1
azalea-buf@0.9.1
azalea-buf-macros@0.9.1
azalea-chat@0.9.1
azalea-client@0.9.1
azalea-core@0.9.1
azalea-crypto@0.9.1
azalea-entity@0.9.1
azalea-inventory@0.9.1
azalea-inventory-macros@0.9.1
azalea-language@0.9.1
azalea-physics@0.9.1
azalea-protocol@0.9.1
azalea-protocol-macros@0.9.1
azalea-registry@0.9.1
azalea-registry-macros@0.9.1
azalea-world@0.9.1

Generated by cargo-workspaces
2024-04-18 20:22:26 -05: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
cbb2ffad92 read nbt as optional in more places 2023-12-28 17:49:47 -06:00
mat
98f2c54c26 use minecraft_folder_path 2023-12-06 23:23:18 -06:00
mat
6567cf9e5c Release 0.9.0
azalea@0.9.0
azalea-auth@0.9.0
azalea-block@0.9.0
azalea-block-macros@0.9.0
azalea-brigadier@0.9.0
azalea-buf@0.9.0
azalea-buf-macros@0.9.0
azalea-chat@0.9.0
azalea-client@0.9.0
azalea-core@0.9.0
azalea-crypto@0.9.0
azalea-entity@0.9.0
azalea-inventory@0.9.0
azalea-inventory-macros@0.9.0
azalea-language@0.9.0
azalea-physics@0.9.0
azalea-protocol@0.9.0
azalea-protocol-macros@0.9.0
azalea-registry@0.9.0
azalea-registry-macros@0.9.0
azalea-world@0.9.0

Generated by cargo-workspaces
2023-12-05 11:06:51 -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
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
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
5212ba4d5d update repo links 2023-10-08 03:58:57 -05:00
mat
0ef15254c4 also upgrade deps everywhere else lol 2023-10-03 01:37:00 -05:00
mat
33e823d6fa fix log feature 2023-10-01 14:48:19 -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
c8aad8bdfe Release 0.8.0
azalea@0.8.0
azalea-auth@0.8.0
azalea-block@0.8.0
azalea-block-macros@0.8.0
azalea-brigadier@0.8.0
azalea-buf@0.8.0
azalea-buf-macros@0.8.0
azalea-chat@0.8.0
azalea-client@0.8.0
azalea-core@0.8.0
azalea-crypto@0.8.0
azalea-entity@0.8.0
azalea-inventory@0.8.0
azalea-inventory-macros@0.8.0
azalea-language@0.8.0
azalea-nbt@0.8.0
azalea-physics@0.8.0
azalea-protocol@0.8.0
azalea-protocol-macros@0.8.0
azalea-registry@0.8.0
azalea-registry-macros@0.8.0
azalea-world@0.8.0

Generated by cargo-workspaces
2023-09-14 19:01:20 -05:00
mat
35d6ac565d upgrade deps 2023-09-08 16:51:32 -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
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
ea8a8fccb6
Add ClientBuilder:new_without_log (#93)
* Add ClientBuilder:new_without_log

* 'log' feature

* fix warnings

---------

Co-authored-by: mat <git@matdoes.dev>
2023-06-24 17:43:38 -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
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
634cb8d72c
Inventory (#48)
* start adding azalea-inventory

* design more of how inventories are defined

* start working on az-inv-macros

* inventory macro works

* start adding inventory codegen

* update some deps

* add inventory codegen

* manually write inventory menus

* put the inventories in Client

* start on containersetcontent

* inventory menu should hopefully work

* checks in containersetcontent

* format a comment

* move some variant matches

* inventory.rs

* inventory stuff

* more inventory stuff

* inventory/container tracking works

* start adding interact function

* sequence number

* start adding HitResultComponent

* implement traverse_blocks

* start adding clip

* add clip function

* update_hit_result_component

* start trying to fix

* fix

* make some stuff simpler

* clippy

* lever

* chest

* container handle

* fix ambiguity

* fix some doc tests

* move some container stuff from az-client to azalea

* clicking container

* start implementing simulate_click

* keep working on simulate click

* implement more of simulate_click

this is really boring

* inventory fixes

* start implementing shift clicking

* fix panic in azalea-chat i hope

* shift clicking implemented

* more inventory stuff

* fix items not showing in containers sometimes

* fix test

* fix all warnings

* remove a println

---------

Co-authored-by: mat <git@matdoes.dev>
2023-05-03 20:57:27 -05:00
mat
157ac22461 remove unused dependencies
thanks cargo-udeps
2023-03-21 18:07:40 +00:00
mat
719379a8a7
Bevy 0.10 (#79)
* replace 0.9.1 with 0.10.0

* start migrating to bevy .10

* well it compiles

* doesn't immediately panic

* remove unused imports

* fmt

* delete azalea-ecs

* make RelativeEntityUpdate an EntityCommand

* fix a doc test

* explain what FixedUpdate does
2023-03-07 14:14:36 -06:00
mat
c1588ef66e
Fix system order ambiguities (#74)
* start fixing stuff where systems run in the wrong order

* fix ordering ambiguity

* add debugging guide

* some fixes

* fix panic for swarms

* fix some warnings
2023-02-25 17:32:15 -06:00
mat
7e43e6d24a no iyes_loopless 2023-02-09 21:20:09 -06:00
mat
ba3d8c35af chore: Release 2023-02-09 21:03:16 -06:00
mat
2c7518be33 release ecs crates 2023-02-09 21:02:34 -06:00
mat
a5672815cc
Use an ECS (#52)
* add EntityData::kind

* start making metadata use hecs

* make entity codegen generate ecs stuff

* fix registry codegen

* get rid of worldhaver

it's not even used

* add bevy_ecs to deps

* rename Component to FormattedText

also start making the metadata use bevy_ecs but bevy_ecs doesn't let you query on Bundles so it's annoying

* generate metadata.rs correctly for bevy_ecs

* start switching more entity stuff to use ecs

* more ecs stuff for entity storage

* ok well it compiles but

it definitely doesn't work

* random fixes

* change a bunch of entity things to use the components

* some ecs stuff in az-client

* packet handler uses the ecs now

and other fun changes

i still need to make ticking use the ecs but that's tricker, i'm considering using bevy_ecs systems for those

bevy_ecs systems can't be async but the only async things in ticking is just sending packets which can just be done as a tokio task so that's not a big deal

* start converting some functions in az-client into systems

committing because i'm about to try something that might go horribly wrong

* start splitting client

i'm probably gonna change it so azalea entity ids are separate from minecraft entity ids next (so stuff like player ids can be consistent and we don't have to wait for the login packet)

* separate minecraft entity ids from azalea entity ids + more ecs stuff

i guess i'm using bevy_app now too huh
it's necessary for plugins and it lets us control the tick rate anyways so it's fine i think

i'm still not 100% sure how packet handling that interacts with the world will work, but i think if i can sneak the ecs world into there it'll be fine. Can't put packet handling in the schedule because that'd make it tick-bound, which it's not (technically it'd still work but it'd be wrong and anticheats might realize).

* packet handling

now it runs the schedule only when we get a tick or packet 😄

also i systemified some more functions and did other random fixes so az-world and az-physics compile

making azalea-client use the ecs is almost done! all the hard parts are done now i hope, i just have to finish writing all the code so it actually works

* start figuring out how functions in Client will work

generally just lifetimes being annoying but i think i can get it all to work

* make writing packets work synchronously*

* huh az-client compiles

* start fixing stuff

* start fixing some packets

* make packet handler work

i still haven't actually tested any of this yet lol but in theory it should all work

i'll probably either actually test az-client and fix all the remaining issues or update the azalea crate next

ok also one thing that i'm not particularly happy with is how the packet handlers are doing ugly queries like
```rs
let local_player = ecs
    .query::<&LocalPlayer>()
    .get_mut(ecs, player_entity)
    .unwrap();
```
i think the right way to solve it would be by putting every packet handler in its own system but i haven't come up with a way to make that not be really annoying yet

* fix warnings

* ok what if i just have a bunch of queries and a single packet handler system

* simple example for azalea-client

* 🐛

* maybe fix deadlock idk

can't test it rn lmao

* make physicsstate its own component

* use the default plugins

* azalea compiles lol

* use systemstate for packet handler

* fix entities

basically moved some stuff from being in the world to just being components

* physics (ticking) works

* try to add a .entity_by function

still doesn't work because i want to make the predicate magic

* try to make entity_by work

well it does work but i couldn't figure out how to make it look not terrible. Will hopefully change in the future

* everything compiles

* start converting swarm to use builder

* continue switching swarm to builder and fix stuff

* make swarm use builder

still have to fix some stuff and make client use builder

* fix death event

* client builder

* fix some warnings

* document plugins a bit

* start trying to fix tests

* azalea-ecs

* azalea-ecs stuff compiles

* az-physics tests pass 🎉

* fix all the tests

* clippy on azalea-ecs-macros

* remove now-unnecessary trait_upcasting feature

* fix some clippy::pedantic warnings lol

* why did cargo fmt not remove the trailing spaces

* FIX ALL THE THINGS

* when i said 'all' i meant non-swarm bugs

* start adding task pool

* fix entity deduplication

* fix pathfinder not stopping

* fix some more random bugs

* fix panic that sometimes happens in swarms

* make pathfinder run in task

* fix some tests

* fix doctests and clippy

* deadlock

* fix systems running in wrong order

* fix non-swarm bots
2023-02-04 19:32:27 -06:00
dependabot[bot]
7c7446ab1e
Bump tokio from 1.23.1 to 1.24.2 (#62)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 19:27:19 -06:00
EightFactorial
54e00eb3df
Add function to get message sender's UUID (#56)
* Add uuid function for chat messages

* Does this please you, clippy?
2023-01-14 21:56:09 -06:00
dependabot[bot]
b86a89fa1e
Bump tokio from 1.22.0 to 1.23.1 (#55)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 22:01:50 -06:00
Ubuntu
b6d0b3744d (cargo-release) version 0.5.0 2022-12-09 15:34:29 +00:00
Ubuntu
16be171fb4 (cargo-release) version 0.5.0 2022-12-09 15:34:29 +00:00