Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.preferred_path.json

25 lines
1.1 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.preferred_path",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Preferred Path 1.8.0",
2020-11-01 17:22:42 +01:00
"description": "Specifies costing information for mobs that prefer to walk on preferred paths.",
"additionalProperties": false,
"required": ["preferred_path_blocks"],
"properties": {
2021-03-21 15:18:38 +01:00
"default_block_cost": { "type": "number", "default": 0, "description": "Cost for non-preferred blocks", "title": "TODO Title" },
"jump_cost": { "type": "integer", "default": 0, "description": "Added cost for jumping up a node", "title": "TODO Title" },
"max_fall_blocks": { "type": "integer", "default": 3, "description": "Distance mob can fall without taking damage", "title": "TODO Title" },
2020-11-01 17:22:42 +01:00
"preferred_path_blocks": {
"type": "array",
"description": "A list of blocks with their associated cost",
"items": {
"additionalProperties": false,
"type": "object",
"description": "Blocks cost",
2021-03-21 15:18:38 +01:00
"properties": { "cost": { "type": "number" }, "blocks": { "type": "array", "items": { "$ref": "../../../../general/blocks_item.json" } } }
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
}
}
}