zen-flow 2.6.3 → 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zenflow.cjs CHANGED
@@ -363,6 +363,8 @@ const removeFurnace = (recipe) => {
363
363
  return `furnace.remove(<*>, ${recipe});`;
364
364
  return `furnace.remove(${formatArgs(recipe.out, recipe.in)});`;
365
365
  };
366
+ const addFurnaceFuel = (id, n) => `furnace.setFuel(${formatArgs(id, n)})`;
367
+ const removeFurnaceFuel = (id) => addFurnaceFuel(id, 0);
366
368
  const replace = (ingredient, recipe) => {
367
369
  const id = isObject(ingredient) ? ingredient.id : ingredient;
368
370
  return [
@@ -395,6 +397,7 @@ exports.addFermenter = addFermenter;
395
397
  exports.addFermenterFuel = addFermenterFuel;
396
398
  exports.addFoci = addFoci;
397
399
  exports.addFurnace = addFurnace;
400
+ exports.addFurnaceFuel = addFurnaceFuel;
398
401
  exports.addFurnaceThermal = addFurnace$1;
399
402
  exports.addGrinder = addGrinder;
400
403
  exports.addHammer = addHammer;
@@ -429,6 +432,7 @@ exports.removeFermenter = removeFermenter;
429
432
  exports.removeFermenterFuel = removeFermenterFuel;
430
433
  exports.removeFoci = removeFoci;
431
434
  exports.removeFurnace = removeFurnace;
435
+ exports.removeFurnaceFuel = removeFurnaceFuel;
432
436
  exports.removeFurnaceThermal = removeFurnace$1;
433
437
  exports.removeGrinder = removeGrinder;
434
438
  exports.removeHammer = removeHammer;
package/dist/zenflow.d.ts CHANGED
@@ -480,6 +480,15 @@ declare const removeFurnace: (recipe: string | {
480
480
  in: string;
481
481
  out: string;
482
482
  }) => string;
483
+ /**
484
+ * Add furnace fuel
485
+ *
486
+ * - Coal: `1600`
487
+ * - Planks: `300`
488
+ * - Stick: `100`
489
+ */
490
+ declare const addFurnaceFuel: (id: string, n: number) => string;
491
+ declare const removeFurnaceFuel: (id: string) => string;
483
492
  /**
484
493
  * Replace crafting recipe
485
494
  *
@@ -493,4 +502,4 @@ declare const replace: (ingredient: Ingredient, recipe: Recipe) => string;
493
502
  declare const replaceAll: (ingredient: Ingredient, recipe: Recipe) => string;
494
503
  declare const replaceMany: (ingredient: Ingredient, recipes: Recipe[]) => string;
495
504
 
496
- export { Enchantment, Ingredient, Recipe, RecipeShaped, RecipeShapeless, Stack, Text, TextRich, add, addCarpenter, addCentrifuge, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addDict, addExtreme, addFabricator, addFabricatorFuel, addFermenter, addFermenterFuel, addFoci, addFurnace, addFurnace$1 as addFurnaceThermal, addGrinder, addHammer, addInscriber, addInsolator, addLaser, addMirror, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addSqueezer, addStill, addTransposerExtract, addTransposerFill, hide, remove, removeCarpenter, removeCentrifuge, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeDict, removeExtreme, removeFabricator, removeFabricatorFuel, removeFermenter, removeFermenterFuel, removeFoci, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeGrinder, removeHammer, removeInscriber, removeInsolator, removeLaser, removeMoistener, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeSqueezer, removeStill, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, replaceQED, withEnchantment, withName, withTag, withTooltip, withTooltipShift };
505
+ export { Enchantment, Ingredient, Recipe, RecipeShaped, RecipeShapeless, Stack, Text, TextRich, add, addCarpenter, addCentrifuge, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addDict, addExtreme, addFabricator, addFabricatorFuel, addFermenter, addFermenterFuel, addFoci, addFurnace, addFurnaceFuel, addFurnace$1 as addFurnaceThermal, addGrinder, addHammer, addInscriber, addInsolator, addLaser, addMirror, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addSqueezer, addStill, addTransposerExtract, addTransposerFill, hide, remove, removeCarpenter, removeCentrifuge, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeDict, removeExtreme, removeFabricator, removeFabricatorFuel, removeFermenter, removeFermenterFuel, removeFoci, removeFurnace, removeFurnaceFuel, removeFurnace$1 as removeFurnaceThermal, removeGrinder, removeHammer, removeInscriber, removeInsolator, removeLaser, removeMoistener, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeSqueezer, removeStill, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, replaceQED, withEnchantment, withName, withTag, withTooltip, withTooltipShift };
package/dist/zenflow.mjs CHANGED
@@ -359,6 +359,8 @@ const removeFurnace = (recipe) => {
359
359
  return `furnace.remove(<*>, ${recipe});`;
360
360
  return `furnace.remove(${formatArgs(recipe.out, recipe.in)});`;
361
361
  };
362
+ const addFurnaceFuel = (id, n) => `furnace.setFuel(${formatArgs(id, n)})`;
363
+ const removeFurnaceFuel = (id) => addFurnaceFuel(id, 0);
362
364
  const replace = (ingredient, recipe) => {
363
365
  const id = isObject(ingredient) ? ingredient.id : ingredient;
364
366
  return [
@@ -375,4 +377,4 @@ const replaceMany = (ingredient, recipes) => [
375
377
  ...recipes.map((recipe) => add(ingredient, recipe))
376
378
  ].join("\n");
377
379
 
378
- export { add, addCarpenter, addCentrifuge, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addDict, addExtreme, addFabricator, addFabricatorFuel, addFermenter, addFermenterFuel, addFoci, addFurnace, addFurnace$1 as addFurnaceThermal, addGrinder, addHammer, addInscriber, addInsolator, addLaser, addMirror, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addSqueezer, addStill, addTransposerExtract, addTransposerFill, hide, remove, removeCarpenter, removeCentrifuge, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeDict, removeExtreme, removeFabricator, removeFabricatorFuel, removeFermenter, removeFermenterFuel, removeFoci, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeGrinder, removeHammer, removeInscriber, removeInsolator, removeLaser, removeMoistener, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeSqueezer, removeStill, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, replaceQED, withEnchantment, withName, withTag, withTooltip, withTooltipShift };
380
+ export { add, addCarpenter, addCentrifuge, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addDict, addExtreme, addFabricator, addFabricatorFuel, addFermenter, addFermenterFuel, addFoci, addFurnace, addFurnaceFuel, addFurnace$1 as addFurnaceThermal, addGrinder, addHammer, addInscriber, addInsolator, addLaser, addMirror, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addSqueezer, addStill, addTransposerExtract, addTransposerFill, hide, remove, removeCarpenter, removeCentrifuge, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeDict, removeExtreme, removeFabricator, removeFabricatorFuel, removeFermenter, removeFermenterFuel, removeFoci, removeFurnace, removeFurnaceFuel, removeFurnace$1 as removeFurnaceThermal, removeGrinder, removeHammer, removeInscriber, removeInsolator, removeLaser, removeMoistener, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeSqueezer, removeStill, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, replaceQED, withEnchantment, withName, withTag, withTooltip, withTooltipShift };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "main": "dist/zenflow.cjs",
6
6
  "module": "dist/zenflow.mjs",