ZenScript
Copy
import mods.roots.SummonCreatures;
ZenScript
Copy
void addEntity(
  IEntityDefinition entity, // the entity to be summoned
  IIngredient[] ingredients // a list of ingredients used for the summoning
);

ZenScript
Copy
void removeEntity(
  IEntityDefinition entity // the entity to remove from summoning via recipe
);

ZenScript
Copy
void removeLifeEssence(
  IEntityDefinition entity // the entity to remove life essence for
);

ZenScript
Copy
void addLifeEssence(
  IEntityDefinition entity // the entity to add life essence for
);

ZenScript
Copy
void clearLifeEssence();

ZenScript
Copy
import mods.roots.SummonCreatures;

// Clear all automatically generated Life Essences added by
// the Animal Harvest map
SummonCreatures.clearLifeEssence();

// Add a recipe to summon a Chicken using 3 items
SummonCreatures.addEntity(<entity:minecraft:chicken>, [<minecraft:wheat_seeds>, <minecraft:wheat>, <ore:ingotIron>]);

// Remove the enderman added by the Animal Harvest example
// from the Life Essence list (presuming it hasn't been cleared)
SummonCreatures.removeLifeEssence(<entity:minecraft:enderman>);

// Manually add a life-essence drop capability for an ender dragon
SummonCreatures.addLifeEssence(<entity:minecraft:ender_dragon>);

// Remove the default recipe for cows
SummonCreatures.removeEntity(<entity:minecraft:cow>);