Immersive Engineering - roidrole/Roids-Tweaker GitHub Wiki
The official IE CT support lacks a few features. This aims to fix this.
Features :
- Arc Furnace
- Blueprint
- Excavator Expansion
- Garden Cloche
- IWorld Expansion
- Metal Press
- Mineral Mix Expansion
- Slag Replacement
Import :
import mods.immersiveengineering.ArcFurnace| Method | Parameters | Description |
|---|---|---|
| addRecycling | ingredient as IIngredient | Adds the ingredient to the recycling whitelist. IE will add its default recipes afterwards |
| removeRecyclingOutput | IIngredient ingredient | Prevents any recycling recipe which would have this output |
Import :
import mods.immersiveengineering.Blueprint;| Method | Parameters | Description |
|---|---|---|
| getRegisteredBlueprints | [None] | Returns a string[] containing all registered blueprint types. |
| addBlueprint | type as string | Adds a blueprint. addRecipe already does this if required, this method is for getRegisteredBlueprints |
| addVillagerTrade | category as string, price as IItemStack | Adds a blueprint for this category to the list that IE's villager can sell |
I'll also mention here that the translationKey for blueprints is desc.immersiveengineering.info.blueprint.[Blueprint's Name]. It will fall back to the blueprint's raw type.
Import :
import mods.immersiveengineering.Excavator;| Method | Parameters | Description |
|---|---|---|
| getRegisteredMinerals | [None] | Returns a List<MineralMix> containing all registered minerals. |
In addition to the CT support, there is a command to print all crops or liquid fertilizers : /ct gardencloche [fluidFertilizers or crop]
Import :
import mods.roidtweaker.immersiveengineering.GardenCloche| Method | Parameters | Description |
|---|---|---|
| addFertilizer | fertilizer as IIngredient, multiplier as float | Works with any IIngredient, including ILiquidStack and ItemConditions |
| addFertilizer | fertilizer as IIngredient, multiplier as GardenClocheMultiplierFunction | IE will call this function when it needs the multiplier. its first parameter is always IItemStack or ILiquidStack |
| RemoveFertilizer | fertilizer as IIngredient | fertilizer must be convertible to List or List. Loops through the list and removes all FertilizerHandlers matching this stack |
| clearFertilizers | @Optional Boolean restrictionReadWiki | if false, only fluids ; if true, only items ; if unspecified, both |
| listAllFluidFertilizers | [None] | Returns a List containing fluidFertilizers. Kept for ZenCloche parity. Do not call this in your scripts. |
| listAllCrops | [None] | Returns a List containing crops. Kept for ZenCloche parity. Do not call this in your scripts. |
| addPlantHandler | type as string | You can add a plant handler. Not sure why you would want to do that. |
| addCrop | type as string, seed as IIngredient, drops as IItemStack[], @Optional soil as IIngredient, @Optional display as IBlock | Default registered types are "crop", "stem" and "stacking", default soil is dirt, default display is crop |
| addCrop | type as string, seed as IIngredient, drops as IItemStack[], soil as IIngredient, display as IBlockState | Same, but you can specify the blockstate instead of having the block's default state |
| removeCrop | crop as IIngredient, @Optional type as string | If type is unspecified, will be removed from all types having this seed. |
| setSoilTexture | soil as IIngredient, texture as string | Supports IOreDictEntry and IItemStack. The texture string should have the format namespace:path |
Import :
import mods.roidtweaker.immersiveengineering.GardenClocheMultiplierFunctionIs really just a function(fertilizer as IIngredient, seed as IItemStack, soil as IItemStack) as float. Exists solely so you can specify "as GardenClocheMultiplierFunction" because CT has trouble finding the type
Import :
import crafttweaker.world.IWorld| Method | Parameters | Return Type | Note |
|---|---|---|---|
| getMineralMix | pos as IBlockPos | MineralMix | |
| setMineralMix | pos as IBlockPos, mix as MineralMix | void | |
| getMineralMap | [None] | MineralMix[][IBlockPos] | For compat with MineralMixTweaker. Prefer using the above methods |
Allows NBT-sensitive recipes
Import :
import mods.immersiveengineering.MetalPress| Method | Parameters |
|---|---|
| addRecipeNBT | output as IItemStack, input as IIngredient, mold as IItemStack, energy as int |
Import :
import mods.immersiveengineering.MineralMix| Method | Parameters | ReturnType |
|---|---|---|
| toString | [None] | Returns the name of the MineralMix. Also a ZenCaster |
| printRegisteredMinerals | [None] | void |
| setWeight | weight as int | void |
| setDimensionWhitelist | list as int[] | void |
| setDimensionBlacklist | list as int[] | void |
| getWeight | [None] | int |
| getOres | [None] | WeightedOreDictEntry[] |
| getDimensionWhitelist | [None] | int[] |
| getDimensionBlacklist | [None] | int[] |
Allows easy replacement of slag in Blast Furnace and Arc Furnace recipes (all default IE recipes with slag)
Import :
import mods.immersiveengineering.SlagReplacer| Method | Parameters | Description |
|---|---|---|
| setSlag | slag as IItemStack, @Optional filter as IIngredient, @Optional filterBy as String | Filter defaults to <*> ; filterBy accepts OUTPUT and SLAG, defaulting to OUTPUT. Loops through all registered recipes, testing them against the filter and editing the recipe if needed |