This page relates to Immersive Intelligence, which has built-in support!
Chemical Painter
The ChemicalPainter
package can be used to modify the Immersive Intelligence Chemical Painter recipes.
Importing the Package
Adding Recipes
Parameters
Type | Name | Required |
---|---|---|
Type IIngredient | Name Item Input | Required Yes |
Type IItemStack | Name Item Output | Required Yes |
Type int | Name Paint Amount | Required Yes |
Type int | Name Energy | Required Yes |
Type int | Name Time | Required Yes |
Paint amount is the total amount of ink in mB used for a single process.
Amounts of specific ink are based on their percentage in the CMYK
color model.
Syntax
IChemicalPainterFunction
IChemicalPainterFunction is a function used to determine the output item of a recipe based on the stack and selected
paint color.
For example, it can be used to get the core NBT tag or merge the core and casing’s NBT tags.
Type | Name |
---|---|
Type IItemStack | Name Input |
Type int | Name RGB Int Color |
Type int | Name Vanilla Color |
The Vanilla Color is a number 0-15 and represents a dye color based on damage value.
Returns: IItemStack
Example
Adding Washing Recipes
Washing recipes are functionally the same as regular recipes, but are placed in a different category in JEI.
Parameters
Type | Name | Required |
---|---|---|
Type IIngredient | Name Item Input | Required Yes |
Type IItemStack | Name Item Output | Required Yes |
Type ILiquidStack | Name Fluid Input | Required Yes |
Type int | Name Energy | Required Yes |
Type int | Name Time | Required Yes |
Syntax
Example
Removing Recipes
Parameters
Type | Name | Required |
---|---|---|
Type IItemStack | Name Output | Required Yes |