Package appeng.api

Examples of appeng.api.WorldCoord


  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(xCoord, yCoord, zCoord);
  }
View Full Code Here


  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(xCoord, yCoord, zCoord);
  }
View Full Code Here

  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(this.xCoord, this.yCoord, this.zCoord);
  }
View Full Code Here

  @Override
  public void onInventoryChanged()
  {
    super.onInventoryChanged();
    MinecraftForge.EVENT_BUS.post(new GridStorageUpdateEvent(worldObj, new WorldCoord(this.xCoord, this.yCoord, this.zCoord), this.getGrid()));
  }
View Full Code Here

  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(xCoord, yCoord, zCoord);
  }
View Full Code Here

  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(xCoord, yCoord, zCoord);
  }
View Full Code Here

    worldObj.setBlockMetadataWithNotify(x, y, z, rotateDirecions(rotation).ordinal(), 3);
    TileEntity te = worldObj.getBlockTileEntity(x, y, z);
    if (te instanceof IGridTileEntity)
    {
      MinecraftForge.EVENT_BUS.post(new GridTileConnectivityEvent((IGridTileEntity) te, worldObj, new WorldCoord(x, y, z)));
    }
    return true;
  }
View Full Code Here

  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(xCoord, yCoord, zCoord);
  }
View Full Code Here

      TileEntityBusFluidStorage storageBus = (TileEntityBusFluidStorage) blockTE;
      if (!world.isRemote)
      {
        storageBus.updateGrid();
        PacketDispatcher.sendPacketToAllPlayers(world.getBlockTileEntity(x, y, z).getDescriptionPacket());
        MinecraftForge.EVENT_BUS.post(new GridStorageUpdateEvent(world, new WorldCoord(x, y, z), storageBus.getGrid()));
      }
      ForgeDirection blockOrientation = ForgeDirection.getOrientation(world.getBlockMetadata(x, y, z));

      TileEntity fluidHandler = world.getBlockTileEntity(x + blockOrientation.offsetX, y + blockOrientation.offsetY, z + blockOrientation.offsetZ);
      storageBus.setFluidHandler(fluidHandler instanceof IFluidHandler ? (IFluidHandler) fluidHandler : null);
View Full Code Here

  }

  @Override
  public WorldCoord getLocation()
  {
    return new WorldCoord(xCoord, yCoord, zCoord);
  }
View Full Code Here

TOP

Related Classes of appeng.api.WorldCoord

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.