Commit graph

353 commits

Author SHA1 Message Date
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
mat
16903b73bf fix tests 2023-04-12 03:26:37 +00:00
mat
5121bf9ee1 23w14a 2023-04-10 17:19:33 +00:00
EightFactorial
2907902431
Damage_Event unsigned subtract from zero (#86) 2023-04-01 18:14:03 -05:00
mat
a443c30b24 remove legacy smithing recipe serializer 2023-03-30 18:41:31 +00:00
mat
659c5fea14 23w13a 2023-03-30 18:18:13 +00:00
mat
ecb3f2ffd7 rename Tag to Nbt 2023-03-23 13:55:33 +00:00
mat
b276978195 clear titles packet 2023-03-21 18:20:47 +00:00
mat
12a9c8ce65
1.19.4 (#57)
* 23w03a

* 23w04a

* 23w05a

* 23w06a

* fix

* 23w07a

mojang broke their json data generator so some stuff is missing

* didn't mean to commit that file here

* 1.19.4-pre2

* fix

* 1.19.4-pre3

* fix

* how did these packets get here

* 1.19.4-pre4

* 1.19.4-rc1

* 1.19.4-rc2

* 1.19.4-rc3

* merge main

* remove debugging code

* 1.19.4
2023-03-14 16:33:03 -05:00
mat
aa846bc027 make ResourceLocation::new -> Self and impl Serialize/Deserialize for ResourceLocation 2023-03-14 01:22:15 -05:00
EightFactorial
1ff2495962
Do not deserialize full registry by default (#83)
* Do not deserialize full registry by default

* Only need height and min_y
2023-03-12 20:49:10 -05:00
mat
cd0a1ed8d4 fix doc errors 2023-03-11 17:02:57 -06:00
Luna
81e7adb409
Fix infinite recursion in the DNS resolver (#82) 2023-03-11 16:11:35 -06:00
EightFactorial
c57c68ddf8
Add RegistryHolder struct and serde features (#81)
* Make RegistryHolder struct

* Update deps

* Move RegistryHolder to azalea-protocol

* Convert bytes to bools and back

* Rename and shuffle logic

* Move logic into trait, rename methods

* Final touchups

* Ah, merge mistakes

* Add serde support for ResourceLocation

* Reuse structs

* Error when serde skips values in debug mode
Add missing attributes

* Strict_registry feature, require packet feature

* Add test

* Move into packets

* Docs and touchups

* Reword docs

* Move into module inside ClientboundLoginPacket

* Add azalea-nbt serde feature

* remove duplicate comment and type_ -> kind

---------

Co-authored-by: mat <github@matdoes.dev>
2023-03-11 16:00:10 -06:00
mat
5dd35c7ed8
Add World::find_block (#80)
* start adding World::find_block

* keep working on find_block

* BlockStates

* fix sorting

* update examples that use find_one_block

* azalea_block::properties

* fix tests

* add a gotoblock command to testbot
2023-03-07 22:09:56 -06: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