Immersive Engineering Cloche
The Cloche is a type of IRecipeManager and implements all the methods that are available to IRecipeManager’s, such as removeRecipe()
and removeAll()
. Along with the Cloche is the Cloche Fertilizer, which is also a type of IRecipeManager and implements all the methods that are available to IRecipeManager’s, such as removeRecipe()
and removeAll()
.
Render Types
Render types are used to define how the BlockState should render when the recipe is being grown in the Cloche.
The default type is “generic”.
The following are valid types:
Name | Description |
---|---|
Name crop | Description Can be used for any 1-block crops with an age property like Wheat |
Name stacking | Description Can be used for stacking plants like Sugar Cane or Cactus |
Name stem | Description Can be used for stem-grown plants like Melon or Pumpkin |
Name generic | Description Can be used for any block, making it grow in size, like Mushrooms |
Methods
Add Recipe
The following script will add a recipe to the Cloche that uses an Oak Sapling as the seed input, the soil needed is Dirt, it will take 100 ticks to grow and will output an Apple, an Oak Sapling and five Oak Wood. The recipe will render an Oak Sapling while it is growing and it uses the “generic” render type.
Add Fertilizer
The following script will add a Fertilizer with a growth modifier of 6.0 that uses any Item from the Forge Dusts Sulfur tag.
Remove Recipes
The following script will remove all recipes from the Cloche that outputs Melon.
Remove Fertilizer
The following script will remove Bone Meal as a Fertilizer.