This page relates to Create Automated, which has built-in support!

Most of the parameters are pretty self-explanatory. This method is also quite similar to the crushing recipe.

addDeployingRecipe should pretty much always be true, so it's optional. If this is disabled, your recipe won't work on belts and depots.

ZenScript
Copy
// <recipetype:createautomated:picking>.addRecipe(String name, IIngredient input, MCWeightedItemStack[] outputs, @Optional(true) boolean addDeployingRecipe)

// Creates a picking recipe for picking a diamond with a 100% chance from dirt
<recipetype:createautomated:picking>.addRecipe("not_op_at_all", <item:minecraft:dirt>, [<item:minecraft:diamond> % 100]);