A mod for Sector Space that adds a searchable “creative mode” window listing every item in the game database. Pick a row, set a quantity, and spawn the stack straight into your ship's cargo.
It is an SSFML / Fabric-style mixin mod that hooks into the game at runtime, so no game files are modified permanently.
Source: github.com/jpreed00/ItemSpawner
- Press backtick / grave (the key left of
1, default) to open or close the Item Spawner window. - The left pane lists every item, color-coded by type, with columns for Name, Type, and Value.
- Search uses the cargo-native filter bar (Filters icon, sort, text field,
clear-X). The Filters icon opens the game's own
FilterQuickMenu. - Click a row to select it. A quantity field and Spawn button inject that
stack into
Player.ship.cargousing the game's own add-to-cargo path (so it stacks correctly). - The right pane shows the game's own item detail rendering (icon + colored name, type-specific stats, description) for the hovered row, falling back to the selected row.
- The only per-frame code is a single key check in
game.HeadsUpDisplay.updateto detect the toggle key. - The catalog is built once from
_database.ItemDatabase(every item the game knows about, including ones other mods register). - While the window is closed, the mod does effectively nothing. While it is open, drawing and hit-testing are confined to the list / details panes.
This is a cheat / creative tool — it does not change drop tables or markets.
- Sector Space
>= 0.6.0.2(may work with older versions; only tested on this one). - SSFML (the Sector Space Fabric Mod Loader) with Fabric Loader
>= 0.18.4. - JDK 25+ (only needed to build from source, not to play).
- Download
itemspawner.jarfrom GitHub Releases or build from source. - Copy it into the
mods\folder inside your Sector Space install directory, e.g.:...\Steam\steamapps\common\Sector Space\mods\itemspawner.jar - Launch Sector Space (with SSFML installed). The mod loads automatically.
The mod compiles against the game's own jars, so the project folder is expected
to live inside your Sector Space install directory (alongside
Sector Space.jar, SSFML.jar, and libs\):
Sector Space\
├─ Sector Space.jar
├─ SSFML.jar
├─ libs\*.jar
├─ mods\
└─ ItemSpawner\ <- this repo
├─ itemspawner\mixin\*.java
├─ code\window\*.java
├─ code\store\*.java
├─ fabric.mod.json
└─ itemspawner.mixins.json
git clone https://github.com/jpreed00/ItemSpawner.git
Make sure a JDK 25+ javac/jar is on your PATH, or note the path to its
bin folder (the bundled Makefile defaults to D:\Java\jdk-25.0.4.1).
From the ItemSpawner folder:
make
That compiles the sources against the game jars one directory up and packages
..\mods\itemspawner.jar, ready to load. make run will also launch the game.
From the Sector Space directory, make builds every mod that has a Makefile.
To build by hand instead:
javac -encoding UTF-8 -cp "../Sector Space.jar;../SSFML.jar;../libs/*" -d build/classes itemspawner/mixin/*.java code/window/*.java code/store/*.java
jar --create --file ../mods/itemspawner.jar -C build/classes . -C . fabric.mod.json -C . itemspawner.mixins.json
On Linux/macOS, use
:instead of;as the classpath separator.
| Path | Purpose |
|---|---|
itemspawner/mixin/ |
Mixin: toggle-key check on the HUD update loop |
code/window/ |
The Item Spawner window (list + details pane) |
code/store/ |
Catalog built from the item database |
fabric.mod.json |
Mod metadata, dependencies, and mixin registration |
itemspawner.mixins.json |
Mixin configuration |
Released under the MIT License.
