-
Notifications
You must be signed in to change notification settings - Fork 3
BlockOpener v3
Hoid2 edited this page Jan 25, 2022
·
3 revisions
Block openers open based on the block a player used or attacked.
They look like:
{
...common fields...
"block": "",
"position": {},
"entityType": "",
"tags": [],
"tagOption": ""
}
(common fields are specified in Openers v3)
This is the name of the block. This is an identifier. See Common Types v3.
This is the position of the block. This is an block pos. See Common Types v3.
This is the type of block entity the block must have. This is an identifier. See Common Types v3.
These are the tags to check a block for. This is an array of identifiers. See Common Types v3.
This specifies how the tags are checked. This is a string.
Options
-
"ANY"
true if any tags match -
"NONE"
true if none of the tags match -
"ALL"
true if all of the tags match -
"EXACT"
true if all of the tags match and there are no others