justduck | SFM Tab Assist
Create your game server with 

SFM Tab Assist
SFM Tab Assist is an intelligent quality-of-life addon mod for Super Factory Manager (SFM) on Minecraft 26.1.2 (NeoForge).
It brings real-time Ghost Text Autocompletion (like GitHub Copilot) and an in-world Semantic Label Locator directly into the SFM script editor!
✨ Features
💡 1. Inline Ghost Text Autocomplete
- Smart Ghost Text: Code suggestions appear as dimmed ghost text right at your cursor as you write SFML commands (
EVERY,INPUT,OUTPUT,FOR,IF, etc.). - Non-intrusive: Triggers only when typing valid syntax — never spams on empty lines or while writing comments.
- Instant Accept: Press TAB to accept the suggestion immediately, or keep typing / press ESC to dismiss.
🌐 2. Context-Aware Cable Network Scanning
- Automatically scans the connected cable network whenever you open the Factory Manager GUI:
- Detects connected chests, tanks, furnaces, and machines.
- Reads real-time contents (items, quantities, fluids).
- Reads existing labels assigned to disks across the network.
- Autocomplete suggests actual items present in your connected chests instead of guessing!
⚙️ 3. Built-in Machine & Mod Profiles
Automatically routes items to the correct input and output slots without needing to memorize slot IDs:
- Vanilla Minecraft: Furnaces, Smokers, Blast Furnaces (smelting input, fuel, output slots), Brewing Stands.
- Mekanism: Metallurgic Infusers (material buffer vs. base metal vs. output), Crushers, Enrichment Chambers, Smelters, etc.
- Applied Energistics 2 (AE2): Inscribers (top/bottom press vs. silicon vs. output), Pattern Providers, Interfaces.
- Thermal Series: Pulverizers, Redstone Furnaces, Induction Smelters, etc.
- Ender IO: Alloy Smelters, SAG Mills, Crafters, etc.
- Generic Mod Probing: Automatically detects sided capabilities for unlisted mods.
🔍 4. Semantic Label Locator (Ctrl + Click)
- Brings "Go to Definition" into Minecraft!
- Hold Ctrl and Left-Click on any label in your script (e.g.
iron_chest,input_ore,smelter):- Multi-Factor Semantic Heuristic: Evaluates exact label matches (100%), block ID / name similarity (40%), container contents (35%), machine roles / capabilities (25%), and directional flow (10%).
- In-World X-Ray Highlight: Highlights matching blocks in the 3D world with color-coded bounding boxes and floating billboard tags:
- 🟢 High Match (>= 80%): Bright Green
- 🟡 Medium Match (50% - 79%): Gold / Yellow
- 🟠 Low Match (25% - 49%): Orange
- Supports multi-block structures (Double Chests, Beds, Doors) with accurate voxel outlines and centered tags.
💾 5. In-Hand vs. Manager Handling
- Editing a disk in your hand provides clean SFM keyword completion without hallucinating unconnected network labels.
- In-editor status indicator shows
[Ctrl + Click]: Offline (Insert disk into Factory Manager to locate).
🔘 6. In-Editor Toggle Button
- An interactive [Tab: ON] / [Tab: OFF] button is integrated directly into the script editor header.
- Your setting is automatically remembered in your client configuration.
🎮 Keybindings & Controls
- TAB: Accept and insert active suggestion
- ESC: Dismiss suggestion
- Ctrl + Left Click on a label: Locate matching blocks in the 3D world
- [Tab: ON / OFF] Button: Toggle autocomplete directly inside the editor
📦 Requirements
- Minecraft: 26.1.2
- NeoForge:
26.1.2or newer - Super Factory Manager (SFM):
4.34.0/26.1.2or newer
🛡️ Modpacks & Permissions
You are completely free to include SFM Tab Assist in any public or private modpack!
Source Code & Issue Tracker: GitHub Repository

