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

51 commits

Author SHA1 Message Date
mat
87c34e1c33 add failing test_set_health_before_login test 2025-02-01 20:35:57 +00:00
mat
6c681adc4d change some warns to debugs 2025-01-29 05:45:17 +00:00
mat
ed00a5b8f1 don't warn on release mode for unknown PlayerInfoUpdate 2025-01-27 18:14:53 +00:00
mat
f2d8d4211b fix name of field in CommonPlayerSpawnInfo 2025-01-21 23:55:44 +00:00
mat
53fca5faf4 fix errors when switching worlds 2025-01-21 23:53:11 +00:00
mat
2dcfbe96c3 fix wrong ServerLinkKind and serialize hex colors correctly in nbt 2025-01-14 03:18:38 +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
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
2f1fe5f9f6 partial fix for sending Config packets during Game 2024-12-25 09:58:32 +00:00
mat
e268c49291 fix incorrect packets 2024-12-19 02:52:41 +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
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
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
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
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
mat
729d211406 read Tool blocks as HolderSet
fixes an error with viaversion servers
2024-05-22 10:14:35 +00: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
8a1e1b7bb9 clippy 2024-04-20 04:03:03 +00:00
mat
64fceff1cc track entity rotations 2024-02-24 00:39:38 -06:00
mat
5c85158e7c fix 'CommandQueue has un-applied commands being dropped.' spam 2024-02-23 23:43:41 -06:00
mat
69f7eebcb3 fix for hypixel (wasn't sending ClientInformation on configuration) 2024-02-18 02:25:27 -06:00
mat
be4f13c36c upgrade deps, bevy 0.13 2024-02-17 14:43:42 -06:00
mat
10ee7e147d fix typos in code with crate-ci/typos 2023-12-09 18:36:16 -06:00
mat
c9a18bc6a1 apply command in StartConfiguration 2023-12-07 15:55:26 -06:00
mat
26bd9be55f implement StartConfiguration packet maybe 2023-12-07 15:54:37 -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
797dd91710 revert packet name to Disguised and make it more like ChatPacket::Player 2023-12-04 14:27:13 -06:00
Shayne Hartford
888c276503
Add masked chat type/event (#118) 2023-12-04 14:26:53 -06:00
mat
3e168a33c9 let plugins override query responses 2023-12-03 16:17:46 -06:00
mat
a42161a203 clippy 2023-12-03 02:42:45 -06:00
mat
1f46ef8c11 make it so plugins can send and receive packets during the login state 2023-12-03 02:41:09 -06:00
mat
45f9d27601 disconnect fixes 2023-12-01 22:49:44 -06:00
1zuna
fbee81e609
addd disconnect reason (#114) 2023-12-01 22:45:12 -06:00
mat
f0b58c7e74 share registries in swarms and fix some bugs 2023-11-18 20:44:49 -06:00
mat
000abfa136 make loading chunks its own bevy system 2023-11-18 14:54:01 -06:00
mat
89f5053b47 upgrade all dependencies 2023-11-18 01:02:52 -06:00
mat
9633508a3a replace log with tracing 2023-11-18 00:58:47 -06:00
mat
71cd3f021e make packet an Arc in PacketEvent 2023-11-18 00:49:44 -06:00
mat
e39de79a6b simplify some code 2023-11-18 00:07:25 -06:00
mat
ee55453fbf bevy 0.12 2023-11-06 18:04:57 -06:00
mat
97ec9f7c7d rename KnockbackEvent::kind to knockback 2023-10-12 22:43:05 -05:00
mat
eeec59adab KnockbackEvent and rename Physics::delta to velocity 2023-10-12 22:39:29 -05:00
mat
682609a24e knockback 2023-10-08 03:24:29 -05:00
mat
30702d94f6 fix QueryDoesNotMatch and improve error 2023-10-06 15:23:36 -05:00
mat
d0505f7de3 optimize pathfinder more 2023-10-02 17:51:38 -05:00
mat
befa33a879 organize azalea_core and re-export it from azalea 2023-10-01 15:19:13 -05:00
mat
fd63adcb41 update block shapes 2023-09-29 16:34:23 -05:00
mat
0bf8291388 check for entity duplication before spawning
this fixes behavior where in swarms entities in the world might sometimes have a duplicate that gets spawned and despawned immediately
2023-09-28 21:57:36 -05:00