Difficulty?

CanaryMod related discussions

Difficulty?

Postby crusher23435 » Wed Aug 26, 2015 11:49 pm

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!
crusher23435
 
Posts: 3
Joined: Wed Aug 19, 2015 1:47 am

Return to Discussions

Who is online

Users browsing this forum: No registered users and 8 guests

cron