How can I turn off animals in creative mode?

Is there a way to turn off animals in creative mode in minecraft? I have world edit installed.


Solution 1:

Set the game rule doMobSpawning to false.

/gamerule doMobSpawning false

Solution 2:

You don't even need WorldEdit: just type /gamerule doMobSpawning false, and then type kill @e to kill everything that's alive. Once you respawn there will be no animals or mobs left.

Solution 3:

You can use the WorldGuard mob-spawning flag:

/region flag __global__ mob-spawning deny

Using: WorldEdit and MV 2.5 b641