Updated
This commit is contained in:
@@ -8,8 +8,7 @@
|
|||||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The filters to check to determine if the event should be fired",
|
"description": "The filters to check to determine if the event should be fired"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The filters to check to determine if the event should be fired",
|
"description": "The filters to check to determine if the event should be fired"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The filters to check to determine if the event should be fired",
|
"description": "The filters to check to determine if the event should be fired"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -12,9 +12,13 @@
|
|||||||
"potions": {
|
"potions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "A list of potions that this entity can drink.",
|
"description": "A list of potions that this entity can drink.",
|
||||||
|
"title": "Potions",
|
||||||
"items": {
|
"items": {
|
||||||
"required": ["id", "chance", "filters"],
|
"required": ["id", "chance", "filters"],
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
"type": "object",
|
||||||
|
"description": "UNDOCUMENTATED: potions",
|
||||||
|
"title": "Potions",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
|
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
|
||||||
"chance": {
|
"chance": {
|
||||||
@@ -27,14 +31,10 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"description": "The filters to use when determining if this potion can be selected.",
|
"description": "The filters to use when determining if this potion can be selected.",
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json"
|
||||||
"title": "Filters"
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"description": "UNDOCUMENTATED: potions",
|
|
||||||
"title": "Potions"
|
|
||||||
},
|
|
||||||
"title": "Potions"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
|
"description": "Filter out mob types that it should not attack while angry (other Piglins)"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"broadcast_range": {
|
"broadcast_range": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
@@ -46,8 +46,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$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.",
|
"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"
|
|
||||||
},
|
},
|
||||||
"min_range_inactivity_timer": {
|
"min_range_inactivity_timer": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
|
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size."
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
|
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The filters to check to determine if the event should be fired",
|
"description": "The filters to check to determine if the event should be fired"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The filters to check to determine if the event should be fired",
|
"description": "The filters to check to determine if the event should be fired"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"required": ["id", "chance", "filters"],
|
"required": ["id", "chance", "filters"],
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
|
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
|
||||||
"chance": {
|
"chance": {
|
||||||
@@ -27,8 +28,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"description": "The filters to use when determining if this potion can be selected.",
|
"description": "The filters to use when determining if this potion can be selected.",
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json"
|
||||||
"title": "Filters"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "UNDOCUMENTATED: potions",
|
"description": "UNDOCUMENTATED: potions",
|
||||||
|
|||||||
@@ -39,8 +39,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"description": "Filter to determine the conditions for this mob to look at the entity",
|
"description": "Filter to determine the conditions for this mob to look at the entity",
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json"
|
||||||
"title": "Filters"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,8 +21,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
|
"description": "Filter out mob types that it should not attack while angry (other Piglins)"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"broadcast_range": {
|
"broadcast_range": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$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.",
|
"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"
|
|
||||||
},
|
},
|
||||||
"despawn_from_chance": {
|
"despawn_from_chance": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
|
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size."
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
|
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,6 @@
|
|||||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||||
"title": "Maximum Turn"
|
"title": "Maximum Turn"
|
||||||
},
|
},
|
||||||
"sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" }
|
"sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Sway Amplitude" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"name_actions": {
|
"name_actions": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
|
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
|
||||||
"title": "TODO Title",
|
"title": "Name Actions",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"on_named": {
|
"on_named": {
|
||||||
|
|||||||
@@ -13,8 +13,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The list of conditions for this trigger to execute.",
|
"description": "The list of conditions for this trigger to execute."
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -13,8 +13,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The list of conditions for this trigger",
|
"description": "The list of conditions for this trigger"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "Event" },
|
||||||
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
|
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "title": "Filters" },
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$ref": "../../filters/filters/types/subject.json",
|
"$ref": "../../filters/filters/types/subject.json",
|
||||||
"default": "self",
|
"default": "self",
|
||||||
"description": "The target of the event",
|
"description": "The target of the event",
|
||||||
"title": "TODO Title"
|
"title": "Target"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,8 +52,7 @@
|
|||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
|
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"single_use": {
|
"single_use": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@@ -9,8 +9,7 @@
|
|||||||
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
|
||||||
"filters": {
|
"filters": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"description": "The filters to check to determine if the event should be fired",
|
"description": "The filters to check to determine if the event should be fired"
|
||||||
"title": "Filters"
|
|
||||||
},
|
},
|
||||||
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$id": "blockception.minecraft.behavior.entities.minecraft.filters",
|
"$id": "blockception.minecraft.behavior.entities.minecraft.filters",
|
||||||
"title": "Filters",
|
"title": "Filters",
|
||||||
|
"$ref": "#/definitions/groups_spec",
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"filters_spec": {
|
"filters_spec": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
@@ -124,6 +125,5 @@
|
|||||||
{ "type": "object", "$ref": "#/definitions/filters_spec" }
|
{ "type": "object", "$ref": "#/definitions/filters_spec" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"$ref": "#/definitions/groups_spec"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user