Package universalelectricity.api.vector

Examples of universalelectricity.api.vector.Vector3.clone()


              Vector3 vector = new Vector3((NBTTagCompound) nbtList.tagAt(i)).translate(0.5);

              if (type == 1)
              {
                // Blue, PREVIEW
                ModularForceFieldSystem.proxy.renderHologram(this.worldObj, vector, 1, 1, 1, 30, vector.clone().translate(this.getDirection()));
              }
              else if (type == 2)
              {
                // Green, DO MOVE
                ModularForceFieldSystem.proxy.renderHologram(this.worldObj, vector, 0, 1, 0, 30, vector.clone().translate(this.getDirection()));
View Full Code Here


                ModularForceFieldSystem.proxy.renderHologram(this.worldObj, vector, 1, 1, 1, 30, vector.clone().translate(this.getDirection()));
              }
              else if (type == 2)
              {
                // Green, DO MOVE
                ModularForceFieldSystem.proxy.renderHologram(this.worldObj, vector, 0, 1, 0, 30, vector.clone().translate(this.getDirection()));
              }
            }
            break;
          }
          case 2:
View Full Code Here

              {
                constructionCount++;

                for (IModule module : getModules(getModuleSlots()))
                {
                  int flag = module.onProject(this, vector.clone());

                  if (flag == 1)
                  {
                    continue fieldLoop;
                  }
View Full Code Here

            while (it.hasNext())
            {
              Vector3 position = it.next();

              if (((IProjector) compareProjector).getInteriorPoints().contains(position) || ((IProjector) compareProjector).getMode().isInField((IProjector) compareProjector, position.clone()))
              {
                it.remove();
              }
            }
          }
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.