Package erogenousbeef.core.multiblock

Examples of erogenousbeef.core.multiblock.IMultiblockPart


    TileEntity te = world.getTileEntity(x, y, z);
    if(!(te instanceof IMultiblockPart)) {
      return false;
    }
   
    IMultiblockPart part = (IMultiblockPart)te;
    if(!part.isConnected() || !part.getMultiblockController().isAssembled()) {
      return false;
    }
   
    player.openGui(BRLoader.instance, 0, world, x, y, z);
    return true;
View Full Code Here


      return false;
    }

    int metadata = world.getBlockMetadata(x, y, z);
    TileEntity te = world.getTileEntity(x, y, z);
    IMultiblockPart part = null;
    MultiblockControllerBase controller = null;

    if(te instanceof IMultiblockPart) {
      part = (IMultiblockPart)te;
      controller = part.getMultiblockController();
    }
   
    if(isCasing(metadata) || isPowerTap(metadata) || isComputerPort(metadata)) {
      // If the player's hands are empty and they rightclick on a multiblock, they get a
      // multiblock-debugging message if the machine is not assembled.
View Full Code Here

TOP

Related Classes of erogenousbeef.core.multiblock.IMultiblockPart

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.