@minecraft
    正在准备搜索索引...

    类 EntityNavigationHoverComponent

    Allows this entity to generate paths in the air (for example, like the Minecraft Bees do.) Keeps them from falling out of the skies and doing predictive movement.

    层级 (查看层级一览)

    索引
    avoidDamageBlocks: boolean

    Tells the pathfinder to avoid blocks that cause damage when finding a path.

    avoidPortals: boolean

    Tells the pathfinder to avoid portals (like nether portals) when finding a path.

    avoidSun: boolean

    Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths.

    avoidWater: boolean

    Tells the pathfinder to avoid water when creating a path.

    canBreach: boolean

    Tells the pathfinder whether or not it can jump out of water (like a dolphin).

    canBreakDoors: boolean

    Tells the pathfinder that it can path through a closed door and break it.

    canFloat: boolean

    Tells the pathfinder whether or not it can float.

    canJump: boolean

    Tells the pathfinder whether or not it can jump up blocks.

    canOpenDoors: boolean

    Tells the pathfinder that it can path through a closed door assuming the AI will open the door.

    canOpenIronDoors: boolean

    Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door.

    canPassDoors: boolean

    Whether a path can be created through a door.

    canPathFromAir: boolean

    Tells the pathfinder that it can start pathing when in the air.

    canPathOverLava: boolean

    Tells the pathfinder whether or not it can travel on the surface of the lava.

    canPathOverWater: boolean

    Tells the pathfinder whether or not it can travel on the surface of the water.

    canSink: boolean

    Tells the pathfinder whether or not it will be pulled down by gravity while in water.

    canSwim: boolean

    Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path.

    canWalk: boolean

    Tells the pathfinder whether or not it can walk on the ground outside water.

    canWalkInLava: boolean

    Tells the pathfinder whether or not it can travel in lava like walking on ground.

    entity: Entity

    The entity that owns this component. The entity will be undefined if it has been removed.

    isAmphibious: boolean

    Tells the pathfinder whether or not it can walk on the ground or go underwater.

    isValid: boolean

    Returns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.

    typeId: string

    Identifier of the component.

    componentId: "minecraft:navigation.hover" = 'minecraft:navigation.hover'