Examples of DiamondEffectRange


Examples of org.spout.api.material.range.DiamondEffectRange

  private LiquidModel() {
    for (int i = 0; i < this.mainDirections.length; i++) {
      this.mainDirections[i] = new AtomicBoolean(true);
    }
    for (IntVector3 delta : new DiamondEffectRange(1, 5)) {
      if (delta.getY() == 0) {
        Element element = new Element(delta.getX(), delta.getZ());
        elementList.add(element);
        elementMap.put(ShortPairHashed.key((short) element.dX, (short) element.dZ), element);
      }
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.