1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

179 commits

Author SHA1 Message Date
mat
478fe722f5 fix unlinked link in comment 2024-12-21 03:09:40 +00:00
mat
ad30950f85 Release independent packages
Generated by cargo-workspaces
2024-12-20 19:22:29 -06:00
mat
7098375ecf Release 0.11.0+mc1.21.4
azalea@0.11.0+mc1.21.4
azalea-auth@0.11.0+mc1.21.4
azalea-block@0.11.0+mc1.21.4
azalea-block-macros@0.11.0+mc1.21.4
azalea-brigadier@0.11.0+mc1.21.4
azalea-buf@0.11.0+mc1.21.4
azalea-buf-macros@0.11.0+mc1.21.4
azalea-chat@0.11.0+mc1.21.4
azalea-client@0.11.0+mc1.21.4
azalea-core@0.11.0+mc1.21.4
azalea-crypto@0.11.0+mc1.21.4
azalea-entity@0.11.0+mc1.21.4
azalea-inventory@0.11.0+mc1.21.4
azalea-inventory-macros@0.11.0+mc1.21.4
azalea-language@0.11.0+mc1.21.4
azalea-physics@0.11.0+mc1.21.4
azalea-protocol@0.11.0+mc1.21.4
azalea-protocol-macros@0.11.0+mc1.21.4
azalea-registry@0.11.0+mc1.21.4
azalea-registry-macros@0.11.0+mc1.21.4
azalea-world@0.11.0+mc1.21.4

Generated by cargo-workspaces
2024-12-20 19:18:36 -06:00
Gaspard Culis
1f06a1540f
chore(core): Derive Serialize and Deserialize for direction types (#197)
When crate's `serde` feature is enabled
2024-12-12 15:13:16 -06:00
mat
e9136c9cbb
Implement EntityPositionSync (#196)
* implement EntityPositionSync

* fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-12-11 19:51:12 -06:00
mat
23932003d9 remove the generic_const_exprs feature since it's unused and to make the rust compiler devs happy 2024-12-11 05:39:23 +00:00
mat
097a620de1 fix for latest nightly by changing the FixedBitSet generic to take bytes instead of bits 2024-12-11 03:25:36 +00:00
mat
39f4d68e1f fix container_set_content, player_position, and recipe_book_remove packets 2024-12-05 06:30:47 +00:00
EightFactorial
6379035b85
Update Bevy and migrate to workspace dependencies and package attributes (#181)
* Use workspace `Cargo.toml` for dependencies and package atributes

* Fix a couple clippy warnings

* Update bevy, update build script, move deps to workspace, and fix clippy warnings

* Remove carrots from crate versions
The default behavior is the same

* Remove unused dependencies
Compiles and all tests pass, so it should be fine

* Update codegen to use `std::sync::LazyLock` instead of `once_cell::sync::Lazy`

* Update Bevy to `0.15.0-rc.3`
Surprisingly little needed to be changed

* Update to bevy 0.15.0

* Fix leftover merge issues

* Clarify the reason the swarm can't connect

* Fix duplicate lint, remove `log` dependency
2024-12-04 18:31:22 -06:00
mat
b71a7af53a
1.21.4 (#189)
* start updating to 1.21.4

* fix block codegen and stop using block data from burger

* 1.21.4-rc1

* 1.21.4
2024-12-03 14:42:23 -06:00
Shayne Hartford
ea5a1c1ec1
Add missing world border boolean to use item on packet in 1.21.2 (#192) 2024-11-30 18:05:35 -06:00
Shayne Hartford
944fe5c6f8
Impl FromStr for BlockPos & Vec (again) (#191) 2024-11-30 15:46:39 -06:00
mat
c36201cc89 change DataComponentPatch::get to take in a generic (and add get_kind, has, and has_kind) 2024-11-28 03:17:58 +00:00
mat
08958c2278
Refactor azalea-protocol (#190)
* start updating to 1.21.4

* fix block codegen and stop using block data from burger

* rename packet related modules and structs to be simpler

* ItemSlot -> ItemStack for more consistency with mojmap

* .get() -> .into_packet()

* simplify declare_state_packets by removing packet ids

* rename read_from and write_into to azalea_read and azalea_write

* rename McBufReadable and McBufWritable to AzaleaRead and AzaleaWrite

* McBuf -> AzBuf

* remove most uses of into_variant

* update codegen and use resourcelocation names for packets

* implement #[limit(i)] attribute for AzBuf derive macro

* fixes for 1.21.4

* fix examples

* update some physics code and fix ChatType

* remove unused imports in codegen

* re-add some things to migrate.py and update +mc version numbers automatically

* downgrade to 1.21.3 lol
2024-11-27 19:31:40 -06: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
mat
6b0fe5bf63 group imports with rustfmt 2024-10-26 05:29:26 +00:00
mat
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
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
mat
73091d8f93 fix sometimes being able to mine blocks through walls 2024-08-15 01:25:11 +00:00
mat
ea64fba7f6
upgrade to simdnbt 0.6 (#160) 2024-07-05 00:45:45 -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
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
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
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
f919fb65d6 upgrade deps 2024-04-20 04:12:16 +00:00
mat
fa96af786b Release 0.9.1
azalea@0.9.1
azalea-auth@0.9.1
azalea-block@0.9.1
azalea-block-macros@0.9.1
azalea-brigadier@0.9.1
azalea-buf@0.9.1
azalea-buf-macros@0.9.1
azalea-chat@0.9.1
azalea-client@0.9.1
azalea-core@0.9.1
azalea-crypto@0.9.1
azalea-entity@0.9.1
azalea-inventory@0.9.1
azalea-inventory-macros@0.9.1
azalea-language@0.9.1
azalea-physics@0.9.1
azalea-protocol@0.9.1
azalea-protocol-macros@0.9.1
azalea-registry@0.9.1
azalea-registry-macros@0.9.1
azalea-world@0.9.1

Generated by cargo-workspaces
2024-04-18 20:22:26 -05:00
mat
4f288b1c03 optimize physics a bit more 2024-02-26 00:55:46 -06:00
mat
13426b035e add Display for Vec3, add SimulationSet, and add EntityChunkPos component 2024-02-24 21:03:02 -06:00
mat
4eeda83ba4 add some more convenience functions 2024-02-24 06:02:11 -06:00
mat
be4f13c36c upgrade deps, bevy 0.13 2024-02-17 14:43:42 -06:00
mat
64d48897af update deps 2024-01-25 00:44:20 -06:00
mat
fd1c99e74a upgrade deps 2024-01-08 21:15:12 -06:00
mat
1347f35492 rename open_container to open_container_at and add get_open_container 2024-01-04 01:55:00 -06:00
mat
cbb2ffad92 read nbt as optional in more places 2023-12-28 17:49:47 -06:00
mat
ddf85a1be7 make ParticleData fail to compile when new particles are added to ParticleKind 2023-12-17 16:07:30 -06:00
Tijn
8643ebd362
Add missing particles (#125)
* Add missing particles

Has all particles present on https://wiki.vg/Protocol#Particle as of 17 December 2023. This also fixes particles being parsed as the incorrect type due to id shifts caused by newly added particles.

* Add missing comma
2023-12-17 15:49:04 -06:00
mat
a069ffe982 fix non-u8 gamemodes
love you wynncraft
2023-12-16 14:29:49 -06:00
mat
a960dba87d default to survival mode when GameMode is out of bounds 2023-12-16 13:39:45 -06:00
mat
a707e2eb82
Add mining to the pathfinder (#122)
* basic pathfinder mining poc

* mining descending and autotool

* pathfinder mining descending

* pathfinder fixes

* allow disabling pathfinder miner and other fixes

* small optimization to avoid chunk vec iter lookup sometimes

* seeded rng in pathfinder bench

* consistently use f32::INFINITY

this brings performance much closer to how it was before

* astar heuristic optimization from baritone

* add downward_move

* fix downward move execute

* avoid liquids and falling blocks when mining

* fix COST_HEURISTIC

* fix to not path through flowing liquids

* only reset pathfinder timeout while mining if the block is close enough

* cache mining costs of block positions

* fix mine_while_at_start and move PathfinderDebugParticles to its own module

* add ReachBlockPosGoal

in other news: azalea's sin/cos functions were broken this whole time and i never noticed

* clippy and add things that i accidentally didn't commit

* improve wording on doc for azalea::pathfinder
2023-12-15 11:26:40 -06:00
mat
cc0717f45e i didn't actually commit the code 2023-12-13 22:03:54 -06:00
mat
c5b15c0293 put azalea_core::tick behind feature flag 2023-12-05 11:19:53 -06:00
mat
6567cf9e5c Release 0.9.0
azalea@0.9.0
azalea-auth@0.9.0
azalea-block@0.9.0
azalea-block-macros@0.9.0
azalea-brigadier@0.9.0
azalea-buf@0.9.0
azalea-buf-macros@0.9.0
azalea-chat@0.9.0
azalea-client@0.9.0
azalea-core@0.9.0
azalea-crypto@0.9.0
azalea-entity@0.9.0
azalea-inventory@0.9.0
azalea-inventory-macros@0.9.0
azalea-language@0.9.0
azalea-physics@0.9.0
azalea-protocol@0.9.0
azalea-protocol-macros@0.9.0
azalea-registry@0.9.0
azalea-registry-macros@0.9.0
azalea-world@0.9.0

Generated by cargo-workspaces
2023-12-05 11:06:51 -06:00
mat
ab5f6d598d upgrade deps 2023-12-05 11:06:24 -06:00
mat
7857a014b9
1.20.3 (#110)
* 23w40a

* 23w41a

* 23w42a

* 23w43a

* 23w44a

* serialize FormattedText as nbt in network

* use azalea-nbt/serde in azalea-chat

* 23w45a

* fix 23w45a to compile

* handle Object in codegen

* 1.20.3-pre2

* remove unused clientbound_resource_pack_packet.rs

* merge main and make azalea-chat use simdnbt

* 1.20.3-rc1

* fix tests

* use simdnbt 0.3

* fix ServerboundSetJigsawBlockPacket

* 1.20.3
2023-12-05 10:59:05 -06:00
mat
421d8ce2c8
Replace Bevy's FixedUpdate with Azalea's GameTick (#119)
* replace bevy FixedUpdate with azalea GameTick

* Update to Bevy 0.12.1
2023-12-04 23:42:49 -06:00