diff --git a/src/test/scripts/general/nbt-test.sk b/src/test/scripts/general/nbt-test.sk index 6c2b8521..b289fd6a 100644 --- a/src/test/scripts/general/nbt-test.sk +++ b/src/test/scripts/general/nbt-test.sk @@ -29,9 +29,15 @@ test "SkBee - simple nbt compound": assert int tag "minecraft:custom_model_data" of {_n} is set with "tag ""minecraft:custom_model_data"" of an item should be set" assert int tag "minecraft:custom_model_data" of {_n} = 1 with "tag ""minecraft:custom_model_data"" of an item should be 1" + # Test that vanilla NBT of an item works + set {_vn} to vanilla nbt of {_i} + assert {_vn} is set with "Vanilla NBT of an item should work" + # Test that Pretty nbt works set {_pretty} to pretty nbt of {_n} assert {_pretty} is set with "Pretty NBT should have worked" + set {_vp} to pretty nbt of {_vn} + assert {_vp} is set with "Pretty NBT of vanilla nbt should have worked" # Test adding/removing to/from lists set {_n} to empty nbt compound