return MathHelper.pointDistanceSpace(x, y / heightscale, z, srcx, srcy / heightscale, srcz) < range;
else return MathHelper.pointDistanceSpace(x, 0, z, srcx, 0, srcz) < range - (srcy - y) / heightscale;
}
public EntityManaBurst getBurst(World world, int x, int y, int z, ItemStack stack) {
EntityManaBurst burst = new EntityManaBurst(world);
burst.posX = x + 0.5;
burst.posY = y + 0.5;
burst.posZ = z + 0.5;
burst.setColor(0x00EAFF);
burst.setMana(1);
burst.setStartingMana(1);
burst.setMinManaLoss(0);
burst.setManaLossPerTick(0F);
burst.setGravity(0F);
burst.setMotion(0, 0.5, 0);
burst.setSourceLens(stack);
return burst;
}