Don't import bukkit into this class. Use Math.pow(x, 2) for the below cases.