Package net.minecraft.server.dedicated

Examples of net.minecraft.server.dedicated.DedicatedServer.func_147135_j()


        if (args[0].equalsIgnoreCase("difficulty"))
        {
            if (args.length == 1)
            {
                OutputHandler.chatConfirmation(sender, "difficulty: " + server.func_147135_j().name());
            }
            else
            {
                server.setProperty("difficulty", args[1]);
                server.func_147139_a(EnumDifficulty.getDifficultyEnum(Integer.parseInt(args[1])));
View Full Code Here


            else
            {
                server.setProperty("difficulty", args[1]);
                server.func_147139_a(EnumDifficulty.getDifficultyEnum(Integer.parseInt(args[1])));
                server.saveProperties();
                OutputHandler.chatConfirmation(sender, "difficulty: " + server.func_147135_j().name());
            }
            return;

        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.