Search in sources :

Example 1 with AbstractAdvancedPathNavigate

use of com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate in project minecolonies by Minecolonies.

the class AbstractEntityNorsemen method getNavigation.

@NotNull
@Override
public AbstractAdvancedPathNavigate getNavigation() {
    AbstractAdvancedPathNavigate navigator = super.getNavigation();
    navigator.getPathingOptions().withStartSwimCost(2.5D).withSwimCost(1.1D);
    return navigator;
}
Also used : AbstractAdvancedPathNavigate(com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate) NotNull(org.jetbrains.annotations.NotNull)

Example 2 with AbstractAdvancedPathNavigate

use of com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate in project minecolonies by Minecolonies.

the class AbstractEntityPirate method getNavigation.

@NotNull
@Override
public AbstractAdvancedPathNavigate getNavigation() {
    AbstractAdvancedPathNavigate navigator = super.getNavigation();
    navigator.getPathingOptions().withStartSwimCost(2.5D).withSwimCost(1.1D);
    return navigator;
}
Also used : AbstractAdvancedPathNavigate(com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate) NotNull(org.jetbrains.annotations.NotNull)

Example 3 with AbstractAdvancedPathNavigate

use of com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate in project minecolonies by ldtteam.

the class AbstractEntityPirate method getNavigation.

@NotNull
@Override
public AbstractAdvancedPathNavigate getNavigation() {
    AbstractAdvancedPathNavigate navigator = super.getNavigation();
    navigator.getPathingOptions().withStartSwimCost(2.5D).withSwimCost(1.1D);
    return navigator;
}
Also used : AbstractAdvancedPathNavigate(com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate) NotNull(org.jetbrains.annotations.NotNull)

Example 4 with AbstractAdvancedPathNavigate

use of com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate in project minecolonies by ldtteam.

the class AbstractEntityNorsemen method getNavigation.

@NotNull
@Override
public AbstractAdvancedPathNavigate getNavigation() {
    AbstractAdvancedPathNavigate navigator = super.getNavigation();
    navigator.getPathingOptions().withStartSwimCost(2.5D).withSwimCost(1.1D);
    return navigator;
}
Also used : AbstractAdvancedPathNavigate(com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

AbstractAdvancedPathNavigate (com.minecolonies.api.entity.pathfinding.AbstractAdvancedPathNavigate)4 NotNull (org.jetbrains.annotations.NotNull)4