This commit is contained in:
DaanV2
2021-07-01 16:56:10 +02:00
parent 851c0a82fd
commit 66015d42a4
22 changed files with 32 additions and 48 deletions

View File

@@ -12,9 +12,13 @@
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
"title": "Potions",
"items": {
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED: potions",
"title": "Potions",
"properties": {
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
"chance": {
@@ -27,14 +31,10 @@
},
"filters": {
"description": "The filters to use when determining if this potion can be selected.",
"$ref": "../../filters/filters.json",
"title": "Filters"
"$ref": "../../filters/filters.json"
}
},
"description": "UNDOCUMENTATED: potions",
"title": "Potions"
},
"title": "Potions"
}
}
}
}
}

View File

@@ -19,8 +19,7 @@
},
"filters": {
"$ref": "../../filters/filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
"title": "Filters"
"description": "Filter out mob types that it should not attack while angry (other Piglins)"
},
"broadcast_range": {
"type": "integer",

View File

@@ -46,8 +46,7 @@
},
"filters": {
"$ref": "../../filters/filters.json",
"description": "The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored.",
"title": "Filters"
"description": "The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored."
},
"min_range_inactivity_timer": {
"type": "integer",

View File

@@ -7,8 +7,7 @@
"properties": {
"filters": {
"$ref": "../../filters/filters.json",
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
"title": "Filters"
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size."
},
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
}

View File

@@ -8,8 +8,7 @@
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "Filters"
"description": "The filters to check to determine if the event should be fired"
},
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
}