Install
npm i zen-flow -D
Note: zen-flow only works with Minecraft 1.7.10.
Features
- Easy to use API, written in TypeScript
- Extensive documentation
- Supports MineTweaker, ModTweaker and ContentTweaker
- Formatted output (for easy debugging)
- Includes support for:
- Applied Energistics 2
- Avaritia
- Blood Magic
- Ex Nihilo
- Extra Utilities
- Forestry
- MineFactory Reloaded
- NEI
- Thaumcraft 4
- Thermal Expansion
- Tinkers' Construct
- Chisel 2
Example
, [
* [, , ],
* [, , ],
* [null, null, null]
* ]);
**/
add('')({
1: '', 2: '', 3: '',
4: '', 6: ''
});
/**
* recipes.addShaped(, [
* [null, , null],
* [, null, ],
* [null, , null]
* ]);
**/
add('')({ edge: ''});
// Remove & hide Extra Utility generators
/**
* recipes.remove();
* NEI.hide();
* [...]
* recipes.remove();
* NEI.hide();
**/
Array.from({ length: 11 })
.map((_, i) => [
``,
``,
``
])
.flat()
.map(generator => [
remove(generator),
hide(generator)
].join('\n'));">import { add, remove, hide } from 'zen-flow';
/**
* recipes.addShaped(, [
* [, , ],
* [, , ],
* [null, null, null]
* ]);
**/
add('' )({
1: '' , 2: '' , 3: '' ,
4: ', 5: '' , 6: ''
});
/**
* recipes.addShaped(, [
* [null,, null],
* [, null, ],
* [null,, null]
* ]);
**/
add('' )({ edge: '' });
// Remove & hide Extra Utility generators
/**
* recipes.remove();
* NEI.hide();
* [...]
* recipes.remove();
* NEI.hide();
**/
Array.from({ length: 11 })
.map((_, i) => [
`${i === 0 ? '' : `:${i}`} >` ,
`${i === 0 ? '' : `:${i}`} >`,
`${i === 0 ? '' : `:${i}`} >`
])
.flat()
.map(generator => [
remove(generator),
hide(generator)
].join('\n'));
/**
* recipes.addShaped(
* [
* [
* [null, null, null]
* ]);
**/
add('
1: '
4: '
});
/**
* recipes.addShaped(
* [null,
* [
* [null,
* ]);
**/
add('
// Remove & hide Extra Utility generators
/**
* recipes.remove(
* NEI.hide(
* [...]
* recipes.remove(
* NEI.hide(
**/
Array.from({ length: 11 })
.map((_, i) => [
`
`
`
])
.flat()
.map(generator => [
remove(generator),
hide(generator)
].join('\n'));
More information can be found in the documentation.