Commit graph

1181 commits

Author SHA1 Message Date
mat
d5a281bf15 remove debug printlns 2024-08-19 19:44:15 +00:00
mat
e485cf5501 fix incorrect comment in with_microsoft_access_token docs 2024-08-15 23:33:23 +00:00
mat
74831abbe4 modify some docs 2024-08-15 01:26:59 +00:00
mat
73091d8f93 fix sometimes being able to mine blocks through walls 2024-08-15 01:25:11 +00:00
mat
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
mat
92c90753ea update readme to say 1.21.1 2024-08-11 09:04:20 +00:00
mat
5ab9c501e9 fmt 2024-08-11 09:03:57 +00:00
mat
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
mat
ca48ed9e25 remove unwraps in events.rs 2024-07-22 01:03:36 +00:00
mat
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
mat
f9e20fd11e slightly reword Branches section in readme 2024-06-14 00:54:25 +00:00
mat
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
mat
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
mat
7b5ed58b9b fix generated block field names so tests pass again 2024-06-14 00:19:22 +00:00
mat
dd2f0465a4 fix incorrect varlong reader 2024-06-11 09:48:11 +00:00
mat
c7f9dc4b3d remove all references to clean_property_name 2024-05-23 03:29:37 +00:00
mat
22baedb24b change property names to be unique and to match the minecraft ids 2024-05-23 03:24:12 +00:00
mat
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
mat
73bcc6639b fix another edge case in FormattedText::from_nbt_tag that happens with viaversion 2024-05-22 10:28:43 +00:00
mat
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
mat
b00106b7ff update simdnbt 2024-05-14 09:13:34 +00:00
EightFactorial
8138d388e7
Add a brigadier example for use inside a bevy App (#146) 2024-05-09 21:55:55 -05:00
mat
afcf497989 link 1.20.4 branch in readme 2024-05-03 06:42:25 +00:00
mat
893f837b68 extremely complicated update to 1.20.6 2024-05-01 05:19:54 +00:00
mat
8e2e81651c fmt 2024-04-27 06:08:38 +00:00
Luis
6553d9510d
Use ClientIntention over ConnectionProtocol for ClientIntentionPacket (#143)
* fix!: use ClientIntention over ConnectionProtocol for ClientIntentionPacket

* chore: remove McBufRead/Writable from ConnectionProtocol

* chore: use From over Into for ClientIntention to ConnectionProtocol conversion

* chore: organise imports in existing style
2024-04-27 01:03:20 -05:00
mat
84f66a55a5 Release 0.10.1
azalea@0.10.1
azalea-auth@0.10.1
azalea-buf@0.10.1
azalea-chat@0.10.1
azalea-client@0.10.1
azalea-entity@0.10.1
azalea-inventory@0.10.1
azalea-protocol@0.10.1
azalea-world@0.10.1

Generated by cargo-workspaces
2024-04-24 17:56:35 -05:00
mat
a3169d8ffe fix some deps 2024-04-24 22:43:44 +00:00
mat
e7c5a5e4fa require azalea-buf feature for azalea-chat in some places 2024-04-24 05:05:19 +00:00
mat
287f493172 Release independent packages
Generated by cargo-workspaces
2024-04-24 00:01:16 -05:00
mat
2f51a0a123 Release 0.10.0
azalea@0.10.0
azalea-auth@0.10.0
azalea-block@0.10.0
azalea-block-macros@0.10.0
azalea-brigadier@0.10.0
azalea-buf@0.10.0
azalea-buf-macros@0.10.0
azalea-chat@0.10.0
azalea-client@0.10.0
azalea-core@0.10.0
azalea-crypto@0.10.0
azalea-entity@0.10.0
azalea-inventory@0.10.0
azalea-inventory-macros@0.10.0
azalea-language@0.10.0
azalea-physics@0.10.0
azalea-protocol@0.10.0
azalea-protocol-macros@0.10.0
azalea-registry@0.10.0
azalea-registry-macros@0.10.0
azalea-world@0.10.0

Generated by cargo-workspaces
2024-04-23 23:56:30 -05:00
mat
df8068b79c upgrade deps 2024-04-24 04:20:39 +00:00
mat
7357455cad Revert "Release 0.10.0"
This reverts commit f26aa56f42.
2024-04-24 04:11:53 +00:00
mat
f26aa56f42 Release 0.10.0
azalea@0.10.0
azalea-auth@0.10.0
azalea-block@0.10.0
azalea-block-macros@0.10.0
azalea-brigadier@0.10.0
azalea-buf@0.10.0
azalea-buf-macros@0.10.0
azalea-chat@0.10.0
azalea-client@0.10.0
azalea-core@0.10.0
azalea-crypto@0.10.0
azalea-entity@0.10.0
azalea-inventory@0.10.0
azalea-inventory-macros@0.10.0
azalea-language@0.10.0
azalea-physics@0.10.0
azalea-protocol@0.10.0
azalea-protocol-macros@0.10.0
azalea-registry@0.10.0
azalea-registry-macros@0.10.0
azalea-world@0.10.0

Generated by cargo-workspaces
2024-04-23 23:11:11 -05:00
mat
357824014e fix ClientboundLevelParticlesPacket 2024-04-24 03:58:26 +00:00
mat
79a0d58cc5 fix warning when entities that didn't move chunks despawn 2024-04-24 03:11:26 +00:00
mat
3b635c1d6d sort generated tags 2024-04-23 21:16:18 -05:00
mat
1d80f531b7
1.20.5 (#127)
* 23w51b

* make recalculate_near_end_of_path public

so other plugins can do .after(recalculate_near_end_of_path)

* update to 24w03a i think

* start implementing 24w13a

* registries work (but a lot of packets are still broken)

* fix recipes and commands packets

* i love codecs :D i am not going insane :D mojang's java is very readable :D

* item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow

* update to 1.20.5-pre3

* fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone)

* 1.20.5-rc1

* fix failing tests

* 1.20.5
2024-04-23 10:34:50 -05:00
mat
0ddad8bd9c fix edge case with reading FormattedText as nbt 2024-04-20 21:06:37 +00:00