From 5f29445c81d8d3a8e26b050221c37d4aa8af9dff Mon Sep 17 00:00:00 2001 From: Bertie2011 <44732286+Bertie2011@users.noreply.github.com> Date: Tue, 16 Feb 2021 08:24:15 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3495cd..dadb96a 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ View [the documentation](https://github.com/Bertie2011/DataPackChecker/wiki/For-
Core.Blacklist.Commands
Certain commands are not allowed in certain functions.
Some commands are not allowed in some functions. Each command will be tested with a filter.

A filter consists of multiple lists, one for resource location ([#]{namespace}:[path/]{name}) and one for commands. Each list contains regular expressions and the first match determines the verdict based on a + (allow) or - (disallow) prefix.

-If there is a referencing function/tag of which the first match in the 'resources' list is prefixed with - AND the first match in the 'commands' list is prefixed with -, the command is disallowed. +If the first match in the 'resources' list (matching any referencing function/tag) is prefixed with - AND the first match in the 'commands' list is prefixed with -, the command is disallowed. Each command will produce an error for each of the filters with a double negative match.
Core.Blacklist.Identifier
Certain identifiers are not allowed in certain functions.
Some identifiers of in-game resources are not allowed in some functions. Each identifier (e.g. an objective name) will be tested with a filter.

A filter consists of multiple lists, one for resource location ([#]{namespace}:[path/]{name}), one for namespaced identifiers and one for plain identifiers. Each list contains regular expressions and the first match determines the verdict based on a + (allow) or - (disallow) prefix.

-If there is a referencing function/tag of which the first match in the 'resources' list is prefixed with - AND the first match in the 'namespace'/'plain' list is prefixed with -, the identifier is disallowed.

+If the first match in the 'resources' list (matching any referencing function/tag) is prefixed with - AND the first match in the 'namespace'/'plain' list is prefixed with -, the identifier is disallowed.

Each identifier will produce an error for each of the filters with a double negative match.
Core.Blacklist.ResourceLocation
Certain resource locations are blacklisted.