setDifficulty

public abstract void setDifficulty(Difficulty difficulty)

Sets the Difficulty of the world.

Parameters

difficulty

the new difficulty you want to set the world to