zen-flow 4.4.4 → 4.4.5

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
@@ -215,9 +215,9 @@ const createLiquid = (id, recipe) => {
215
215
  recipe.viscosity,
216
216
  recipe.color,
217
217
  !!recipe.setFire,
218
- recipe.castingMaterial,
219
- typeof recipe.texture?.still === "string" ? formatLiteral(recipe.texture.still) : void 0,
220
- typeof recipe.texture?.flowing === "string" ? formatLiteral(recipe.texture.flowing) : void 0
218
+ typeof recipe.castingMaterial === "number" ? recipe.castingMaterial : 0,
219
+ typeof recipe.texture?.still === "string" ? formatLiteral(recipe.texture.still) : null,
220
+ typeof recipe.texture?.flowing === "string" ? formatLiteral(recipe.texture.flowing) : null
221
221
  );
222
222
  return `mods.content.Fluid.registerFluid(${out});`;
223
223
  };
package/dist/zenflow.mjs CHANGED
@@ -213,9 +213,9 @@ const createLiquid = (id, recipe) => {
213
213
  recipe.viscosity,
214
214
  recipe.color,
215
215
  !!recipe.setFire,
216
- recipe.castingMaterial,
217
- typeof recipe.texture?.still === "string" ? formatLiteral(recipe.texture.still) : void 0,
218
- typeof recipe.texture?.flowing === "string" ? formatLiteral(recipe.texture.flowing) : void 0
216
+ typeof recipe.castingMaterial === "number" ? recipe.castingMaterial : 0,
217
+ typeof recipe.texture?.still === "string" ? formatLiteral(recipe.texture.still) : null,
218
+ typeof recipe.texture?.flowing === "string" ? formatLiteral(recipe.texture.flowing) : null
219
219
  );
220
220
  return `mods.content.Fluid.registerFluid(${out});`;
221
221
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "4.4.4",
3
+ "version": "4.4.5",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "main": "dist/zenflow.cjs",
6
6
  "module": "dist/zenflow.mjs",