Package com.bergerkiller.bukkit.tc.utils

Examples of com.bergerkiller.bukkit.tc.utils.TrackWalkIterator


        }
      } else {
        // Multiple-minecart spawning logic
        for (BlockFace direction : info.getWatchedDirections()) {
          direction = direction.getOppositeFace();
          TrackWalkIterator iter = new TrackWalkIterator(info.getCenterLocation(), direction);
          boolean occupied = false;
          for (int i = 0; i < types.size(); i++) {
            if (!iter.hasNext()) {
              occupied = true;
              break;
            }
            locs[i] = iter.next();
            //not taken?
            if (MinecartMemberStore.getAt(locs[i]) != null) {
              occupied = true;
              break;
            }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.tc.utils.TrackWalkIterator

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.