This commit is contained in:
DaanV2
2022-02-04 23:03:12 +01:00
7 changed files with 7 additions and 105 deletions

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.filters",
"title": "Filters",
"$ref": "#/definitions/groups_spec",
"examples": [{ "test": "is_family", "value": "example" }, { "test": "has_tag", "value": "example" }, []],
"examples": [{ "test": "is_family", "subject": "other", "value": "example" }, { "test": "has_tag", "value": "example" }, []],
"definitions": {
"filters_spec": {
"defaultSnippets": [

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.entities.event",
"title": "Event",
"description": "Minecraft behavior event",
"examples": [{ "event": "example:foo", "target": "self" }],
"examples": ["example:foo", { "event": "example:foo", "target": "self" }],
"defaultSnippets": [
{
"label": "New Event",

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.type.range_number_type",
"title": "Range [A, B]",
"description": "A described range",
"examples": [1, 2, 3, [0.0, 1.0]],
"examples": [[0.0, 1.0]],
"items": [
{ "type": "number", "title": "A", "description": "The first value of the range" },
{ "type": "number", "title": "B", "description": "The second value of the range" }

View File

@@ -3,6 +3,7 @@
"title": "Trigger",
"description": "Trigger to fire",
"examples": [
"event:example",
{
"filters": [],
"target": "self",