Commit graph

822 commits

Author SHA1 Message Date
mat
53d51a5ca9 more brigadier docs 2023-05-07 02:50:52 -05:00
mat
2823e508b3 more brigadier argument types 2023-05-07 01:55:08 -05:00
mat
84c0908f34 fix panic on disconnect 2023-05-06 01:02:21 -05:00
mat
084953b89f fix CommandDispatcher::default 2023-05-05 23:31:27 -05:00
mat
f825544e27 CommandDispatcher is now Send+Sync 2023-05-05 23:23:11 -05:00
mat
12370ab076 change some things to be Arc+RwLock in brigadier 2023-05-05 23:09:57 -05:00
mat
e4176937f0 remove more unnecessary brigadier cloning! 2023-05-05 19:37:40 +00:00
mat
df167a5a39 fix some warnings 2023-05-05 17:15:49 +00:00
mat
3702b2cb21 rename Client::inventory to open_inventory 2023-05-05 17:01:15 +00:00
mat
8b0b86bbcf add Client::inventory 2023-05-05 16:54:42 +00:00
mat
2e2d874e27 remove unnecessary clones in brigadier 2023-05-04 23:59:24 -05:00
mat
c690e72405 export brigadier from azalea 2023-05-04 20:11:49 -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
1fb4418f2c fix conflicts that happen sometimes with serde 2023-05-01 18:36:40 -05:00
mat
67dc5b367f fix panic in azalea-chat i hope 2023-04-22 01:15:14 -05:00
mat
8215331381 rename and export AccountOpts 2023-04-19 20:10:40 +00:00
mat
0b49939374 re export azalea_auth from azalea 2023-04-19 19:57:30 +00:00
mat
16903b73bf fix tests 2023-04-12 03:26:37 +00:00
EightFactorial
2907902431
Damage_Event unsigned subtract from zero (#86) 2023-04-01 18:14:03 -05:00
mat
ac680d39f2 random nbt improvements 2023-03-24 20:09:31 +00:00
mat
4b387c320c fix merge conflict 2023-03-24 13:55:11 +00:00
mat
0641dac7f0 simd number arrays 2023-03-23 20:20:13 -05:00
mat
bdc4255747 >=128 2023-03-23 20:10:52 +00:00
mat
95925b64fa nbt lookup optimization 2023-03-23 19:38:18 +00:00
mat
5e5682ab52 polish nbt a bit 2023-03-23 18:04:53 +00:00
mat
ecb3f2ffd7 rename Tag to Nbt 2023-03-23 13:55:33 +00:00
mat
2a07962af9 default for nbtcompound 2023-03-23 13:54:08 +00:00
mat
d08bf9b943 make encode not a Result and small optimizations 2023-03-23 00:19:00 -05:00
mat
c3b63ad129 binary search map 2023-03-22 23:18:55 -05:00
mat
350bbac282 rename benchmarks 2023-03-22 20:59:33 -05:00
mat
95e9ec51dc improve comparison benchmark 2023-03-22 20:49:52 -05:00
mat
03a672ee9b make nbt code more readable and add comparison benchmark 2023-03-22 19:31:28 -05:00
mat
228ee4a2f0 optimize nbt lists 2023-03-22 19:52:19 +00:00
mat
75e62c9136 use enum-as-inner in nbt 2023-03-22 17:58:37 +00:00
mat
6738be8090 use compact_str in nbt 2023-03-22 13:52:38 +00:00
mat
b276978195 clear titles packet 2023-03-21 18:20:47 +00:00
mat
157ac22461 remove unused dependencies
thanks cargo-udeps
2023-03-21 18:07:40 +00:00
mat
4865b772f6 mention the other version branches in the readme 2023-03-14 16:37:14 -05: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
b792e21d1c cargo update 2023-03-14 01:24:13 -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
mat
40a0c8acfb slightly optimize azalea_nbt::Tag::id 2023-03-11 16:38:13 -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
f28efd5637 make ClientInformation and TabList their own components 2023-03-08 19:26:40 +00: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