Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.
Generic Navigation Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
avoid_damage_blocks | false | Boolean true/false | Tells the pathfinder to avoid blocks that cause damage when finding a path | Axolotl: true |
avoid_portals | false | Boolean true/false | Tells the pathfinder to avoid portals (like nether portals) when finding a path | |
avoid_sun | false | Boolean true/false | Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths | |
avoid_water | false | Boolean true/false | Tells the pathfinder to avoid water when creating a path | |
blocks_to_avoid | not set | Array of strings | Tells the pathfinder which blocks to avoid when creating a path | |
can_breach | false | Boolean true/false | Tells the pathfinder whether or not it can jump out of water (like a dolphin) | Elder Guardian: true |
can_break_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door and break it | |
can_jump | true | Boolean true/false | Tells the pathfinder whether or not it can jump up blocks | |
can_open_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door | |
can_open_iron_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door | |
can_pass_doors | true | Boolean true/false | Whether a path can be created through a door | |
can_path_from_air | false | Boolean true/false | Tells the pathfinder that it can start pathing when in the air | |
can_path_over_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the lava | |
can_path_over_water | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the water | Axolotl: true |
can_sink | true | Boolean true/false | Tells the pathfinder whether or not it will be pulled down by gravity while in water | |
can_swim | false | Boolean true/false | Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path | Axolotl: true |
can_walk | true | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground outside water | Axolotl: true |
can_walk_in_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel in lava like walking on ground | |
is_amphibious | false | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground underwater | Axolotl: true |
Samples
Axolotl
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": true,
"can_swim": true,
"can_walk": true,
"can_sink": false,
"avoid_damage_blocks": true
}
Elder Guardian
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true
}
Fish
"minecraft:navigation.generic": {
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
}
Tadpole
"minecraft:navigation.generic": {
"can_path_over_water": true,
"can_swim": true,
"can_walk": false,
"can_sink": false,
"avoid_damage_blocks": true
}
Turtle
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": true,
"can_sink": false,
"avoid_damage_blocks": true
}