Updated filter reference

This commit is contained in:
DaanV2
2021-06-03 14:02:28 +02:00
parent f7d88464d1
commit 8481a485ba
74 changed files with 131 additions and 84 deletions

View File

@@ -49,13 +49,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -8,7 +8,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -3,7 +3,7 @@
"title": "Event",
"description": "Minecraft behavior event 1.10.0",
"oneOf": [
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire" },
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
{
"type": "object",
"properties": {

View File

@@ -6,7 +6,11 @@
"minProperties": 1,
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "Filters"
},
"target": { "$ref": "../../1.8.0/filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false

View File

@@ -50,13 +50,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -49,13 +49,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -7,7 +7,7 @@
"title": "Entity Type",
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -6,7 +6,11 @@
"minProperties": 1,
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "Filters"
},
"target": { "$ref": "../../1.8.0/filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false

View File

@@ -94,7 +94,11 @@
"maximum": 1.0,
"title": "Extra Baby Chance"
},
"love_filters": { "$ref": "../filters.json", "description": "The filters to run when attempting to fall in love.", "title": "Love Filters" },
"love_filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to run when attempting to fall in love.",
"title": "Love Filters"
},
"mutation_factor": {
"type": "object",
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",

View File

@@ -32,7 +32,7 @@
"description": "Specifies filters for entity definitions and events.",
"title": "On Damage",
"properties": {
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},

View File

@@ -49,13 +49,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -7,7 +7,7 @@
"title": "Entity Type",
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -6,7 +6,11 @@
"minProperties": 1,
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "Filters" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "Filters"
},
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false

View File

@@ -49,13 +49,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -27,7 +27,7 @@
},
"filters": {
"description": "The filters to use when determining if this potion can be selected.",
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"title": "Filters"
}
},

View File

@@ -18,7 +18,7 @@
"title": "Target",
"enum": ["baby", "block", "damager", "other", "parent", "player", "self", "target"]
},
"filters": { "$ref": "../filters.json" }
"filters": { "$ref": "../../filters/filters.json" }
}
}
},

View File

@@ -24,8 +24,8 @@
"knockback_range": { "type": "integer", "default": 4, "description": "The radius (in blocks) of the knockback effect.", "title": "TODO Title" },
"knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "TODO Title" },
"Trigger": { "$ref": "../types/trigger.json", "description": "On_roar_end", "title": "TODO Title" },
"knockback_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"damage_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"knockback_filters": { "$ref": "../../filters/filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"damage_filters": { "$ref": "../../filters/filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_roar_end": { "$ref": "../types/event.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -31,7 +31,7 @@
"description": "The block distance in y that will be checked for mobs that this mob detects",
"title": "Mob Detect Height"
},
"can_nap_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Can Nap Filters" },
"wake_mob_exceptions": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Wake Mob Exceptions" }
"can_nap_filters": { "$ref": "../../filters/filters.json", "description": "UNDOCUMENTATED", "title": "Can Nap Filters" },
"wake_mob_exceptions": { "$ref": "../../filters/filters.json", "description": "UNDOCUMENTATED", "title": "Wake Mob Exceptions" }
}
}

View File

@@ -10,7 +10,7 @@
"type": "object",
"description": "A entity type",
"properties": {
"filters": { "$ref": "../filters.json", "description": "Conditions that make this target a valid type.", "title": "Filters" },
"filters": { "$ref": "../../filters/filters.json", "description": "Conditions that make this target a valid type.", "title": "Filters" },
"max_dist": {
"type": "number",
"default": 16,

View File

@@ -37,7 +37,7 @@
"max_activation_range": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"cooldown_time": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"cast_duration": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"particle_color": { "type": "string", "format": "color-hex", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"weight": { "type": "integer", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"start_sound_event": { "type": "string", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },

View File

@@ -57,6 +57,6 @@
"title": "Stuck Time"
},
"leap_dist": { "type": "number", "description": "UNDOCUMENTATED", "title": "Leap Dist" },
"stuck_blocks": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Stuck Block" }
"stuck_blocks": { "$ref": "../../filters/filters.json", "description": "UNDOCUMENTATED", "title": "Stuck Block" }
}
}

View File

@@ -13,12 +13,12 @@
"title": "Broadcast Anger"
},
"broadcast_filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
},
"filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
"title": "Filters"
},

View File

@@ -17,7 +17,7 @@
"description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage Range"
},
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"entity_filter": { "$ref": "../../filters/filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
}
}

View File

@@ -118,7 +118,11 @@
"maximum": 1.0,
"title": "Extra Baby Chance"
},
"love_filters": { "$ref": "../filters.json", "description": "The filters to run when attempting to fall in love.", "title": "Love Filters" },
"love_filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to run when attempting to fall in love.",
"title": "Love Filters"
},
"mutation_factor": {
"type": "object",
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",

View File

@@ -12,7 +12,7 @@
"title": "Broadcast"
},
"celebration_targets": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
"title": "Celeberation Targets"
},

View File

@@ -32,7 +32,7 @@
"description": "Specifies filters for entity definitions and events.",
"title": "On Damage",
"properties": {
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},

View File

@@ -44,7 +44,7 @@
"title": "Despawn From Simulation Edge"
},
"filters": {
"$ref": "../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.",
"title": "Filters"
},

View File

@@ -35,7 +35,7 @@
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
"title": "Sensor Range"
},
"event_filters": { "$ref": "../filters.json" },
"event_filters": { "$ref": "../../filters/filters.json" },
"event": { "title": "Event", "description": "event", "type": "string" }
}
}

View File

@@ -6,7 +6,7 @@
"additionalProperties": false,
"properties": {
"filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
"title": "Filters"
},

View File

@@ -15,7 +15,7 @@
"description": "TODO",
"additionalProperties": false,
"properties": {
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"cause": { "type": "string", "title": "Cause", "description": "Damage cause", "$ref": "../../../../general/entity/damage_source.json" },
"damage_per_tick": { "type": "integer", "title": "Damage Per Tick", "description": "TODO" }
}

View File

@@ -12,7 +12,7 @@
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.",
"title": "Allow Invulnerable"
},
"filters": { "$ref": "../filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
"filters": { "$ref": "../../filters/filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
"look_cooldown": {
"$ref": "../types/range_number_type.json",
"default": [0.0, 0.0],

View File

@@ -18,6 +18,6 @@
"description": "The mob effect that is applied to entities that enter this entities effect range.",
"title": "Mob Effect"
},
"entity_filter": { "$ref": "../filters.json", "title": "Entity Filter", "description": "TODO" }
"entity_filter": { "$ref": "../../filters/filters.json", "title": "Entity Filter", "description": "TODO" }
}
}

View File

@@ -17,7 +17,7 @@
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": { "filters": { "$ref": "../filters.json" }, "event": { "$ref": "../types/event.json" } }
"properties": { "filters": { "$ref": "../../filters/filters.json" }, "event": { "$ref": "../types/event.json" } }
}
}
}

View File

@@ -11,7 +11,10 @@
"type": "object",
"title": "Entity Spawn",
"properties": {
"filters": { "description": "If present, the specified entity will only spawn if the filter evaluates to true", "$ref": "../filters.json" },
"filters": {
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
"$ref": "../../filters/filters.json"
},
"max_wait_time": {
"type": "integer",
"default": 600,

View File

@@ -13,7 +13,7 @@
"title": "Block Type"
},
"spawn_filter": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "One or more conditions that must be met in order to cause the chosen block type to spawn.",
"title": "Spawn Filter"
},

View File

@@ -37,7 +37,7 @@
"type": "object",
"properties": {
"add": { "title": "Add", "$ref": "#/definitions/addremove", "description": "The components groups to be added to this entity" },
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"randomize": { "type": "array", "$ref": "#/definitions/randomize" },
"remove": {
"title": "Remove",

View File

@@ -7,7 +7,7 @@
"title": "Entity Type",
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -5,7 +5,11 @@
"description": "Trigger to fire for 1.16.0",
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "TODO Title" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "TODO Title"
},
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false

View File

@@ -37,7 +37,7 @@
"type": "object",
"properties": {
"add": { "title": "Add", "$ref": "#/definitions/addremove", "description": "The components groups to be added to this entity" },
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"randomize": { "type": "array", "$ref": "#/definitions/randomize" },
"remove": {
"title": "Remove",

View File

@@ -7,7 +7,7 @@
"title": "Entity Type",
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -5,7 +5,11 @@
"description": "Trigger to fire for 1.16.100",
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "TODO Title" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "TODO Title"
},
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false

View File

@@ -27,7 +27,7 @@
},
"filters": {
"description": "The filters to use when determining if this potion can be selected.",
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"title": "Filters"
}
},

View File

@@ -39,7 +39,7 @@
},
"filters": {
"description": "Filter to determine the conditions for this mob to look at the entity",
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"title": "Filters"
}
}

View File

@@ -21,7 +21,7 @@
"default": true,
"description": "If true, the mob will do the casting animations and render spell particles"
},
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"max_activation_range": {
"type": "number",
"default": -1,

View File

@@ -13,7 +13,7 @@
"title": "Broadcast Anger"
},
"broadcast_filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
},

View File

@@ -17,7 +17,7 @@
"description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage Range"
},
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"entity_filter": { "$ref": "../../filters/filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
}
}

View File

@@ -117,7 +117,11 @@
"default": true,
"title": "Inherit Tamed"
},
"love_filters": { "$ref": "../filters.json", "description": "The filters to run when attempting to fall in love.", "title": "Love Filters" },
"love_filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to run when attempting to fall in love.",
"title": "Love Filters"
},
"mutation_factor": {
"type": "object",
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",

View File

@@ -12,7 +12,7 @@
"title": "Broadcast"
},
"celeberation_targets": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
"title": "Celeberation Targets"
},

View File

@@ -33,7 +33,7 @@
"title": "Conditional Values",
"description": "Conditions that must be met for these optimization values to be used.",
"type": "array",
"items": { "$ref": "../filters.json" }
"items": { "$ref": "../../filters/filters.json" }
}
}
}

View File

@@ -26,7 +26,7 @@
"additionalProperties": false,
"type": "object",
"properties": {
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "The list of conditions that must be satisfied before the Actor is despawned",
"title": "Filters"
},

View File

@@ -35,7 +35,7 @@
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
"title": "Sensor Range"
},
"event_filters": { "$ref": "../filters.json" },
"event_filters": { "$ref": "../../filters/filters.json" },
"event": { "title": "Event", "description": "event", "type": "string" }
}
}

View File

@@ -10,7 +10,7 @@
"description": "TODO description: on environement",
"title": "On Environement",
"properties": {
"filters": { "$ref": "../filters.json", "description": "The filters to evualate for this environment sensor", "title": "Filters" },
"filters": { "$ref": "../../filters/filters.json", "description": "The filters to evualate for this environment sensor", "title": "Filters" },
"event": { "type": "string", "pattern": "^.+$", "description": "The event to trigger if the filters are true", "title": "Event" },
"target": { "description": "The target of the event", "$ref": "../filters/types/base_subject.json" }
}

View File

@@ -6,7 +6,7 @@
"additionalProperties": false,
"properties": {
"filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
"title": "Filters"
},

View File

@@ -6,7 +6,11 @@
"additionalProperties": false,
"required": [],
"properties": {
"filters": { "$ref": "../filters.json", "description": "The filter group that defines the conditions for this trigger", "title": "Filters" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filter group that defines the conditions for this trigger",
"title": "Filters"
},
"force_use": {
"type": "boolean",
"default": false,
@@ -20,7 +24,7 @@
"type": "object",
"properties": {
"filters": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "The filter group that defines the conditions for using this item to heal the entity"
},
"heal_amount": { "type": "integer", "default": 1, "description": "The amount of health this entity gains when fed this item" },

View File

@@ -15,7 +15,7 @@
"description": "TODO",
"additionalProperties": false,
"properties": {
"filters": { "$ref": "../filters.json" },
"filters": { "$ref": "../../filters/filters.json" },
"cause": { "type": "string", "title": "Cause", "description": "Damage cause", "$ref": "../../../../general/entity/damage_source.json" },
"damage_per_tick": { "type": "integer", "title": "Damage Per Tick", "description": "TODO" }
}

View File

@@ -6,7 +6,7 @@
"additionalProperties": false,
"required": [],
"properties": {
"filters": { "$ref": "../filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
"filters": { "$ref": "../../filters/filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
"look_cooldown": {
"$ref": "../types/range_number_type.json",
"default": [0.0, 0.0],

View File

@@ -18,6 +18,6 @@
"description": "The mob effect that is applied to entities that enter this entities effect range.",
"title": "Mob Effect"
},
"entity_filter": { "$ref": "../filters.json", "title": "Entity Filter", "description": "TODO" }
"entity_filter": { "$ref": "../../filters/filters.json", "title": "Entity Filter", "description": "TODO" }
}
}

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -7,7 +7,7 @@
"required": [],
"properties": {
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../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": "TODO Title" },
"target": {
"type": "string",
"$ref": "../filters/types/base_subject.json",

View File

@@ -15,7 +15,11 @@
"title": "TODO Title"
},
"destroyOnHurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "TODO Title" },
"filter": { "$ref": "../filters.json", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "TODO Title" },
"filter": {
"$ref": "../../filters/filters.json",
"description": "Entity Definitions defined here can't be hurt by the projectile",
"title": "TODO Title"
},
"fireAffectedByGriefing": {
"type": "boolean",
"default": false,

View File

@@ -51,7 +51,7 @@
},
"filters": {
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"title": "TODO Title"
},
"single_use": {

View File

@@ -13,7 +13,7 @@
"title": "Block Type"
},
"spawn_filter": {
"$ref": "../filters.json",
"$ref": "../../filters/filters.json",
"description": "One or more conditions that must be met in order to cause the chosen block type to spawn.",
"title": "Spawn Filter"
},

View File

@@ -49,13 +49,13 @@
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"filters": { "$ref": "./filters.json" }
"filters": { "$ref": "./../filters/filters.json" }
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": { "$ref": "./filters.json" },
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -7,7 +7,7 @@
"title": "Entity Type",
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",

View File

@@ -6,7 +6,11 @@
"minProperties": 1,
"properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "$ref": "../filters.json", "description": "The filters to check to determine if the event should be fired", "title": "TODO Title" },
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired",
"title": "TODO Title"
},
"target": { "$ref": "../filters/types/base_subject.json", "description": "The entity to target", "title": "Target" }
},
"additionalProperties": false