Commit graph

148 commits

Author SHA1 Message Date
mat
797dd91710 revert packet name to Disguised and make it more like ChatPacket::Player 2023-12-04 14:27:13 -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
8d0acecdcf fix memory leak when loading chunks in swarms 2023-11-18 02:24:34 -06:00
mat
9633508a3a replace log with tracing 2023-11-18 00:58:47 -06:00
mat
03cc28d8e7 improve docs a bit 2023-11-12 17:13:43 -06:00
mat
ee55453fbf bevy 0.12 2023-11-06 18:04:57 -06:00
mat
2803e9ef0d remove some more #![feature]s 2023-10-26 22:26:14 -05:00
mat
5212ba4d5d update repo links 2023-10-08 03:58:57 -05:00
mat
5d075abfc5 make pathfinder twice as fast 😎 2023-10-07 15:27:21 -05:00
mat
3831bd6f9c update chunk batching 2023-10-07 14:26:09 -05:00
mat
0ef15254c4 also upgrade deps everywhere else lol 2023-10-03 01:37:00 -05:00
mat
0691373310 cleanup 2023-10-02 20:59:51 -05:00
mat
985327241d yet another W for linear searches 2023-10-02 19:57:13 -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
befa33a879 organize azalea_core and re-export it from azalea 2023-10-01 15:19:13 -05:00
mat
0bf8291388 check for entity duplication before spawning
this fixes behavior where in swarms entities in the world might sometimes have a duplicate that gets spawned and despawned immediately
2023-09-28 21:57:36 -05:00
mat
51963990bc fix entities not always being despawned after merge 2023-09-18 23:25:22 -05:00
mat
e6941b6a24 instanceloadedevent and a few fixes 2023-09-18 19:29:14 -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
35d6ac565d upgrade deps 2023-09-08 16:51:32 -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
4ed4be529f upgrade thiserror and other deps 2023-08-15 22:21:04 -05:00
mat
3350ef0f7f remove unnecessary parens 2023-08-01 02:40:29 -05:00
mat
68f01625cc improve Instance::find_block 2023-08-01 02:38:49 -05:00
mat
22ea8c60fe fix sometimes not receiving chunks 2023-07-23 23:21:08 -05:00
mat
d99ba0da55 clean up azalea-entity a little 2023-07-23 22:17:17 -05:00
mat
5062a8c8cd make PalettedContainer::new less weird 2023-07-20 05:14:30 -05:00
mat
a985cc7442 remove unused deps 2023-07-19 17:13:46 -05:00
mat
f0c7d6e8bf fix wrong names in a Debug and relax PartialChunkStorage::set_block_state 2023-07-19 07:22:55 -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
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
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
ecb3f2ffd7 rename Tag to Nbt 2023-03-23 13:55:33 +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
cd0a1ed8d4 fix doc errors 2023-03-11 17:02:57 -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
5ce830ae6c merge main 2023-03-08 16:35:12 +00: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
mat
66094921c8 make metadata components clonable 2023-02-21 21:46:41 -06:00