-
Notifications
You must be signed in to change notification settings - Fork 9
CraftTweaker Support
Ash is not consumed.
Important thing to note is that there's only 4 inputs on the centrifuge, JEI properly shows all 4 inputs.
aspect1, aspect2, ... must be String. (ex: "iron"
)
range1, range2, ... must be IntRange! (ex: 14 to 64
)
(Consult CraftTweaker documentation for more information on zenscript types)
mods.soot.AlchemicalMixer.add(ILiquidStack outputFluid, ILiquidStack[] inputFluids, {<aspect1>:<range1>,<aspect2>:<range2>,...});
mods.soot.AlchemicalMixer.remove(ILiquidStack outputFluid);
You can get an IEssenceStack with <brew_essence:(name)>
.
Multiplication and withAmount are supported.
Example:
<brew_essence:fire> * 10
<brew_essence:fire>.withAmount(10)
mods.soot.Still.add(String id, ILiquidStack outputFluid, ILiquidStack inputFluid, IIngredient catalyst, int catalystConsumed, @Optional IEssenceStack[] essences)
Adds a regular still recipe for transforming one fluid into another fluid using some catalyst.
mods.soot.Still.addModifierRecipe(String id, IIngredient inputFluid, IIngredient catalyst, int catalystConsumed, @Optional EssenceStackCT[] essences)
Adds a modifier recipe, modifying a fluid and outputting it with some modifiers changed.
mods.soot.Still.addDistillRecipe(String id, IIngredient inputFluid, IIngredient catalyst, int catalystConsumed, @Optional EssenceStackCT[] essences)
Adds a modifier recipe, but it can only be used if the Still has a Distillation Pipe upgrade attached.
mods.soot.Still.addFoodRecipe(String id, IIngredient inputFluid, IIngredient catalyst, int catalystConsumed, int hunger, float saturation, @Optional EssenceStackCT[] essences)
Adds a modifier recipe that changes a drink's food values. Provided for convenience.
saturation works as it does internally (aka a multiplier to the hunger value)
mods.soot.Still.remove(String id)
Removes a still recipe
mods.soot.Still.addCatalyst(IIngredient item, int amount)
Adds an item with a catalyst amount other than 1000.
mods.soot.Still.addPotionModifier(String name, boolean primary, IPotion potion, int maxStack)
Adds a modifier that provides a potion effect with a certain amount of maximum stacks.
primary specifies whether the modifier is Primary or Secondary.
All modifier recipes support these methods chained on them.
Example:
mods.soot.Still.addDistillRecipe("distill_test", (<liquid:gas_dwarf> * 4) | (<liquid:oil_dwarf> * 4), <minecraft:stone>, 1)
.gain(5)
.max("fuel",2000);
.add(String modifier, float amount, @Optional boolean hidden)
.add(String modifier, float amount, float limit, @Optional boolean hidden)
Adds or subtracts amount to the existing modifier value, but does not surpass the limit.
.multiply(String modifier, float multiplier, @Optional boolean hidden)
.multiply(String modifier, float multiplier, float min, float max, @Optional boolean hidden)
Multiplies existing modifier value by multiplier, but do not surpass the limits set in min and max.
.gain(int output)
Sets the output amount of the recipe to some value other than the input amount.
.min(String modifier, float amount, @Optional boolean hidden)
Sets the modifier value to amount if amount is smaller.
.max(String modifier, float value, @Optional boolean hidden)
Sets the modifier value to amount if amount is larger.
.info(String modifier)
.info(String modifier, String format)
Shows a message in the tooltip.
format can be a string containing any minecraft formatting codes.
IFluidDefinition::setBrewingModifier(String modifier, float amount)
Sets a default modifier on a fluid.
IFluidDefinition::createMug(int model, int[] color)
Allows the fluid to filled into a mug.
model can be:
- 0 - Empty Mug
- 1 - Filled Mug
- 2 - Frothy Mug
Example:
<liquid:oil_dwarf>.definition.createMug(1,[192,192,64]);
<liquid:gas_dwarf>.definition.createMug(2,[192,255,192]);
<liquid:lava>.definition.createMug(1,[255,64,16]);
<liquid:lava>.definition.setBrewingModifier("fuel", 10000);