Package thaumic.tinkerer.common.core.helper

Examples of thaumic.tinkerer.common.core.helper.Tuple4Int


        Aspect aspect = aspectsThatCanGet.isEmpty() ? null : aspectsThatCanGet.get(i);

        if (aspect != null) {
          wandItem.consumeAllVisCrafting(wand, null, new AspectList().add(aspect, 1), true);
          currentAspects.add(aspect, 1);
          Tuple4Int p = pillars.get(i);
          if (worldObj.rand.nextBoolean()) {
            Thaumcraft.proxy.blockRunes(worldObj, p.i1, p.i4 - 0.75, p.i3, 0.3F + worldObj.rand.nextFloat() * 0.7F, 0.0F, 0.3F + worldObj.rand.nextFloat() * 0.7F, 15, worldObj.rand.nextFloat() / 8F);
            Thaumcraft.proxy.blockRunes(worldObj, xCoord, yCoord + 0.25, zCoord, 0.3F + worldObj.rand.nextFloat() * 0.7F, 0.0F, 0.3F + worldObj.rand.nextFloat() * 0.7F, 15, worldObj.rand.nextFloat() / 8F);
            if (worldObj.rand.nextInt(5) == 0)
              worldObj.playSoundEffect(p.i1, p.i2, p.i3, "thaumcraft:brain", 0.5F, 1F);
View Full Code Here


      }
      return true;
    }

    for (int i = 0; i < pillars.size(); i++) {
      Tuple4Int pillar = pillars.get(i);
      int pillarHeight = findPillar(pillar.i1, pillar.i2, pillar.i3);
      if (pillarHeight == -1) {
        pillars.clear();
        return checkPillars();
      } else if (pillarHeight != pillar.i4)
View Full Code Here

    int y = yCoord;
    for (int x = xCoord - 4; x <= xCoord + 4; x++)
      for (int z = zCoord - 4; z <= zCoord + 4; z++) {
        int height = findPillar(x, y, z);
        if (height != -1)
          pillars.add(new Tuple4Int(x, y, z, height));

        if (pillars.size() == 6)
          return false;
      }
View Full Code Here

TOP

Related Classes of thaumic.tinkerer.common.core.helper.Tuple4Int

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.