use of me.desht.pneumaticcraft.common.ai.EntityPathNavigateDrone in project pnc-repressurized by TeamPneumatic.
the class CoordTrackUpgradeHandler method getDronePath.
public static Path getDronePath(EntityPlayer player, BlockPos pos) {
World world = player.world;
EntityDrone drone = new EntityDrone(world);
drone.setPosition(player.posX, player.posY - 2, player.posZ);
return new EntityPathNavigateDrone(drone, world).getPathToPos(pos);
}
Aggregations