Commit graph

369 commits

Author SHA1 Message Date
mat
0713223e12 fix compile error when trace logs are enabled 2023-12-02 16:07:09 -06:00
mat
34a4027010 change protocol_version to an i32 2023-12-02 15:49:54 -06:00
mat
3eb9998c98 compression does not need to be async 2023-12-01 23:09:24 -06:00
mat
a806194497 fmt 2023-11-29 20:00:47 -06:00
mat
af818b3b58 simplify ServerAddress serde implementations 2023-11-29 19:51:34 -06:00
1zuna
87c2bc2e5d
serde support for 'ServerAddress' (#115) 2023-11-29 19:51:19 -06:00
1zuna
8fb58b7754
fix trust_dns_resolver issue (#112)
fixes error: "Label contains invalid characters"
2023-11-29 18:25:58 -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
eeec59adab KnockbackEvent and rename Physics::delta to velocity 2023-10-12 22:39:29 -05:00
mat
38db231ea8 brigadier usages 2023-10-12 20:14:29 -05: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
befa33a879 organize azalea_core and re-export it from azalea 2023-10-01 15:19:13 -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
856a3252f6 heightmaps 2023-09-17 21:44:17 -05:00
mat
c3717eaead finish releasing 0.8 2023-09-14 19:15:42 -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
6a37971420 add ResourcePackEvent event 2023-09-14 18:17:32 -05:00
mat
35d6ac565d upgrade deps 2023-09-08 16:51:32 -05:00
EightFactorial
e6a787f777
Don't crash when missing extra registries (#108)
* Fix decoding on missing Nbt structures

* Fix default and renaming
2023-09-07 12:40:53 -05:00
mat
11d14c74c5
Support properly switching instances (#106)
* start implementing switching dimensions

* fix removeentity in shared worlds

* also store entity ids per local player

* uncomment a trace in pathfinder

* cleanup

---------

Co-authored-by: mat <git@matdoes.dev>
2023-08-24 22:59:40 -05:00
mat
483ce9164e fix writing ClientboundUpdateRecipesPacket 2023-08-22 02:12:12 -05:00
mat
8a90a8e109 fix tests 2023-08-15 23:51:13 -05:00
mat
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -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
mat
fe687f9bdb fix clientboundsoundpacket
closes #89
2023-06-15 14:37:20 -05:00
mat
49f951688e 1.20 2023-06-12 14:35:00 -05:00
mat
8be3921ad4 merge main 2023-05-24 02:52:21 -05:00
mat
630c78b318 1.20-pre5 2023-05-24 02:46:19 -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
33044c7957 1.20-pre2 2023-05-16 17:00:12 +00:00
mat
657c073eab protocol fixes 2023-05-12 23:40:31 -05:00
mat
c04620ec38 1.20-pre1 2023-05-11 17:11:34 +00:00
mat
2823e508b3 more brigadier argument types 2023-05-07 01:55:08 -05:00
mat
c7a923ccc8 merge main 2023-05-04 20:38:10 +00:00
mat
ff6d43458c 23w18a 2023-05-04 20:30:56 +00: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
1fb4418f2c fix conflicts that happen sometimes with serde 2023-05-01 18:36:40 -05:00
mat
64e084934e 23w17a 2023-04-28 17:00:20 +00:00
mat
88b09f7791 Merge branch 'main' into 1.20 2023-04-20 17:11:56 +00:00
mat
c4c5edf80b 23w16a 2023-04-20 17:11:52 +00:00