From 08adaaeffd3e7f18026fa083f1a8f1036090a7a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Nov 2020 04:33:30 +0000 Subject: [PATCH] Merge docs for 'added support for block predicate argument support and function. Fixes #563' --- docs/scarpet/Full.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index 27d933c0..59ad59c2 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -4432,6 +4432,12 @@ Consult section about container operations in `Expression` to learn about possib Excapes all the special characters in the string or nbt tag and returns a string that can be stored in nbt directly as a string value. +### `tag_matches(daddy_tag, baby_tag, match_lists?)` + +Utility returning `true` if `baby_tag` is fully contained in `daddy_tag`. Anything matches `null` baby tag, and +Nothing is contained in a `null` daddy tag. If `match_lists` is specified and `false`, content of nested lists is ignored. +Default behaviour is to match them. + ### `parse_nbt(tag)` Converts NBT tag to a scarpet value, which you can navigate through much better.