Add doumentation

This commit is contained in:
Daan Verstraten
2022-03-12 10:47:13 +01:00
parent 766dcf622e
commit 09f5e08110

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.avoid_block", "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.avoid_block",
"type": "object", "type": "object",
"title": "Avoid Block", "title": "Avoid Block",
"description": "UNDOCUMENTED", "description": "Makes the entity avoid certain blocks while walking, or run away from it",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
@@ -12,25 +12,25 @@
"tick_interval": { "tick_interval": {
"type": "integer", "type": "integer",
"title": "Tick Interval", "title": "Tick Interval",
"description": "UNDOCUMENTED", "description": "The amount of ticks between each search",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"title": "Search Range", "title": "Search Range",
"description": "UNDOCUMENTED", "description": "The range of the search in blocks",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"title": "Search Height", "title": "Search Height",
"description": "UNDOCUMENTED", "description": "The height of the search",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"sprint_speed_modifier": { "sprint_speed_modifier": {
"type": "number", "type": "number",
"title": "Sprint Speed Modifier", "title": "Sprint Speed Modifier",
"description": "UNDOCUMENTED", "description": "The speed modifier to apply when walking away from the block",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"target_selection_method": { "target_selection_method": {
@@ -42,13 +42,11 @@
"target_blocks": { "target_blocks": {
"type": "array", "type": "array",
"title": "Target Blocks", "title": "Target Blocks",
"description": "UNDOCUMENTED", "description": "What blocks are to be avoided",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "items": {
"type": "string",
"title": "Block ID", "title": "Block ID",
"description": "UNDOCUMENTED", "$ref": "../../../../general/block/identifier.json"
"$comment": "UNDOCUMENTED"
} }
}, },
"avoid_block_sound": { "avoid_block_sound": {
@@ -121,4 +119,4 @@
"on_escape": [] "on_escape": []
} }
] ]
} }