So I was working on this difficulty command, but I have bumped into a stump.
I imported net.canarymod.api.world.World.Difficulty.
I don't know the symbol for switching the world's difficulty, and it would be very nice if someone could help me out with it.
This is the command I was using:
World.setDifficulty(PEACEFUL);
Thanks for the help!