From 97dece1acfebefe30b37a096d0adac0628a43d77 Mon Sep 17 00:00:00 2001 From: QuazChick <79767058+QuazChick@users.noreply.github.com> Date: Tue, 2 Apr 2024 08:57:17 +0100 Subject: [PATCH] Support block tags (#267) --- source/behavior/blocks/format/minecraft.block.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/behavior/blocks/format/minecraft.block.json b/source/behavior/blocks/format/minecraft.block.json index 67ec7c31..4fa916e1 100644 --- a/source/behavior/blocks/format/minecraft.block.json +++ b/source/behavior/blocks/format/minecraft.block.json @@ -42,6 +42,14 @@ "minecraft:on_step_on": { "$ref": "./triggers/on_step_on.json" }, "minecraft:queued_ticking": { "$ref": "./triggers/queued_ticking.json" }, "minecraft:random_ticking": { "$ref": "./triggers/random_ticking.json" } + }, + "patternProperties": { + "tag:.+": { + "title": "Tag", + "description": "Applies a tag to the block, using the key without the \"tag:\" prefix as the tag name.", + "type": "object", + "additionalProperties": false + } } }, "states_ref": {