Search in sources :

Example 1 with PathNavigateGroundCQR

use of team.cqr.cqrepoured.entity.pathfinding.PathNavigateGroundCQR in project ChocolateQuestRepoured by TeamChocoQuest.

the class AbstractEntityCQR method createNavigation.

@Override
protected PathNavigator createNavigation(World worldIn) {
    PathNavigator navigator = new PathNavigateGroundCQR(this, worldIn);
    ((GroundPathNavigator) navigator).setCanOpenDoors(this.canOpenDoors());
    // ((GroundPathNavigator) navigator).setBreakDoors(this.canOpenDoors());
    return navigator;
}
Also used : PathNavigateGroundCQR(team.cqr.cqrepoured.entity.pathfinding.PathNavigateGroundCQR) GroundPathNavigator(net.minecraft.pathfinding.GroundPathNavigator) PathNavigator(net.minecraft.pathfinding.PathNavigator) GroundPathNavigator(net.minecraft.pathfinding.GroundPathNavigator) IHasTextureOverride(team.cqr.cqrepoured.customtextures.IHasTextureOverride)

Aggregations

GroundPathNavigator (net.minecraft.pathfinding.GroundPathNavigator)1 PathNavigator (net.minecraft.pathfinding.PathNavigator)1 IHasTextureOverride (team.cqr.cqrepoured.customtextures.IHasTextureOverride)1 PathNavigateGroundCQR (team.cqr.cqrepoured.entity.pathfinding.PathNavigateGroundCQR)1