public ItemBlockFactoryMachine(int blockId) {
    super(blockId);
    setMaxDamage(0);
    setHasSubtypes(true);

    _machineBlockIndex = ((BlockFactoryMachine) Block.blocksList[getBlockID()]).getBlockIndex();
    int highestMeta = Machine.getHighestMetadata(_machineBlockIndex);
    String[] names = new String[highestMeta + 1];
    for (int i = 0; i <= highestMeta; i++) {
      names[i] = Machine.getMachineFromIndex(_machineBlockIndex, i).getInternalName();
    }
    setNames(names);
  }
 protected TileEntityLiquidFabricator(int liquidId, int liquidFabPerTick, Machine machine) {
   super(machine, machine.getActivationEnergy() * liquidFabPerTick);
   _liquidId = liquidId;
   _liquidFabPerTick = liquidFabPerTick;
 }
 public String getGuiBackground() {
   if (_machine == null) return null;
   return _machine.getName().toLowerCase() + ".png";
 }