Package ch.njol.skript.hooks.regions.classes

Examples of ch.njol.skript.hooks.regions.classes.Region


      private final Iterator<Region> iter = new ArrayIterator<Region>(rs, 1);
     
      @Override
      public boolean hasNext() {
        while (!current.hasNext() && iter.hasNext()) {
          final Region r = iter.next();
          if (r != null)
            current = r.getBlocks();
        }
        return current.hasNext();
      }
     
      @SuppressWarnings("null")
View Full Code Here


    if (enter != ((RegionBorderEvent) e).isEntering())
      return false;
    final Literal<Region> r = regions;
    if (r == null)
      return true;
    final Region re = ((RegionBorderEvent) e).getRegion();
    return r.check(e, new Checker<Region>() {
      @Override
      public boolean check(final Region r) {
        return r.equals(re);
      }
View Full Code Here

TOP

Related Classes of ch.njol.skript.hooks.regions.classes.Region

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.