Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/groovy-script/mods/botania-ceu/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
aside: false
---

# Botania CEu

These features require at least Botania CEu 1.10-r370.

In addition to the new categories, Botania CEu also changes the following in the official Groovyscript integration:

* Runic Altar and Petal Apothecary's recipe builders will use the machines' capacity as configured in the mod (default 16) rather than an arbitrary value of 20.

* Botanical Brewery recipe builder will use the machine's capacity as configured in the mod (default 6).

Otherwise, integration with all vanilla Botania features works out of the box.

## Categories

Has 4 subcategories.

* [Petal Apothecary Catalysts](./petal_apothecary_catalysts.md)

* [Runic Altar Catalysts](./runic_altar_catalysts.md)

* [Runic Altar Retained Items](./runic_altar_retained_items.md)

* [Terrestrial Agglomeration Plate](./terrestrial_agglomeration_plate.md)
65 changes: 65 additions & 0 deletions docs/groovy-script/mods/botania-ceu/petal_apothecary_catalysts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
title: "Petal Apothecary Catalysts"
titleTemplate: "Botania CEu | CleanroomMC"
description: "Allows configuring items used to finalize recipes in Petal Apothecary instead of seeds. Has the same effect as adding them through the config file."
source_code_link: "https://github.com/TeamDimensional/Botania-CEu/blob/1.12/src/main/java/vazkii/botania/client/integration/groovyscript/PetalApothecaryCatalysts.java"
---

# Petal Apothecary Catalysts (Botania)

## Description

Allows configuring items used to finalize recipes in Petal Apothecary instead of seeds. Has the same effect as adding them through the config file.

:::::::::: details Warning {open id="warning"}
The default list of catalysts is empty, which has a special behavior of "any seeds can be used as a catalyst". This special behavior is removed when any items are added as catalysts.
::::::::::

## Identifier

The identifier `mods.botania.petal_apothecary_catalysts` will be used as the default on this page.

:::::::::: details All Identifiers {id="quote"}

Any of these can be used to refer to this compat:

```groovy:no-line-numbers {8}
mods.Botania.petalapothecarycatalysts
mods.Botania.petalApothecaryCatalysts
mods.Botania.PetalApothecaryCatalysts
mods.botania.petalapothecarycatalysts
mods.botania.petalApothecaryCatalysts
mods.botania.PetalApothecaryCatalysts
mods.Botania.petal_apothecary_catalysts
mods.botania.petal_apothecary_catalysts/* Used as page default */ // [!code focus]
mods.botania_ceu.petalapothecarycatalysts
mods.botania_ceu.petalApothecaryCatalysts
mods.botania_ceu.PetalApothecaryCatalysts
mods.botania_ceu.petal_apothecary_catalysts
```

::::::::::

## Adding Recipes

- Adds a new catalyst:

```groovy:no-line-numbers
mods.botania.petal_apothecary_catalysts.add(ItemStack)
```

:::::::::: details Example {open id="example"}

```groovy:no-line-numbers
mods.botania.petal_apothecary_catalysts.add(item('minecraft:sapling'))
```

::::::::::

## Removing Recipes

- Removes a catalyst:

```groovy:no-line-numbers
mods.botania.petal_apothecary_catalysts.remove(ItemStack)
```
69 changes: 69 additions & 0 deletions docs/groovy-script/mods/botania-ceu/runic_altar_catalysts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: "Runic Altar Catalysts"
titleTemplate: "Botania CEu | CleanroomMC"
description: "Allows configuring items used to activate Runic Altar recipes instead of Livingrock. Has the same effect as adding them through the config file."
source_code_link: "https://github.com/TeamDimensional/Botania-CEu/blob/1.12/src/main/java/vazkii/botania/client/integration/groovyscript/RunicAltarCatalysts.java"
---

# Runic Altar Catalysts (Botania)

## Description

Allows configuring items used to activate Runic Altar recipes instead of Livingrock. Has the same effect as adding them through the config file.

## Identifier

The identifier `mods.botania.runic_altar_catalysts` will be used as the default on this page.

:::::::::: details All Identifiers {id="quote"}

Any of these can be used to refer to this compat:

```groovy:no-line-numbers {8}
mods.Botania.runicaltarcatalysts
mods.Botania.runicAltarCatalysts
mods.Botania.RunicAltarCatalysts
mods.botania.runicaltarcatalysts
mods.botania.runicAltarCatalysts
mods.botania.RunicAltarCatalysts
mods.Botania.runic_altar_catalysts
mods.botania.runic_altar_catalysts/* Used as page default */ // [!code focus]
mods.botania_ceu.runicaltarcatalysts
mods.botania_ceu.runicAltarCatalysts
mods.botania_ceu.RunicAltarCatalysts
mods.botania_ceu.runic_altar_catalysts
```

::::::::::

## Adding Recipes

- Adds a new catalyst, making it impossible to use it in Runic Altar recipes:

```groovy:no-line-numbers
mods.botania.runic_altar_catalysts.add(ItemStack)
```

:::::::::: details Example {open id="example"}

```groovy:no-line-numbers
mods.botania.runic_altar_catalysts.add(item('minecraft:gold_block'))
```

::::::::::

## Removing Recipes

- Removes a catalyst and makes it possible to use this item in Runic Altar recipes:

```groovy:no-line-numbers
mods.botania.runic_altar_catalysts.remove(ItemStack)
```

:::::::::: details Example {open id="example"}

```groovy:no-line-numbers
mods.botania.runic_altar_catalysts.remove(item('botania:livingrock'))
```

::::::::::
69 changes: 69 additions & 0 deletions docs/groovy-script/mods/botania-ceu/runic_altar_retained_items.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: "Runic Altar Retained Items"
titleTemplate: "Botania CEu | CleanroomMC"
description: "Allows configuring items that will be dropped out of the Runic Altar at the end of the recipe rather than being consumed. Has the same effect as adding them through the config file."
source_code_link: "https://github.com/TeamDimensional/Botania-CEu/blob/1.12/src/main/java/vazkii/botania/client/integration/groovyscript/RunicAltarRetainedItems.java"
---

# Runic Altar Retained Items (Botania)

## Description

Allows configuring items that will be dropped out of the Runic Altar at the end of the recipe rather than being consumed. Has the same effect as adding them through the config file.

## Identifier

The identifier `mods.botania.runic_altar_retained_items` will be used as the default on this page.

:::::::::: details All Identifiers {id="quote"}

Any of these can be used to refer to this compat:

```groovy:no-line-numbers {8}
mods.Botania.runicaltarretaineditems
mods.Botania.runicAltarRetainedItems
mods.Botania.RunicAltarRetainedItems
mods.botania.runicaltarretaineditems
mods.botania.runicAltarRetainedItems
mods.botania.RunicAltarRetainedItems
mods.Botania.runic_altar_retained_items
mods.botania.runic_altar_retained_items/* Used as page default */ // [!code focus]
mods.botania_ceu.runicaltarretaineditems
mods.botania_ceu.runicAltarRetainedItems
mods.botania_ceu.RunicAltarRetainedItems
mods.botania_ceu.runic_altar_retained_items
```

::::::::::

## Adding Recipes

- Adds a retained item:

```groovy:no-line-numbers
mods.botania.runic_altar_retained_items.add(ItemStack)
```

:::::::::: details Example {open id="example"}

```groovy:no-line-numbers
mods.botania.runic_altar_retained_items.add(item('botania:manaresource'))
```

::::::::::

## Removing Recipes

- Removes a retained item:

```groovy:no-line-numbers
mods.botania.runic_altar_retained_items.remove(ItemStack)
```

:::::::::: details Example {open id="example"}

```groovy:no-line-numbers
mods.botania.runic_altar_retained_items.remove(item('botania:rune', 1))
```

::::::::::
Loading