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

@@ -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" }
}
}