Updated filter reference
This commit is contained in:
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"title": "Target",
|
||||
"enum": ["baby", "block", "damager", "other", "parent", "player", "self", "target"]
|
||||
},
|
||||
"filters": { "$ref": "../filters.json" }
|
||||
"filters": { "$ref": "../../filters/filters.json" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user