53fca5faf4
fix errors when switching worlds
2025-01-21 23:53:11 +00:00
900a4234e5
fix wrong ClientboundSoundEntity
2025-01-21 23:21:08 +00:00
2dcfbe96c3
fix wrong ServerLinkKind and serialize hex colors correctly in nbt
2025-01-14 03:18:38 +00:00
5721eaf193
fix ClientboundSound and implement az_registry::Holder
2025-01-13 04:52:40 +00:00
a1435b3b95
fix bugs with decoding/encoding DataComponentPatch
2025-01-12 22:43:37 +00:00
615d8f9d2a
bump minimum rust version and improve pathfinder docs
2024-12-28 02:10:05 +00:00
f03e0c2235
fix parsing Dust particle and treat waterlogged blocks as liquid in pathfinder
2024-12-24 08:48:36 +00:00
2c37ade959
add a test for 2b2t queue chat message
2024-12-23 02:01:58 +00:00
527333f2b7
more verbose login_disconnect error
2024-12-21 00:02:54 +00:00
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
097a620de1
fix for latest nightly by changing the FixedBitSet generic to take bytes instead of bits
2024-12-11 03:25:36 +00:00
39f4d68e1f
fix container_set_content, player_position, and recipe_book_remove packets
2024-12-05 06:30:47 +00: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
f364ad6b21
switch some packet structs to unit structs
2024-11-28 20:33:39 +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
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
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
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
5e99c2218d
Add missing yaw and patch fields to ServerboundUseItemPacket ( #178 )
...
(cherry picked from commit ed7b306aff5ed1d1ce9659d41f76f3f3a6884dd6)
2024-10-22 00:24:09 -05:00
dec544a52b
fix ClientboundLevelParticlesPacket errors and pathfinder /particle errors
2024-08-15 01:24:03 +00: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
f66d2d4767
1.21 ( #145 )
...
* 24w18a (data driven enchantments not implemented yet)
* 1.21
2024-06-13 19:52:05 -05:00
73bcc6639b
fix another edge case in FormattedText::from_nbt_tag that happens with viaversion
2024-05-22 10:28:43 +00:00
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
357824014e
fix ClientboundLevelParticlesPacket
2024-04-24 03:58:26 +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
0ddad8bd9c
fix edge case with reading FormattedText as nbt
2024-04-20 21:06:37 +00:00
veronoicc
7fc31f9506
Update clientbound_game_event_packet.rs ( #133 )
...
Added 2 new game even types
2024-03-08 10:56:55 -06:00
c38957374c
fix parsing textcomponents failing when it's translatable and has a primitive as an argument
2024-02-24 14:00:09 -06:00
038807e607
fix for hypixel limbo
2024-02-22 22:41:54 -06:00
7feee2954d
remove unnecessary map_err
2024-01-20 17:35:54 -06:00
cfbfdd77b4
fix ping packet, explosion packet, and panic less
2024-01-08 00:12:54 -06:00
13e6421cf5
fix FormattedText when 'extra' isn't a list of compounds
2023-12-28 18:36:23 -06:00
cbb2ffad92
read nbt as optional in more places
2023-12-28 17:49:47 -06:00
Tijn
7aca36805a
Publicize all fields on AddOperation
and Style
( #124 )
...
The struct itself was already public, I assume the fields where meant to be as well.
2023-12-17 15:52:34 -06:00
a069ffe982
fix non-u8 gamemodes
...
love you wynncraft
2023-12-16 14:29:49 -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
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
34a4027010
change protocol_version to an i32
2023-12-02 15:49:54 -06:00
mat
2c610826fc
Replace azalea-nbt with simdnbt ( #111 )
...
* delete azalea-nbt and replace with simdnbt
* use simdnbt from crates.io
* remove serde dependency on azalea-registry
2023-11-19 22:07:38 -06:00
f0b58c7e74
share registries in swarms and fix some bugs
2023-11-18 20:44:49 -06:00
9633508a3a
replace log with tracing
2023-11-18 00:58:47 -06:00
eeec59adab
KnockbackEvent and rename Physics::delta to velocity
2023-10-12 22:39:29 -05:00
38db231ea8
brigadier usages
2023-10-12 20:14:29 -05:00
befa33a879
organize azalea_core and re-export it from azalea
2023-10-01 15:19:13 -05:00