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
Sieve.addStringMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addStringMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.001);
ZenScript
Copy
Sieve.addFlintMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addFlintMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.01);
ZenScript
Copy
Sieve.addIronMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addIronMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.1);
ZenScript
Copy
Sieve.addDiamondMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addDiamondMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 1);
ZenScript
Copy
Sieve.removeAll();