From ac63ee5ece972ded5bf661eeedef6d992f1dcab6 Mon Sep 17 00:00:00 2001 From: ice_iix Date: Sun, 10 Jan 2021 15:00:34 -0800 Subject: [PATCH] protocol: add angle command node (fixes #466) --- protocol/src/protocol/packet.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/src/protocol/packet.rs b/protocol/src/protocol/packet.rs index ae260dd..a7527ca 100644 --- a/protocol/src/protocol/packet.rs +++ b/protocol/src/protocol/packet.rs @@ -3092,6 +3092,7 @@ pub enum CommandProperty { Entity { flags: u8, }, + Angle, GameProfile, BlockPos, ColumnPos, @@ -3220,6 +3221,7 @@ impl Serializable for CommandNode { "minecraft:entity" => CommandProperty::Entity { flags: Serializable::read_from(buf)?, }, + "minecraft:angle" => CommandProperty::Angle, "minecraft:game_profile" => CommandProperty::GameProfile, "minecraft:block_pos" => CommandProperty::BlockPos, "minecraft:column_pos" => CommandProperty::ColumnPos,