Package org.bukkit

Examples of org.bukkit.WorldCreator.seed()


    for (i = 0; i < retrycount + 1; i++) {
      try {
        WorldCreator c = new WorldCreator(worldname);
        wc.worldmode.apply(c);
        if (seed != 0) {
          c.seed(seed);
        }
        c.generator(cgen);
        w = c.createWorld();
      } catch (Exception ex) {
        failReason = ex;
View Full Code Here


            try {
                seed = Long.parseLong(seedString);
            } catch (NumberFormatException numberformatexception) {
                seed = (long) seedString.hashCode();
            }
            c.seed(seed);
        }

        // TODO: Use the fancy kind with the commandSender
        if (generator != null && generator.length() != 0) {
            c.generator(generator);
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.