Updated
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"title": "Trigger",
|
||||
"description": "Trigger to fire",
|
||||
"examples": [
|
||||
"event:example",
|
||||
{
|
||||
"filters": [],
|
||||
"target": "self",
|
||||
|
||||
Reference in New Issue
Block a user