Add missing time, nbt{_compound,}_tag command nodes. Fixes #227

This commit is contained in:
ice_iix 2019-11-02 13:43:00 -07:00
parent 57da39bb79
commit 7c49ca3c0d
1 changed files with 6 additions and 0 deletions

View File

@ -2724,6 +2724,7 @@ pub enum CommandProperty {
GameProfile,
BlockPos,
ColumnPos,
Time,
Vec3,
Vec2,
BlockState,
@ -2735,6 +2736,8 @@ pub enum CommandProperty {
Message,
Nbt,
NbtPath,
NbtTag,
NbtCompoundTag,
Objective,
ObjectiveCriteria,
Operation,
@ -2824,6 +2827,7 @@ impl Serializable for CommandNode {
"minecraft:game_profile" => CommandProperty::GameProfile,
"minecraft:block_pos" => CommandProperty::BlockPos,
"minecraft:column_pos" => CommandProperty::ColumnPos,
"minecraft:time" => CommandProperty::Time,
"minecraft:vec3" => CommandProperty::Vec3,
"minecraft:vec2" => CommandProperty::Vec2,
"minecraft:block_state" => CommandProperty::BlockState,
@ -2835,6 +2839,8 @@ impl Serializable for CommandNode {
"minecraft:message" => CommandProperty::Message,
"minecraft:nbt" => CommandProperty::Nbt,
"minecraft:nbt_path" => CommandProperty::NbtPath,
"minecraft:nbt_tag" => CommandProperty::NbtTag,
"minecraft:nbt_compound_tag" => CommandProperty::NbtCompoundTag,
"minecraft:objective" => CommandProperty::Objective,
"minecraft:objective_criteria" => CommandProperty::ObjectiveCriteria,
"minecraft:operation" => CommandProperty::Operation,