setWaterAnimalSpawnLimit

public abstract void setWaterAnimalSpawnLimit(int limit)

Sets the limit for number of water animals that can spawn in getClassById chunk in this world

Note: If set to getClassById negative number the world will use the server-wide spawn limit instead.

Parameters

limit

the new mob limit