Community listing page, reviews here may not be monitored by the author.
Astrocompass
No reviews yet
A CC: Tweaked API bridge that lets computers read Sable/Aeronautics physics data — ship pose, mass, entities and more, in world coordinates.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Astrocompass is a data bridge mod for CC: Tweaked that gives computers direct access to the Create Aeronautics / Sable physics engine — the data source you need for fire-control radars, auto-turrets, head-tracking aim systems and ship monitoring scripts.
What it does
- Ship-aware coordinates: on a physics structure, your computer reports real world coordinates instead of the far-away projected plot coordinates.
- Full physics state: position, orientation quaternion, linear/angular velocity, mass, center of mass, inertia tensor and last-tick pose of your ship — all in one call.
- Entity scanning: players, animals, monsters or everything in range, returned in world coordinates. Perfect radar feed.
- Environment physics: gravity, air pressure, magnetic north and drag of the current dimension (aero module).
- Pocket computer support: read the holder's position and view vector for head-aim builds.
- Plot ↔ world coordinate transforms both ways.
All values are read directly from the physics engine on the Java side, which keeps the call path short — a good fit for control loops that poll ship data every tick.
Requirements
- CC: Tweaked (required)
- Create Aeronautics / Sable (optional — ship and physics-structure data)
Usage
The API is injected as a Lua global (not a peripheral):
local ac = astrocompass
print(ac.getCoord()) -- world coordinates, ship-aware
local ship = ac.getSelfSableShip() -- full physics state table
for uuid, e in pairs(ac.getEntitiesAll(64)) do print(e.type, e.x, e.y, e.z) end
Full API reference and example scripts (radar test, pocket test, full smoke test) are on GitHub — see the Source link.
Origin
Astrocompass is a ground-up rewrite of the discontinued Metaphysics by KallenKas024 (AGPL-3.0), re-implemented for the Sable physics engine and released under the same license.
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
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers