This page relates to Immersive Intelligence, which has built-in support!
Precision Assembler
The PrecisionAssembler
package can be used to modify the Immersive Intelligence Precision Assembler recipes.
Importing the Package
import mods.immersiveintelligence.PrecisionAssembler;
Adding Recipes
Parameters
Type | Name | Required |
---|---|---|
Type IItemStack | Name Main Output | Required Yes |
Type IItemStack | Name Secondary Output | Required Yes |
Type IIngredient[] | Name Inputs | Required Yes |
Type String[] | Name Tool Names | Required Yes |
Type String[] | Name Tool Animations | Required Yes |
Type int | Name Energy | Required Yes |
Type float | Name Time Multiplier | Required Yes |
Syntax
mods.immersiveintelligence.PrecisionAssembler.addRecipe(IItemStack itemOutput, IItemStack trash, IIngredient[] itemInputs, String[] tools, String[] animations, int energy, float timeMultiplier);
Animations
Name | Description | Example |
---|---|---|
Name pick | Description makes the tool pick an item from the slot (inserter only) | Example inserter pick first |
Name work | Description Works™ on the slot (plays animation) | Example solderer work second |
Name drop | Description drops the picked item onto the slot (inserter only) | Example inserter drop main |
Animations are defined using short 3-word command strings, i.e. inserter pick first
will make the inserter pick the
item from the first (left) slot.
Animations are persistent - an item picked by a tool remains picked until it is dropped.
A single animation consists of 3 parts - the in, work and out.
Tools/Default Action Time
Name | Action Time (ticks) |
---|---|
Name buzzsaw | Action Time (ticks) 140 |
Name drill | Action Time (ticks) 140 |
Name inserter | Action Time (ticks) 60 |
Name solderer | Action Time (ticks) 80 |
Name welder | Action Time (ticks) 160 |
Name hammer | Action Time (ticks) 40 |
Note the work/pick/drop times are dependent on the tool itself. Tool use durations can be modified in tools
section of the config/immersiveintelligence.cfg
file.
The total recipe time is a sum of all action times for each animation multiplied by the timeMultiplier
parameter.
Slots
Name | Position |
---|---|
Name main | Position Center |
Name first | Position Left |
Name second | Position Middle |
Name third | Position Right |
Example
mods.immersiveintelligence.PrecisionAssembler.addRecipe(<minecraft:diamond>,<minecraft:stone>,[<ore:oreGold>, <ore:oreIron>*2], ["drill","hammer","inserter"], ["inserter pick first","drill work main","inserter drop main","hammer work main"], 8000, 1);
Removing Recipes
Parameters
Type | Name | Required |
---|---|---|
Type IItemStack | Name Output | Required Yes |
Syntax
mods.immersiveintelligence.PrecisionAssembler.removeRecipe(IItemStack output);
Example
mods.immersiveintelligence.PrecisionAssembler.removeRecipe(<minecraft:diamond>);