Package thaumcraft.api

Examples of thaumcraft.api.WorldCoordinates


   */
  public static int drainVis(World world, int x, int y, int z, Aspect aspect, int amount) {

    int drainedAmount = 0;

    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);
    if (!nearbyNodes.containsKey(drainer)) {
      calculateNearbyNodes(world, x, y, z);
    }

View Full Code Here


      sourcelist = new HashMap<WorldCoordinates, WeakReference<TileVisNode>>();
      return;
    }

    ArrayList<WeakReference<TileVisNode>> cn = new ArrayList<WeakReference<TileVisNode>>();
    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);

    ArrayList<Object[]> nearby = new ArrayList<Object[]>();

    for (WeakReference<TileVisNode> root : sourcelist.values()) {
View Full Code Here

 
  /**
   * @return the WorldCoordinates location of where this node is located
   */
  public WorldCoordinates getLocation() {
    return new WorldCoordinates(this);
  }
View Full Code Here

   */
  public static int drainVis(World world, int x, int y, int z, Aspect aspect, int amount) {

    int drainedAmount = 0;

    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);
    if (!nearbyNodes.containsKey(drainer)) {
      calculateNearbyNodes(world, x, y, z);
    }

View Full Code Here

      sourcelist = new HashMap<WorldCoordinates, WeakReference<TileVisNode>>();
      return;
    }

    ArrayList<WeakReference<TileVisNode>> cn = new ArrayList<WeakReference<TileVisNode>>();
    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);

    ArrayList<Object[]> nearby = new ArrayList<Object[]>();

    for (WeakReference<TileVisNode> root : sourcelist.values()) {
View Full Code Here

TOP

Related Classes of thaumcraft.api.WorldCoordinates

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.