Ad Astra Cargo Rockets

Quick rating

Community listing page, reviews here may not be monitored by the author.

Ad Astra Cargo Rockets

By BillBodkinOwner

No reviews yet

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

Space
Industrial
Tech
Energy & Resource Systems
Automation & Processing
In-Game Programming
Space Exploration
Player Transport
Mod Addon
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 only
Latest Version
ad-astra-cargo-rockets-1.0-rc.3.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description


Embed Removed: https://www.youtube-nocookie.com/embed/ssGwhY9RM_M

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.


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.

Screenshots

Gallery

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~5,000
Total Downloads
CurseForge
<1,000
Modrinth
~4,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works