From 5e570eb30f2cb8eb2f78c575c7b47100c9c7abdb Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 20 Nov 2023 23:22:36 +0100 Subject: [PATCH] docs: a more impressive packet --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56d38ea..c4578d5 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ the whole Minecraft protocol from `0.30c` to `1.19.3` is compiled and available feature flags to only include certain protocol versions are planned all types and packets are instantiable and serializable on all supported protocols: ```py -from aiocraft.proto import PacketArmAnimation +from aiocraft.proto.play.serverbound import PacketPosition -a_packet = PacketArmAnimation(hand=0) +a_packet = PacketPosition(x=-4.0, y=64.0, z=10.5, onGround=True) await client.dispatcher.write(a_packet) ```