Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
CC:Warium
CC:Warium is a ComputerCraft/CC:Tweaked addon for Minecraft (Forge 1.20.1) that integrates with the Warium mod, giving players programmable control over Warium’s vehicle control node directly from Lua. With CC:Warium, you can wrap Warium’s block(s) as peripherals and issue commands like pitch, yaw, roll, throttle, landing gear, and trigger—all controllable via computer programs.
🎯 Key Features
Peripheral Exposure: Allows the “vehicle control node” block (from Warium) to be used as a CC/Tweaked peripheral. That means you can place a computer, wrap the block, and call methods to control it.
Lua Function Interface: CC:Warium exposes convenient functions via Lua, such as:
setNodePitch(<1, 0, or -1>) — control the pitch of the vehicle node
setNodeYaw(<1, 0, or -1>)
setNodeRoll(<1, 0, or -1>)
setNodeThrottle(<1, 0, or -1>)
setNodeLandingGear(<true/false>)
setNodeTrigger(..., <true/false>)
getNode<anything above>() -get stuff
Modular and Expandable: While starting with a specific block (vehicle control node), the architecture allows for adding support for more Warium blocks or more control functions in the future.
💡** Benefits & Use Cases**
Automation & Scripting: Players who enjoy creating in-game automation can write scripts that adjust vehicle behavior based on world state (e.g. adjust pitch when nearing terrain, deploy landing gear automatically, etc.).
Remote Control: Use computers to remotely operate or fine-tune vehicles, possibly from a distance, or integrate with monitoring systems.
Custom Functionality: Because Lua is programmable, users can build complex control flows (e.g. safety checks, limits, dynamic responses) rather than just flipping switches.
⚠️ Limitations & Considerations
Accuracy of Control: Since functions like setNodePitch(...) take only 1, 0, or -1, control is coarse. More granularity (e.g. any double value) might need further implementation.
Dependency on Warium’s API/NBT: If Warium updates how its block entity stores or handles these values, CC:Warium may require updates to remain compatible.
Only Certain Blocks: For now support is limited to specific blocks (vehicle control node). Expanding to other Warium blocks requires additional code.
Permissions & Safety: Since the mod allows writing to block entity data, ensure only trusted code/computers have access to avoid accidental/world-breaking edits.
🚀 Future Possibilities
Allow finer control (floating-point values for pitch/yaw rather than just ±1/0).
Support more Warium blocks (e.g. weapon systems, sensors) if exposed.
Add read functions (get current pitch, yaw, etc.) so Lua scripts can make decisions based on state.
Add configuration options so players or modpack makers can whitelist which blocks or functions are exposed, or limit value ranges for safety.
📋 Summary
CC:Warium bridges programmable logic (via CC/Tweaked) with the mechanical/vehicle functionality of Warium. It empowers players to script, automate, and control vehicles at a more granular level, opening possibilities for creative contraptions, remote control setups, and smarter in-game behavior.



