- Nix 100%
|
|
||
|---|---|---|
| .forgejo | ||
| .vscode | ||
| LICENSES | ||
| scripts/sfm | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| pyproject.toml | ||
| README.md | ||
| REUSE.toml | ||
| uv.lock | ||
Minecraft Scripts
This repository contains some of the scripts I've written for use with either CC: Tweaked or Super Factory Manager. Short descriptions and instructions will be included below for each script. All scripts in this repository are MIT-licensed. Feel free to copy and use them, but remember to provide attribution if you're re-publishing them.
Draconic Evolution Fusion Crafting
| Minecraft Version | Super Factory Manager Version |
|---|---|
| 1.21.1 | 4.32.0 |
This script provides automation for Fusion Crafting from the Draconic Evolution mod. The following mods are required for this script:
- Applied Energistics 2
- Pattern Provider (
pattern_provider)- Must be set to
Lock Crafting-Until primary crafting result is returned. This script will not function without this locking mode enabled.- If this is not set, the Pattern Provider will flood the buffer inventory with all of the ingredients for the requested crafts. This will clog the system and will need to be fixed manually.
- Must be set to
- Pattern Provider (
- Draconic Evolution
- Fusion Crafting Core (
core) - Draconium / Wyvern / Draconic / Chaotic Fusion Crafting Injector (
injector)- Unlike some other automation methods, this script does not require the Fusion Crafting Injectors to be in
Single itemmode, and will work perfectly fine withStackmode (the default in modern Draconic Evolution versions). - This script will provide energy to every side of every injector every tick. This drastically decreases the time spent doing the
Chargingphase of a Fusion Crafting operation.- While Fusion Crafting Injectors do have a maximum FE/t input ratelimit, this ratelimit is enforced per side of the injector.
- You must have as many Injectors as the largest recipe you intend to automate requires. A safe bet is usually 12 Injectors. Unless your modpack adds new, larger Fusion Crafting recipes, the largest Fusion Crafting recipes in base Draconic Evolution require 12 Injectors.
- Unlike some other automation methods, this script does not require the Fusion Crafting Injectors to be in
- Fusion Crafting Core (
Other labels:
buffer- A buffer inventory to take recipe inputs from.
- This inventory should only ever store the inputs for a single crafting operation.
energy_storage- A block to take energy from. You will want a significant amount of energy for charging the Fusion Crafting Injectors, especially for higher tier Injectors.
- I recommend using an Applied Flux Flux Accessor. Do note that your ME system must have an FE Storage Cell installed in it (and charged!) for this to work.
- Note that Flux Points from the Flux Networks mod will not work.
- Additionally, I recommend avoiding energy storage blocks that have low throughput (I/O) limits, such as Mekanism Energy Cubes or Powah Energy Cells.
The script takes one item from the first slot of the buffer inventory and inserts it into the Fusion Crafting Core, then distributes the remaining items to the Injectors, waits for the craft to complete, and returns the result to the Pattern Provider. Energy injection happens every tick, while item distribution and collection happens every 20 ticks.
Note
There are some recipes that require more than one item to be in the Fusion Crafting Core. This script can handle those recipes, but only if it is modified to do so. The script handles all recipes inside the base Draconic Evolution, including commonly problematic recipes like the Chaotic Core, Awakened Draconium Blocks, and Draconic Energy Relay Crystals.
Pattern Encoding
This setup is meant to be used alongside Applied Energistics 2 autocrafting through the use of a Pattern Provider. When creating your patterns, ensure that the first item in the pattern is the item that goes into the Fusion Crafting Core. The order of the remaining items does not matter, but the Core ingredient must be first. If you encode the recipe from a recipe viewer mod like Just Enough Items, it will probably get this right. Some example patterns have been provided below.
Extreme Reactors Turbine Automation
| Minecraft Version | Super Factory Manager Version |
|---|---|
| 1.21.1 | 4.32.0 |
Note
Documentation WIP, please see the comments in the script file itself for more information.
Hydroponics
| Minecraft Version | Super Factory Manager Version |
|---|---|
| 1.21.1 | 4.32.0 |
Note
Documentation WIP, please see the comments in the script file itself for more information.
Mob Farm
| Minecraft Version | Super Factory Manager Version |
|---|---|
| 1.21.1 | 4.32.0 |
This script provides automation for a mob farm, utilizing the following required mods:
- Apotheosis
- Salvaging Table (
salvager)
- Salvaging Table (
- Applied Energistics 2
- Interface (
interface)- Must have an Induction Card from Applied Flux installed.
- Must be configured to export energy, preferably at least 15,000 for each Mob Crusher in your setup.
- Your ME system must have an FE Storage Cell from Applied Flux in an ME Drive, and that cell must have power stored in it.
- Power stored in the AE2 system itself (i.e. via Energy Cells, or energy inserted via a Controller or Energy Acceptor) will not be drawn.
- Can theoretically be replaced with any block that can both push energy and receive items / fluids.
- The block in question must have an internal energy buffer for SFM to be able to pull energy out of it.
- Interface (
- Just Dire Things
- Experience Holder (
experience_holder)
- Experience Holder (
- Industrial Foregoing
- Mob Crusher (
mob_crusher)- The script was tested with 3 Mob Crushers, but more should work in theory, if needed. I would suggest slotting addons into the same Mob Crusher instead of using multiple, though. The More Industrial Foregoing Addons mod is good for this.
- Mob Crusher (
The script will automatically provide power to the Mob Crushers from the Interface every 60 ticks. Essence will be drawn from the Mob Crushers every 20 ticks, and sent to the Experience Holder. Every 20 ticks, armor and tools from the Mob Crusher will be sent to the Salvaging Table, and any other items (mob drops, Apotheosis gems, etc.) will be sent to the Interface. Simultaneously, all items stored in the Salvaging Table's output slots will be moved into the Interface. Every 100 ticks, any fluid inside the Experience Holder will be moved into the Interface.
Productive Bees Hives
| Minecraft Version | Super Factory Manager Version |
|---|---|
| 1.21.1 | 4.32.0 |
Note
Documentation WIP, please see the comments in the script file itself for more information.
Productive Bees Centrifuges
| Minecraft Version | Super Factory Manager Version |
|---|---|
| 1.21.1 | 4.32.0 |
Note
Documentation WIP, please see the comments in the script file itself for more information.

