ICBM Classic: Computer Craft Addon – Your Gateway to Automated Warfare
Minecraft modding constantly pushes the boundaries of what’s possible, blending creativity with complex engineering. If you’ve ever dreamed of controlling intercontinental ballistic missiles from a tiny in-game computer, the ICBM Classic: Computer Craft Addon is exactly what you need. This clever bridge between the explosive power of ICBM Classic and the programmable world of CC:Tweaked opens up a whole new dimension of automated warfare, reconnaissance, and energy management. No more clicking buttons manually – now you can write Lua scripts to orchestrate missile launches, track radar contacts, and monitor your machines with surgical precision.
What is the ICBM Classic: Computer Craft Addon?
At its core, this addon provides first-class peripheral support for CC:Tweaked computers and turtles, allowing them to interact directly with ICBM Classic machinery. Think of it as a universal translator that lets your coded commands speak the language of missile launchers, radar stations, and energy systems. Instead of flipping levers or pressing redstone buttons, you can query detailed status reports, adjust firing parameters, and even simulate launches before committing to the real thing. It’s a modder’s paradise for anyone who loves automation, and it transforms your base into a high-tech command center.
Supported Machines and Peripherals
The addon currently wraps three key tiles from ICBM Classic into fully accessible peripherals:
- Cruise Launcher – a guided missile platform that can rotate and lock onto distant coordinates.
- Launcher Pad – the standard silo for ballistic missiles, complete with height and delay controls.
- Radar Station – your eyes in the sky, capable of detecting entities and providing early warnings.
Each of these machines exposes a rich set of functions that you can call from any CC:Tweaked computer placed adjacent to them. The integration feels seamless, as if the developers of both mods sat down and designed a unified API. You’re not limited to one peripheral either – chain multiple computers across your base to build a fully networked defense grid.
Unlocking the Power of Lua Scripts
Once you wrap a peripheral (using the standard peripheral.wrap() command), a treasure trove of methods becomes available. The addon organizes them into logical groups, making it easy to build sophisticated programs. Here’s a breakdown of what you can do.
Common Machine Commands
Every supported tile shares a set of universal functions that handle energy and metadata. You can call:
- getEnergyData() – returns both current energy and max energy in one handy table.
- getEnergy() – retrieves the exact stored Forge Energy value.
- getEnergyLimit() – tells you the maximum storage capacity.
- getMachineInfo() – provides a detailed table of settings, facts, and configuration values that might vary between saves or servers. This is incredibly useful for writing portable code that adapts to different world settings.
Command Launcher Functions
For both the Cruise Launcher and Launcher Pad, the real fun begins with launch control. These methods let you manage missiles programmatically:
- getMissiles() – returns a list of all loaded missiles, so you know exactly what’s in your arsenal.
- launch(targetData, simulate) – the star of the show. You supply a table with x, y, z coordinates and an optional delay, then set simulate to true for a dry run or false to fire for real. This safety check prevents accidental destruction.
- getInaccuracy(targetData, launcherCount) – checks the expected spread, helping you decide if a shot is worth taking.
- getStatus() – returns a status key and message, plus an error flag and blocking indicator. You’ll get strings like ‘ready’, ‘no power’, or ‘cooling down’.
- preCheckLaunch(targetData) – runs the same validation as launch without actually firing, perfect for conditional logic.
Launcher Base and Cruise Settings
The Launcher Pad adds specialized controls for trajectory:
- getLockHeight() / setLockHeight(height) – determines how high the missile climbs before changing direction. Input an integer to fine-tune your arc.
- getFiringDelay() / setFiringDelay(ticks) – adjusts the delay (in ticks) before the missile actually ignites, giving you time to clear the area.
The Cruise Launcher, on the other hand, focuses on precision targeting:
- getTarget() / setTarget(x, y, z) – reads or writes the current destination coordinates.
- isAimed() – returns true when the launcher has physically rotated to face the target.
- getAimCurrent() – outputs the current yaw, pitch, and roll, so you can monitor alignment in real time.
- getAimTarget() – shows the expected aim position, which might differ slightly due to mechanical limitations.
Building a Smart Defense System
With these tools, you can write scripts that react to radar contacts automatically. Imagine a program that polls the Radar Station every few seconds, and if it detects a player within a certain radius, it calculates an intercept point and fires a cruise missile – all without you lifting a finger. You could even integrate energy management: when power runs low, the system could shut down non-essential launchers and alert you via rednet. The addon’s detailed status reporting makes error handling straightforward; you can catch “blocking” states and wait gracefully instead of crashing your script.
For those who enjoy tinkering with mod configurations, the foxygame.net launcher makes installing this addon a breeze. Its modern, flexible design lets you download the mod directly from the menu and manage your entire modpack without ever leaving the launcher. This convenience is a real time-saver when you’re juggling multiple mods for a server, ensuring that everything stays up to date and compatible.
Conclusion
The ICBM Classic: Computer Craft Addon is a must-have for any player who wants to merge the destructive potential of ICBM with the logical elegance of CC:Tweaked. It turns static missile silos into programmable assets, giving you the power to automate reconnaissance, launch sequences, and energy monitoring. Whether you’re a seasoned coder or just starting with Lua, the well-documented functions and safety features make it approachable and deeply rewarding. Install it, wrap a launcher, and watch your base evolve into a self-operating fortress – one line of code at a time.