-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Niklas Wimmer edited this page Sep 8, 2020
·
1 revision
// Class net.thesilkminer.mc.ematter.zen.mad.MolecularAssemblerDevice
function registerShaped(name as NameSpacedString, group as string?, ingredients as IIngredient?[][], result as IItemStack, steppingFunction as SteppingFunction?, [[Optional]] allowMirroring as bool, [[Optional]] recipeFunction as IRecipeFunction) as void;
function registerShapeless(name as NameSpacedString, group as string?, ingredients as IIngredient[], result as IItemStack, steppingFunction as SteppingFunction?, [[Optional]] recipeFunction as IRecipeFunction) as void;
function unregister(recipe as MadRecipe) as void; // Not implemented
function unregisterByName(name as NameSpacedString) as void; // Not implemented
function unregisterAll() as void; // Not implemented
function findAll() as Sequence<MadRecipe>;
// Class net.thesilkminer.mc.ematter.zen.mad.step.SteppingFunctions
function costant(constant as long) as SteppingFunction;
function exponential([[Optional]] base as double, [[Optional]] coefficient as long, [[Optional]] translation as long, [[Optional]] mirror as bool) as SteppingFunction;
function linear(slope as long, [[Optional]] intercept as long) as SteppingFunction;
function quadratic(quadraticCoefficient as long, [[Optional]] unitCoefficient as long, [[Optional]] intercept as long) as SteppingFunction;
function custom(operator as LongUnaryOperator) as SteppingFunction;
function custom___unsafe(operator as LongUnaryOperator) as SteppingFunction;
// Class net.thesilkminer.mc.ematter.zen.mad.step.SteppingFunction
function getPowerCostAt(x as long) as long;
function toCommandString() as string;
// Class net.thesilkminer.mc.ematter.zen.mad.MadRecipe
function getPowerRequiredFor(player as IPlayer) as long;
recipeName as NameSpacedString