public void Drain(Player player, int radius) { EditSession.Fill((BlockCoordinates)player.KnownPosition, new Pattern(0, 0), new Mask(player.Level, new List <Block> { new FlowingWater(), new Water(), new Lava(), new FlowingLava() }, true), radius, -1, true); }
public void Fill(Player player, Pattern pattern, int radius, int depth = -1) { EditSession.Fill((BlockCoordinates)player.KnownPosition, pattern, new AirBlocksMask(player.Level), radius, depth); }