Ad Astra Cargo Rockets

Ad Astra Cargo Rockets

An add-on For Ad Astra that allows rockets to be automated for carrying cargo between planets

by
4.2K Downloads
fabrictechnologytransportation
Rent Server with this Mod

Screenshots

Ad Astra Cargo Rockets Screenshot 1

About this Mod


EARLY APLPHA!

This mod adds automated rockets you can use to carry cargo between planets. CC:Tweaked computers are used to control the rockets using the API below:

Rocket Launchpad Lua API

This API allows you to control a rocket launchpad from a CC:Tweaked computer. It provides functions to launch rockets, manage inventories, and check energy levels.


Connecting

You must connect the computer to the central block of the launch pad to access the below methods.
Connecting to the outer blocks will allow you to access the generic inventory methods.


📦 Inventory Slot Indexing

  • All inventory slot indexes in Lua start at 1, matching CC:Tweaked's conventions.

🧨 launch(planet)

Attempts to launch a rocket to the specified planet. (See getValidDestinations)

Parameters

  • planet (string): The name of the destination planet.

Errors

  • "No rocket found" – No rocket is on the launchpad.
  • "<planet> is not a valid planet" – The specified planet name is invalid.
  • "Not enough energy to launch" – The launchpad lacks sufficient energy.
  • "<planet> is too high of a tier for this rocket" – The rocket tier is too low for the destination.

📥 moveItemsFromRocketToLaunchPad(rocketSlot, launchPadSlot)

Moves an item from the rocket's inventory to the launchpad's inventory.

Parameters

  • rocketSlot (int): Slot in the rocket's inventory.
  • launchPadSlot (int): Slot in the launchpad's inventory.

Errors

  • "No rocket found"
  • "Destination full"
  • "Invalid slot"

📤 moveItemsFromLaunchPadToRocket(launchPadSlot, rocketSlot)

Moves an item from the launchpad's inventory to the rocket's inventory.

Parameters

  • launchPadSlot (int): Slot in the launchpad's inventory.
  • rocketSlot (int): Slot in the rocket's inventory.

Errors

  • "No rocket found"
  • "Destination full"
  • "Invalid slot"

getEnergyRequiredForLaunch()

Returns the amount of energy required to launch the rocket.

Returns

  • int: Energy required.

🔋 getEnergy()

Returns the current stored energy in the launchpad.

Returns

  • long: Current energy.

🔋 getMaxEnergy()

Returns the maximum energy capacity of the launchpad.

Returns

  • long: Maximum energy.

🌍 getValidDestinations()

Returns a table of valid destination planet names, with the key being the planet and the value being the required rocket tier to reach it.

Returns

  • table<string, int>: Table with the key being the planet and the value being the required rocket tier to reach it.

📦 listLaunchPadInventory()

Returns the current non-empty inventory of the launchpad.

Returns

  • table<int, table>: A table mapping slot indexes to item tables with:
    • name (string): Display name.
    • id (string): Registry ID.
    • count (int): Stack size.
    • max_count (int): Maximum stack size.

📥 listLaunchPadInputSlotIndexes()

Lists which slot indexes are considered input slots.
These are the slots hoppers and other item transportation mods can insert into.

Returns

  • int[]: List of input slot indexes (1-based).

📤 listLaunchPadOutputSlotIndexes()

Lists which slot indexes are considered output slots.
These are the slots hoppers and other item transportation mods can extract from.

Returns

  • int[]: List of output slot indexes (1-based).

🚀 isRocketPresent()

Checks whether a rocket is present on the launchpad.

Returns

  • boolean: true if a rocket is present, false otherwise.

🚀 listRocketInventory()

Returns the current non-empty inventory of the rocket.

Returns

  • table<int, table>|nil: Table mapping slot indexes to item data if rocket is present, or nil if no rocket is found. Item tables contain:
    • name (string): Display name.
    • id (string): Registry ID.
    • count (int): Stack size.
    • max_count (int): Maximum stack size.

Available Versions

Ad Astra Cargo Rockets 1.0-rc.3beta
MC 1.20.1fabric
September 14, 2025
Ad Astra Cargo Rockets 1.0-rc.2alpha
MC 1.20.1fabric
July 4, 2025
Ad Astra Cargo Rockets 1.0-rc.1alpha
MC 1.20.1fabric
July 1, 2025

How to Install Ad Astra Cargo Rockets on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Ad Astra Cargo Rockets". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Ad Astra Cargo Rockets server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Ad Astra Cargo Rockets compatible with fabric?

Ad Astra Cargo Rockets officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Ad Astra Cargo Rockets – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Ad Astra Cargo Rockets consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Ad Astra Cargo Rockets with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Required

Supported Versions

1.20.1