Package org.bukkit.util.config

Examples of org.bukkit.util.config.ConfigurationNode


          @SuppressWarnings("rawtypes")
          Entry<?, ?> e = (Entry) o;
          if (e.getKey() instanceof String) {
            try {
              String world = (String) e.getKey();
              ConfigurationNode waypoints = (ConfigurationNode) e.getValue();
              for (String name:waypoints.getKeys()) {
                Map<String, Object> locations = waypoints.getNode(name).getAll();
                int x, y = 64, z;
                x = (Integer) locations.get("x");
                if (locations.containsKey("y")) {
                  y = (Integer) locations.get("y");
                }
View Full Code Here

TOP

Related Classes of org.bukkit.util.config.ConfigurationNode

Copyright © 2018 www.massapicom. 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.