diff options
| author | mat <github@matdoes.dev> | 2022-04-24 23:02:21 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-24 23:02:21 -0500 |
| commit | e4e8cae0e3c5e8048a409c56be6faf8545e2283d (patch) | |
| tree | 04956beca8f08a24949c6d941a6488b9023e1581 /azalea-protocol/src/packets/game/clientbound_update_recipes_packet.rs | |
| parent | d6f0449344b22fab40bf5ed66159ae286f2e0826 (diff) | |
| download | azalea-drasl-e4e8cae0e3c5e8048a409c56be6faf8545e2283d.tar.xz | |
start adding update recipes packet
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_update_recipes_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_update_recipes_packet.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_update_recipes_packet.rs b/azalea-protocol/src/packets/game/clientbound_update_recipes_packet.rs new file mode 100644 index 00000000..8f9deae8 --- /dev/null +++ b/azalea-protocol/src/packets/game/clientbound_update_recipes_packet.rs @@ -0,0 +1,14 @@ +use azalea_chat::component::Component; +use azalea_core::resource_location::ResourceLocation; +use packet_macros::GamePacket; + +#[derive(Clone, Debug, GamePacket)] +pub struct ClientboundUpdateRecipesPacket { + pub recipes: Vec<Recipe>, +} + +struct Recipe { + type_: ResourceLocation, + identifier: ResourceLocation, + // data +} |
