To access Sieve without clarifying the full path, you can import the package at the top of your Script with the following:

ZenScript
Copy
import mods.exnihilocreatio.Sieve;
  • IIngredient block The block that drops the output.
  • IItemStack output The item that drops from the block..
  • Float chance The chance should be between 0-1.
ZenScript
Copy
addFlintMeshRecipe(IIngredient, IItemStack, Float chance);
addFlintMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.01);
ZenScript
Copy
addIronMeshRecipe(IIngredient, IItemStack, Float chance);
addIronMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.1);
ZenScript
Copy
addDiamondMeshRecipe(IIngredient, IItemStack, Float chance);
addDiamondMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 1);
ZenScript
Copy
mods.exnihilocreatio.Sieve.removeAll();
ZenScript
Copy
Sieve.removeAll();