0817382098
replace once_cell with std:;sync::LazyLock
2024-11-27 10:26:40 +00:00
Shayne Hartford
dfdc3144b6
Update and merge the dependencies ( #187 )
...
* Add rust rover to .gitignore
* Fold dependency feature lists
* Sort dependencies alphabetically
* Update dependencies
* Upgrade dependencies
* Comment out unused dependencies
* Nightly is broken right now :)
* Fix conflict with derive_more
* cargo autoinherit to merge dependencies
* Fix clippy lints
2024-11-23 02:29:30 -06:00
Shayne Hartford
e443c5d76e
Fix debug warning ( #186 )
2024-11-22 21:30:01 -06:00
Shayne Hartford
a8125cd198
Add SwarmBuilder::add_account_with_opts ( #185 )
2024-11-20 22:43:21 -06:00
Shayne Hartford
3cf17cb896
Add more derives to the pathfinder goals for flexibility ( #183 )
2024-11-15 21:38:18 -06:00
Shayne Hartford
0902edb244
Switch to u32 to match other entity ids in Azalea ( #182 )
...
* Switch to u32 to match other entity ids in Azalea
* Forgot about the other entity id
* Revert "Forgot about the other entity id"
That wasn't meant for this branch, squash merge this out lol.
2024-11-12 17:59:04 -06:00
Shayne Hartford
09cdc22b86
Make some internal system handles public for use with before/after ( #180 )
2024-11-12 12:07:36 -06:00
Gaspard Culis
0774888a77
feat(registry): Derive Serialize and Deserialize on registry types ( #179 )
2024-11-03 10:58:19 -06:00
6b0fe5bf63
group imports with rustfmt
2024-10-26 05:29:26 +00:00
b762575db6
fix ClientboundPlayerInfoUpdatePacket and replace GameProfile with LoginFinished in an example
2024-10-26 05:28:11 +00:00
a3cf78ebec
add 1.21.1 to branches list in readme
2024-10-23 05:14:10 +00:00
mat
40e4096d24
1.21.2 ( #171 )
...
* partially implement 24w35a
* start updating to 24w39a + itemcomponent codegen
* fix codegen and broken packets to finish updating to 24w39a :D
* update to 1.21.2 except for blocks
* update ServerboundPlayerInputPacket impl
2024-10-23 00:08:13 -05:00
abc7b43b8c
Release 0.10.3+mc1.21.1
...
azalea@0.10.3+mc1.21.1
azalea-auth@0.10.3+mc1.21.1
azalea-block@0.10.3+mc1.21.1
azalea-block-macros@0.10.3+mc1.21.1
azalea-brigadier@0.10.3+mc1.21.1
azalea-buf@0.10.3+mc1.21.1
azalea-buf-macros@0.10.3+mc1.21.1
azalea-chat@0.10.3+mc1.21.1
azalea-client@0.10.3+mc1.21.1
azalea-core@0.10.3+mc1.21.1
azalea-crypto@0.10.3+mc1.21.1
azalea-entity@0.10.3+mc1.21.1
azalea-inventory@0.10.3+mc1.21.1
azalea-inventory-macros@0.10.3+mc1.21.1
azalea-language@0.10.3+mc1.21.1
azalea-physics@0.10.3+mc1.21.1
azalea-protocol@0.10.3+mc1.21.1
azalea-protocol-macros@0.10.3+mc1.21.1
azalea-registry@0.10.3+mc1.21.1
azalea-registry-macros@0.10.3+mc1.21.1
azalea-world@0.10.3+mc1.21.1
Generated by cargo-workspaces
2024-10-22 23:05:04 -05:00
Shayne Hartford
5e99c2218d
Add missing yaw and patch fields to ServerboundUseItemPacket ( #178 )
...
(cherry picked from commit ed7b306aff5ed1d1ce9659d41f76f3f3a6884dd6)
2024-10-22 00:24:09 -05:00
Shayne Hartford
cd2f298a62
Rename InventoryComponent to Inventory to match other components ( #177 )
...
(cherry picked from commit 266058a8d441169b46ef819595eee62337ab324c)
2024-10-21 19:21:38 -05:00
Shayne Hartford
5535877a4b
Impl FromStr for BlockPos & Vec ( #174 )
...
* Impl FromStr for BlockPos & Vec
(cherry picked from commit 288db1ca303c801c189f950fa99d5ae8369235c4)
* Add comments
2024-10-21 17:04:46 -05:00
Shayne Hartford
58d1485733
Derive Deserialize & Serialize for BlockPos & Vec3 ( #175 )
...
(cherry picked from commit f0d15d08320cbca1f3383e60cdd97efc488c3b34)
2024-10-21 14:11:51 -05:00
2992fc6b47
update simdnbt
2024-09-15 06:52:16 +00:00
d5a281bf15
remove debug printlns
2024-08-19 19:44:15 +00:00
e485cf5501
fix incorrect comment in with_microsoft_access_token docs
2024-08-15 23:33:23 +00:00
74831abbe4
modify some docs
2024-08-15 01:26:59 +00:00
73091d8f93
fix sometimes being able to mine blocks through walls
2024-08-15 01:25:11 +00:00
dec544a52b
fix ClientboundLevelParticlesPacket errors and pathfinder /particle errors
2024-08-15 01:24:03 +00:00
Aditya Kumar
13afc1d6a4
Auth Customization Options ( #159 )
...
* Added Support for Custom Auth using `client_id` and `scope`
* fix: `Account::microsoft` and added lifetime to `Account::microsoft_with_custom_client_id`
* Added function `with_microsoft_access_token_and_custom_client_id`
* Removed Custom Scope.
* I got carried away, and made scope also customizable, later realized no customization is needed.
* Better Documentation and Minor fixes
* Added Custom Scope
* Added RpsTicket format for custom `client_id`
* Moved to non-static str
* fix example
Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
* fix doc grammer
* changed function signature
* fmt
* fixed example
* removed dead code
* Removed `d=` insertion in `client_id`
* removed unnecessary `mut`
---------
Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
2024-08-11 16:54:45 -05:00
92c90753ea
update readme to say 1.21.1
2024-08-11 09:04:20 +00:00
5ab9c501e9
fmt
2024-08-11 09:03:57 +00:00
b445b7c032
cursor_remaining was stabilized
2024-08-06 02:19:32 +00:00
Aditya Kumar
832f960531
Added Left Click Mine (1.21) ( #168 )
...
* Added Auto Mine
* Unnecessary Block Reach Check
* Added `LeftClickMine`
2024-07-21 20:17:40 -05:00
ca48ed9e25
remove unwraps in events.rs
2024-07-22 01:03:36 +00:00
86fd3168f7
fix panic in update_modifiers_for_held_item
...
found from 27cecdb8bf
2024-07-22 01:00:56 +00:00
Aditya Kumar
7e93c2d766
Made Hunger
and DataComponentPatch
public ( #167 )
...
* Made `Hunger` component public
* Made `DataComponentPatch` public
2024-07-20 05:45:25 -05:00
Patrick
4ee0b784ea
Determine rust channel by parsing rustc output if env vars do not exist ( #163 )
...
* Determine rust channel by parsing rustc output
The RUSTUP_TOOLCHAIN environment variable might not always be present.
This is the case for e.g. NixOS where rust is routinely not installed via
rustup, thus not setting this env var, causing build failures.
Instead, build.rs will now run `rustc -V` and check if the output contains the
word "nightly".
* Check env vars first, fall back to rustc in $PATH
* Try to check RUSTUP_TOOLCHAIN first
2024-07-19 16:28:40 -05:00
Aditya Kumar
3d717b63e5
fix: Chunk Storage Error ( #158 )
2024-07-12 06:24:47 -05:00
Shayne Hartford
cf4e3f609d
Add missing configuration and game connection wrappers ( #161 )
2024-07-12 01:07:24 -05:00
mat
ea64fba7f6
upgrade to simdnbt 0.6 ( #160 )
2024-07-05 00:45:45 -05:00
EnderKill98
350e32d0a9
Fix command packets ( #155 )
...
* Fix copy&paste mistake from chat command signed packet to chat command packet
* Bugfix
---------
Co-authored-by: EnderKill98 <no@mail.tld>
2024-06-16 16:03:34 -05:00
f9e20fd11e
slightly reword Branches section in readme
2024-06-14 00:54:25 +00:00
4fc009813b
add link to 1.20.6 branch in readme
2024-06-14 00:52:50 +00:00
mat
f66d2d4767
1.21 ( #145 )
...
* 24w18a (data driven enchantments not implemented yet)
* 1.21
2024-06-13 19:52:05 -05:00
38eab50b4f
Release 0.10.2
...
azalea-block@0.10.2
azalea-block-macros@0.10.2
azalea-brigadier@0.10.2
azalea-buf@0.10.2
azalea-chat@0.10.2
azalea-client@0.10.2
azalea-core@0.10.2
azalea-entity@0.10.2
azalea-inventory@0.10.2
azalea-physics@0.10.2
azalea-protocol@0.10.2
azalea-registry@0.10.2
azalea-world@0.10.2
Generated by cargo-workspaces
2024-06-13 19:22:11 -05:00
7b5ed58b9b
fix generated block field names so tests pass again
2024-06-14 00:19:22 +00:00
dd2f0465a4
fix incorrect varlong reader
2024-06-11 09:48:11 +00:00
c7f9dc4b3d
remove all references to clean_property_name
2024-05-23 03:29:37 +00:00
22baedb24b
change property names to be unique and to match the minecraft ids
2024-05-23 03:24:12 +00:00
4f6f104ddb
resolve clippy warning
2024-05-23 02:12:34 +00:00
urisinger
f9c28ca5fa
make getting shapes faster ( #149 )
...
* supposed to make getting shapes faster
* why was this reversed
* forgot to run codegen
* don't panic when getting the shape for invalid block ids
---------
Co-authored-by: mat <git@matdoes.dev>
2024-05-22 21:08:15 -05:00
73bcc6639b
fix another edge case in FormattedText::from_nbt_tag that happens with viaversion
2024-05-22 10:28:43 +00:00
729d211406
read Tool blocks as HolderSet
...
fixes an error with viaversion servers
2024-05-22 10:14:35 +00:00
veronoicc
892869ad12
Update simdnbt dep ( #148 )
...
* Update simdnbt dep
* Fix not compiling (rust analyzer is still yapping, i trust you cargo check)
* Update simdnbt to 0.5.2
* finally everything works :prayge:
2024-05-14 16:59:36 -05:00
b00106b7ff
update simdnbt
2024-05-14 09:13:34 +00:00