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

131 commits

Author SHA1 Message Date
mat
881055e587 fix InstanceName desync 2025-05-02 01:20:25 +00:00
mat
b3af8d73fa update to bevy 0.16 2025-04-25 01:10:03 -01:00
mat
fd27ca3bec release 0.12.0+mc1.21.5 2025-04-13 05:30:40 +03:00
mat
960b840536 Revert "Release 0.12.0"
This reverts commit e2945b90a9.
2025-04-12 13:33:07 -12:45
mat
e2945b90a9 Release 0.12.0
azalea@0.12.0
azalea-auth@0.12.0
azalea-block@0.12.0
azalea-block-macros@0.12.0
azalea-brigadier@0.12.0
azalea-buf@0.12.0
azalea-buf-macros@0.12.0
azalea-chat@0.12.0
azalea-client@0.12.0
azalea-core@0.12.0
azalea-crypto@0.12.0
azalea-entity@0.12.0
azalea-inventory@0.12.0
azalea-inventory-macros@0.12.0
azalea-language@0.12.0
azalea-physics@0.12.0
azalea-protocol@0.12.0
azalea-protocol-macros@0.12.0
azalea-registry@0.12.0
azalea-registry-macros@0.12.0
azalea-world@0.12.0

Generated by cargo-workspaces
2025-04-12 21:08:44 -05:00
mat
1be8d8638f optimization: only run update_on_climbable for local entities 2025-04-13 01:45:07 +06:00
mat
e99ae608b6 rename ChatPacket::username and uuid to sender and sender_uuid
also adds more convenience functions to Client
2025-04-04 18:24:22 -02:00
mat
5272db8bb4 remove executable bit from files 2025-04-04 15:56:06 +00:00
mat
4e5c551d65 fix entity deindexing happening at the wrong time 2025-03-28 00:54:17 +00:00
mat
ef357fdf36
1.21.5 (#198)
* 25w02a

* move item_components codegen to a different module

* remove outdated test

* 25w03a

* start updating to 24w09b

* 1.21.5-pre2

* fix broken packets

* 1.21.5-rc2

* merge main

* delete unused acket_handling

* 1.21.5
2025-03-25 11:17:39 -05:00
mat
5c7332b469 add Event::Spawn 2025-03-20 03:30:57 +00:00
mat
13d5cbed1f document Position default 2025-03-20 01:49:15 +00:00
mat
b0bd992adc
Fluid physics fixes (#210)
* start fixing code related to fluid physics

* implement force_solid for blocks

* afk pool test
2025-03-16 13:41:17 -05:00
mat
95bdb362ba improve Swarm docs and change an indexing warning to a debug log 2025-03-13 21:27:48 +00:00
mat
7a192acc99 properly remove from the EntityIdIndex component on despawn 2025-03-13 20:13:58 +00:00
mat
cf66c4be10 fix despawning entities on dimension change 2025-03-06 04:11:19 +00:00
mat
7d6cacc79b fix send_receivepacketevent running outside of game state 2025-02-24 04:24:52 +00:00
mat
dd557c8f29 fix memory leak in simulation tests (lol)
also, change some vecs into boxed slices, and add RelativeEntityUpdate::new
2025-02-23 08:47:17 +00:00
mat
e21e1b97bf
Refactor azalea-client (#205)
* start organizing packet_handling more by moving packet handlers into their own functions

* finish writing all the handler functions for packets

* use macro for generating match statement for packet handler functions

* fix set_entity_data

* update config state to also use handler functions

* organize az-client file structure by moving things into plugins directory

* fix merge issues
2025-02-22 21:45:26 -06:00
mat
34f53baf85 update to rust edition 2024 2025-02-22 23:01:54 +00:00
mat
74b52a1fc1 fix is_trapdoor_useable_as_ladder and add test 2025-02-22 21:09:35 +00:00
mat
27945c8870 despawn entities when switching worlds and some testbot fixes 2025-02-21 22:50:39 +00:00
mat
8d110a9f7c cleanup, fix warnings 2025-02-02 21:17:28 +00:00
mat
b08d3d55d7 start implementing data driven registries 2025-02-02 21:15:45 +00:00
mat
4562967b61 set player metadata on init instead of login 2025-02-01 21:26:37 +00:00
mat
87c34e1c33 add failing test_set_health_before_login test 2025-02-01 20:35:57 +00:00
mat
ef25e77e52 add data for EntityEffect particle to fix set_entity_data errors on hypixel 2025-01-29 02:02:39 +00:00
mat
a86d011d4a change some warnings to debug logs and improve some entity id index code 2025-01-13 06:11:14 +00:00
mat
608ccb8e54 fix panic on bot disconnect 2025-01-12 05:07:53 +00:00
mat
a5cb21f039 codegen entity dimensions 2025-01-11 08:14:19 +00:00
mat
e03101a7b7 dead entities cannot be revived 2025-01-11 04:35:10 +00:00
mat
31d0ac7568 update wrong entity metadata 2025-01-11 04:09:39 +00:00
mat
0d16f01571
Fluid physics (#199)
* start implementing fluid physics

* Initial implementation of fluid pushing

* different travel function in water

* bubble columns

* jumping in water

* cleanup

* change ultrawarm to be required

* fix for clippy
2025-01-10 16:45:27 -06:00
mat
5693191b57 implement fluid_shape 2024-12-27 12:35:25 +00:00
mat
f03e0c2235 fix parsing Dust particle and treat waterlogged blocks as liquid in pathfinder 2024-12-24 08:48:36 +00:00
mat
1609b90a93 rename metadata::State to metadata::SnifferState 2024-12-23 09:55:21 +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
mat
c7cb73d22b update entity metadata 2024-12-20 23:56:43 +00: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
f4a1869a7d fix incorrect EntityDataValue::Long 2024-12-11 03:54:12 +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
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
mat
139d77d3c2 make item in EntityMetadataItems public
closes #169
2024-11-27 10:55:37 +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
mat
6b0fe5bf63 group imports with rustfmt 2024-10-26 05:29:26 +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
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