Updated
This commit is contained in:
@@ -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" }
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -7,8 +7,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" }
|
||||
},
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
"items": {
|
||||
"required": ["id", "chance", "filters"],
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
|
||||
"chance": {
|
||||
@@ -27,8 +28,7 @@
|
||||
},
|
||||
"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",
|
||||
|
||||
@@ -39,8 +39,7 @@
|
||||
},
|
||||
"filters": {
|
||||
"description": "Filter to determine the conditions for this mob to look at the entity",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"title": "Filters"
|
||||
"$ref": "../../filters/filters.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,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",
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
"properties": {
|
||||
"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."
|
||||
},
|
||||
"despawn_from_chance": {
|
||||
"type": "boolean",
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
"description": "The maximum number in degrees the mob can turn per tick.",
|
||||
"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": {
|
||||
"type": "object",
|
||||
"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,
|
||||
"properties": {
|
||||
"on_named": {
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
},
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The list of conditions for this trigger to execute.",
|
||||
"title": "Filters"
|
||||
"description": "The list of conditions for this trigger to execute."
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
},
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The list of conditions for this trigger",
|
||||
"title": "Filters"
|
||||
"description": "The list of conditions for this trigger"
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
|
||||
"filters": { "$ref": "../../filters/filters.json", "description": "The list of conditions for this trigger", "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": "Filters" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"$ref": "../../filters/filters/types/subject.json",
|
||||
"default": "self",
|
||||
"description": "The target of the event",
|
||||
"title": "TODO Title"
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,8 +52,7 @@
|
||||
},
|
||||
"filters": {
|
||||
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"title": "Filters"
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"single_use": {
|
||||
"type": "boolean",
|
||||
|
||||
@@ -9,8 +9,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" }
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.filters",
|
||||
"title": "Filters",
|
||||
"$ref": "#/definitions/groups_spec",
|
||||
"definitions": {
|
||||
"filters_spec": {
|
||||
"oneOf": [
|
||||
@@ -124,6 +125,5 @@
|
||||
{ "type": "object", "$ref": "#/definitions/filters_spec" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"$ref": "#/definitions/groups_spec"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user