Sieving
Link to sieving
Package
Link to package
To access Sieve
without clarifying the full path, you can import the package at the top of your Script with the following:
ZenScript Copyimport mods.exnihilocreatio.Sieve;
Methods
Link to methods
- 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.
String Mesh
Link to string-mesh
ZenScript CopySieve.addStringMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addStringMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.001);
Flint Mesh
Link to flint-mesh
ZenScript CopySieve.addFlintMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addFlintMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.01);
Iron Mesh
Link to iron-mesh
ZenScript CopySieve.addIronMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addIronMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 0.1);
Diamond Mesh
Link to diamond-mesh
ZenScript CopySieve.addDiamondMeshRecipe(IIngredient, IItemStack, Float chance);
Sieve.addDiamondMeshRecipe(<minecraft:gravel>, <minecraft:diamond>, 1);
Removal
Link to removal
ZenScript CopySieve.removeAll();