zen-flow

logo
License MIT NPM - ZenFlow
$ npm i zen-flow -D

Note: zen-flow only works with Minecraft 1.7.10.

  • Applied Energistics 2
  • Avaritia
  • Ex Nihilo
  • Extra Utilities
  • Forestry
  • MineFactory Reloaded
  • NEI
  • Thermal Expansion
  • Tinkers' Construct
import { add, remove, hide } from 'zen-flow';

/**
* recipes.addShaped(<minecraft:saddle>, [
* [<minecraft:leather>, <minecraft:leather>, <minecraft:leather>],
* [<ore:ingotIron>, <minecraft:string>, <ore:ingotIron>],
* [null, null, null]
* ]);
**/
add('<minecraft:saddle>', {
1: '<minecraft:leather>', 2: '<minecraft:leather>', 3: '<minecraft:leather>',
4: '<ore:ingotIron', 5: '<minecraft:string>', 6: '<ore:ingotIron>'
});

/**
* recipes.addShaped(<minecraft:saddle>, [
* [null, <minecraft:leather>, null],
* [<minecraft:leather>, null, <minecraft:leather>],
* [null, <minecraft:leather>, null]
* ]);
**/
add('<minecraft:saddle>', { edge: '<minecraft:leather>' });

// Remove & hide Extra Utility generators

/**
* recipes.remove(<ExtraUtilities:generator>);
* NEI.hide(<ExtraUtilities:generator>);
* [...]
* recipes.remove(<ExtraUtilities:generator.64:10>);
* NEI.hide(<ExtraUtilities:generator.64:10>);
**/
Array.from({ length: 11 })
.map((_, i) => [
`<ExtraUtilities:generator${i === 0 ? '' : `:${i}`}>`,
`<ExtraUtilities:generator.8${i === 0 ? '' : `:${i}`}>`,
`<ExtraUtilities:generator.64${i === 0 ? '' : `:${i}`}>`
])
.flat()
.map(generator => [
remove(generator),
hide(generator)
].join('\n'));

More information can be found in the documentation.