2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.generic",
|
2022-07-26 15:05:38 +01:00
|
|
|
"title": "Navigation Generic",
|
2021-10-08 12:59:03 +02:00
|
|
|
"description": "Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"avoid_damage_blocks": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Avoid Damage Blocks"
|
|
|
|
|
},
|
|
|
|
|
"avoid_portals": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Avoid Portals"
|
|
|
|
|
},
|
|
|
|
|
"avoid_sun": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Avoid Sun"
|
|
|
|
|
},
|
|
|
|
|
"avoid_water": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder to avoid water when creating a path.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Avoid Water"
|
|
|
|
|
},
|
|
|
|
|
"blocks_to_avoid": {
|
|
|
|
|
"type": "array",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder which blocks to avoid when creating a path.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Blocks To Avoid",
|
|
|
|
|
"items": {
|
|
|
|
|
"title": "Block",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder which blocks to avoid when creating a path.",
|
2021-10-31 15:15:11 +01:00
|
|
|
"$ref": "../../../../general/block/reference.json"
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"can_breach": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin).",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Breach"
|
|
|
|
|
},
|
|
|
|
|
"can_break_doors": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder that it can path through a closed door and break it.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Break Doors"
|
|
|
|
|
},
|
|
|
|
|
"can_jump": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can jump up blocks.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Jump"
|
|
|
|
|
},
|
|
|
|
|
"can_open_doors": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Open Doors"
|
|
|
|
|
},
|
|
|
|
|
"can_open_iron_doors": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Open Iron Doors"
|
|
|
|
|
},
|
|
|
|
|
"can_pass_doors": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Whether a path can be created through a door.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Pass Doors"
|
|
|
|
|
},
|
|
|
|
|
"can_path_from_air": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder that it can start pathing when in the air.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Path From Air"
|
|
|
|
|
},
|
|
|
|
|
"can_path_over_lava": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Path Over Lava"
|
|
|
|
|
},
|
|
|
|
|
"can_path_over_water": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can travel on the surface of the water.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Path Over Water"
|
|
|
|
|
},
|
|
|
|
|
"can_sink": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Sink"
|
|
|
|
|
},
|
|
|
|
|
"can_swim": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Swim"
|
|
|
|
|
},
|
|
|
|
|
"can_walk": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can walk on the ground outside water.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Walk"
|
|
|
|
|
},
|
|
|
|
|
"can_walk_in_lava": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Can Walk In Lava"
|
|
|
|
|
},
|
|
|
|
|
"is_amphibious": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Tells the pathfinder whether or not it can walk on the ground underwater.",
|
2021-10-08 12:59:03 +02:00
|
|
|
"title": "Is Amphibious"
|
|
|
|
|
}
|
2021-10-11 18:10:42 +02:00
|
|
|
},
|
|
|
|
|
"examples": [
|
2021-10-14 14:56:58 +02:00
|
|
|
{},
|
|
|
|
|
{
|
|
|
|
|
"avoid_damage_blocks": true,
|
|
|
|
|
"can_pass_doors": true,
|
|
|
|
|
"can_jump": true
|
|
|
|
|
},
|
2021-10-11 18:10:42 +02:00
|
|
|
{
|
|
|
|
|
"avoid_damage_blocks": false,
|
|
|
|
|
"avoid_portals": false,
|
|
|
|
|
"avoid_sun": false,
|
|
|
|
|
"avoid_water": false,
|
|
|
|
|
"blocks_to_avoid": [],
|
|
|
|
|
"can_breach": false,
|
|
|
|
|
"can_break_doors": false,
|
|
|
|
|
"can_jump": true,
|
|
|
|
|
"can_open_doors": false,
|
|
|
|
|
"can_open_iron_doors": false,
|
|
|
|
|
"can_pass_doors": true,
|
|
|
|
|
"can_path_from_air": false,
|
|
|
|
|
"can_path_over_lava": false,
|
|
|
|
|
"can_path_over_water": false,
|
|
|
|
|
"can_sink": true,
|
|
|
|
|
"can_swim": false,
|
|
|
|
|
"can_walk": true,
|
|
|
|
|
"can_walk_in_lava": false,
|
|
|
|
|
"is_amphibious": false
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|