Examples of AdjacentInventoryHelper


Examples of erogenousbeef.bigreactors.utils.AdjacentInventoryHelper

  // Multiblock overrides
  @Override
  public void onMachineAssembled(MultiblockControllerBase controller) {
    super.onMachineAssembled(controller);

    adjacencyHelper = new AdjacentInventoryHelper(this.getOutwardsDir());
    checkForAdjacentInventories();
  }
View Full Code Here

Examples of erogenousbeef.bigreactors.utils.AdjacentInventoryHelper

 
  protected void checkForAdjacentInventories() {
    ForgeDirection outDir = getOutwardsDir();

    if(adjacencyHelper == null && outDir != ForgeDirection.UNKNOWN) {
      adjacencyHelper = new AdjacentInventoryHelper(outDir);
    }

    if(adjacencyHelper != null && outDir != ForgeDirection.UNKNOWN) {
      TileEntity te = worldObj.getTileEntity(xCoord + outDir.offsetX, yCoord + outDir.offsetY, zCoord + outDir.offsetZ);
      if(adjacencyHelper.set(te)) {
View Full Code Here

Examples of erogenousbeef.bigreactors.utils.AdjacentInventoryHelper

      invSlotExposures[i][0] = i;
    }
   
    adjacentInvs = new AdjacentInventoryHelper[ForgeDirection.VALID_DIRECTIONS.length];
    for(ForgeDirection dir: ForgeDirection.VALID_DIRECTIONS) {
      adjacentInvs[dir.ordinal()] = new AdjacentInventoryHelper(dir);
    }

    resetAdjacentInventories();
  }
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.