protocol: add angle command node (fixes #466)

This commit is contained in:
ice_iix 2021-01-10 15:00:34 -08:00
parent 622cf164f9
commit ac63ee5ece
1 changed files with 2 additions and 0 deletions

View File

@ -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,