Updated filter reference
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -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],
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user