Skip to content
Merged
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
16 changes: 14 additions & 2 deletions apps/web/components/mods/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
:ui="{ background: 'dark:bg-gray-700' }"
/>
<h2 v-else :style="{ color: mod.primary_color }">
{{ data.data.latest_release.mod_version }}
{{ modVersion }}
</h2>
<span class="text-xl">Latest Release</span>
</div>
Expand All @@ -95,7 +95,7 @@
:ui="{ background: 'dark:bg-gray-700' }"
/>
<h2 v-else :style="{ color: mod.primary_color }">
{{ data.data.latest_release.mc_version }}
{{ mcVersion }}
</h2>
<span class="text-xl">Minecraft Version</span>
</div>
Expand Down Expand Up @@ -134,6 +134,18 @@ const relations = computed(() =>
: 0
);

const modVersion = computed(() =>
data.value.data && data.value.data.latest_release
? data.value.data.latest_release.mod_version
: "N/A"
);

const mcVersion = computed(() =>
data.value.data && data.value.data.latest_release
? data.value.data.latest_release.mc_version
: "N/A"
);

onMounted(() => {
setInterval(() => {
if (!carouselRef.value) return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Combination Recipes
category: Extended Crafting
---

Extended Crafting allows you easily add your own Combination Crafting recipes using both Datapacks and CraftTweaker.
Extended Crafting allows you to easily add your own Combination Crafting recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Compression Recipes
category: Extended Crafting
---

Extended Crafting allows you easily add your own Compressor recipes using both Datapacks and CraftTweaker.
Extended Crafting allows you to easily add your own Compressor recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Ender Recipes
category: Extended Crafting
---

Extended Crafting allows you easily add your own Ender Crafting recipes using both Datapacks and CraftTweaker.
Extended Crafting allows you to easily add your own Ender Crafting recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Flux Recipes
category: Extended Crafting
---

Extended Crafting allows you easily add your own Flux Crafting recipes using both Datapacks and CraftTweaker.
Extended Crafting allows you to easily add your own Flux Crafting recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Singularities
category: Extended Crafting
---

Extended Crafting allows you easily add your own singularities.
Extended Crafting allows you to easily add your own singularities.

## Adding Singularities

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Table Recipes
category: Extended Crafting
---

Extended Crafting allows you easily add your own Extended Crafting Table recipes using both Datapacks and CraftTweaker.
Extended Crafting allows you to easily add your own Extended Crafting Table recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Awakening Recipes
category: Mystical Agriculture
---

Mystical Agriculture allows you easily add your own Awakening recipes using both Datapacks and CraftTweaker.
Mystical Agriculture allows you to easily add your own Awakening recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down Expand Up @@ -87,7 +87,7 @@ This file is a single JSON object where the keys are the item IDs and the values

## CraftTweaker

Mystical Agriculture allows you easily add your own Awakening recipes using CraftTweaker.
Mystical Agriculture allows you to easily add your own Awakening recipes using CraftTweaker.

::callout{title="Recipe Manager Support" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration supports <a href="https://docs.blamejared.com/1.21.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalagriculture:awakening\>**!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Enchanter Recipes
category: Mystical Agriculture
---

Mystical Agriculture allows you easily add your own Enchanter recipes using both Datapacks and CraftTweaker.
Mystical Agriculture allows you to easily add your own Enchanter recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down Expand Up @@ -44,7 +44,7 @@ This section will go over the values available to use in an Enchanter recipe. Sy

## CraftTweaker

Mystical Agriculture allows you easily add your own Enchanter recipes using CraftTweaker.
Mystical Agriculture allows you to easily add your own Enchanter recipes using CraftTweaker.

::callout{title="Note" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration now supports <a href="https://docs.blamejared.com/1.21.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalagriculture:enchanter\>**!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Infusion Recipes
category: Mystical Agriculture
---

Mystical Agriculture allows you easily add your own Infusion Crafting recipes using both Datapacks and CraftTweaker.
Mystical Agriculture allows you to easily add your own Infusion Crafting recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down Expand Up @@ -57,7 +57,7 @@ This section will go over the values available to use in an Infusion Crafting re

## CraftTweaker

Mystical Agriculture allows you easily add your own Infusion Crafting recipes using CraftTweaker.
Mystical Agriculture allows you to easily add your own Infusion Crafting recipes using CraftTweaker.

::callout{title="Recipe Manager Support" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration supports <a href="https://docs.blamejared.com/1.21.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalagriculture:infusion\>**!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Reprocessor Recipes
category: Mystical Agriculture
---

Mystical Agriculture allows you easily add your own Seed Reprocessor recipes using both Datapacks and CraftTweaker.
Mystical Agriculture allows you to easily add your own Seed Reprocessor recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down Expand Up @@ -39,7 +39,7 @@ This section will go over the values available to use in a Seed Reprocessor reci

## CraftTweaker

Mystical Agriculture allows you easily add your own Reprocessor Crafting recipes using CraftTweaker.
Mystical Agriculture allows you to easily add your own Reprocessor Crafting recipes using CraftTweaker.

::callout{title="Note" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration supports <a href="https://docs.blamejared.com/1.20.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalagriculture:reprocessor\>**!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Soul Extraction Recipes
category: Mystical Agriculture
---

Mystical Agriculture allows you easily add your own Soul Extraction recipes using both Datapacks and CraftTweaker.
Mystical Agriculture allows you to easily add your own Soul Extraction recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down Expand Up @@ -40,7 +40,7 @@ This section will go over the values available to use in a Soul Extraction recip

## CraftTweaker

Mystical Agriculture allows you easily add your own Soul Extraction recipes using CraftTweaker.
Mystical Agriculture allows you to easily add your own Soul Extraction recipes using CraftTweaker.

::callout{title="Recipe Manager Support" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration supports <a href="https://docs.blamejared.com/1.21.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalagriculture:soul_extraction\>**!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Soulium Spawner Recipes
category: Mystical Agriculture
---

Mystical Agriculture allows you easily add your own Soulium Spawner recipes using both Datapacks and CraftTweaker.
Mystical Agriculture allows you to easily add your own Soulium Spawner recipes using both Datapacks and CraftTweaker.

## Datapacks

Expand Down Expand Up @@ -47,7 +47,7 @@ This section will go over the values available to use in a Soulium Spawner recip

## CraftTweaker

Mystical Agriculture allows you easily add your own Soulium Spawner recipes using CraftTweaker.
Mystical Agriculture allows you to easily add your own Soulium Spawner recipes using CraftTweaker.

::callout{title="Recipe Manager Support" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration supports <a href="https://docs.blamejared.com/1.21.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalagriculture:soulium_spawner\>**!
Expand Down
11 changes: 11 additions & 0 deletions apps/web/content/docs/1.21/mysticalautomation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
id: mysticalautomation
title: Mystical Automation
category: Mystical Automation
hidden: true
---

Welcome to the Mystical Automation documentation. Here you will find information useful to you if you plan on using Mystical Automation in your modpack.

::docs-section-list{}
::
113 changes: 113 additions & 0 deletions apps/web/content/docs/1.21/mysticalautomation/farmer-recipes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
---
id: farmer-recipes
title: Farmer Recipes
category: Mystical Automation
---

Mystical Automation allows you to easily add your own Farmer recipes using both Datapacks and CraftTweaker.

## Datapacks

::callout{title="Prerequisites" icon="i-heroicons-information-circle-solid"}
- You can learn more about using vanilla datapacks <a href="https://minecraft.gamepedia.com/Data_pack" target="_blank">here</a>.
- You can learn more about creating recipe JSON files <a href="https://minecraft.gamepedia.com/Recipe" target="_blank">here</a>.
::

### The Recipe File

This section will go over the values available to use in a Farmer recipe. Syntax can be inferred from the example JSON below.

| Field | Required | Description |
|-----------|----------|-------------------------------------------------------------------------|
| `type` | ✓ | The recipe type must be `mysticalautomation:farmer`. |
| `seeds` | ✓ | The item that will be placed in the Seed slot. |
| `soil` | ✓ | The item that will be placed in the Soil slot. |
| `crux` | | The item that will be placed in the Crux slot. |
| `stages` | ✓ | The amount of growth stages required for this recipe. |
| `results` | ✓ | The potential result items including their item and chance of dropping. |

### Example File

```json
{
"type": "mysticalautomation:farmer",
"seeds": {
"item": "minecraft:carrot"
},
"soil": {
"item": "minecraft:farmland"
},
"crux": {
"item": "minecraft:cobblestone"
},
"stages": 7,
"results": [
{
"item": {
"id": "minecraft:apple"
},
"chance": 1.0
},
{
"item": {
"id": "minecraft:diamond"
},
"chance": 0.5
}
]
}
```

## CraftTweaker

Mystical Automation allows you to easily add your own Farmer recipes using CraftTweaker.

::callout{title="Note" icon="i-heroicons-information-circle-solid"}
CraftTweaker integration supports <a href="https://docs.blamejared.com/1.21.1/en/tutorial/Recipes/RecipeManagers" target="_blank">Recipe Managers</a>! Access all applicable methods using **\<recipetype:mysticalautomation:farmer\>**!
::

### Adding A Recipe

```java
<recipetype:mysticalautomation:farmer>.addRecipe(name, <seeds>, <soil>, stages, {results...});
<recipetype:mysticalautomation:farmer>.addRecipe(name, <seeds>, <soil>, <crux>, stages, {results...});
```

| Field | Required | Description |
|-----------|----------|---------------------------------------------------------------------------|
| `name` | ✓ | A unique name for this recipe. Must be all lower case and have no spaces. |
| `seeds` | ✓ | The item that will be placed in the Seed slot. |
| `soil` | ✓ | The item that will be placed in the Soil slot. |
| `crux` | | The item that will be placed in the Crux slot. |
| `stages` | ✓ | The amount of growth stages required for this recipe. |
| `results` | ✓ | The potential result items including their item and chance of dropping. |

#### Example

```java
<recipetype:mysticalautomation:farmer>.addRecipe("test_farmer_no_crux",
<item:mysticalagriculture:prosperity_seed_base>, <item:mysticalagriculture:inferium_farmland>, 3,
{
<item:minecraft:carrot>: 1.0 as float?,
<item:minecraft:potato>: 0.25 as float?
}
);

<recipetype:mysticalautomation:farmer>.addRecipe("test_farmer_crux",
<item:mysticalagriculture:prosperity_seed_base>, <item:mysticalagriculture:prudentium_farmland>, <item:minecraft:cobblestone>, 5,
{
<item:minecraft:carrot>: 1.0 as float?,
<item:minecraft:potato>: 0.25 as float?
}
);
```

### Removing Recipes

```java
<recipetype:mysticalautomation:farmer>.removeBySeeds(<seeds>);
```

| Field | Required | Description |
|---------|----------|-------------------------------------|
| `seeds` | ✓ | The item to remove all recipes for. |
7 changes: 7 additions & 0 deletions apps/web/content/docs/1.21/mysticalautomation/fertilizers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
id: fertilizers
title: Fertilizers
category: Mystical Automation
---

Any item in the `c:fertilizers` tag can be used as a Fertilizer in the Fertilizer.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
id: awakening-altarnator
title: Awakening Altarnator
icon: /assets/mysticalautomation/v1/blocks/awakening_altarnator.png
sort: 6
version: 1.0.0
---

## Overview

The Awakening Altarnator is a single-block automatable version of the [Awakening Altar](../../mysticalagriculture/blocks/awakening-altar.md).

## Usage

Awakening Altarnators require energy to function. You can either provide energy via any Forge Energy compatible energy transfer or use the internal solid-fuel-based generator.

## Screen Overview

![](/assets/mysticalautomation/v1/screens/awakening_altarnator_screen.png)

1. **Energy Bar:** Displays the amount of energy this block contains.
2. **Fuel Slot:** Burnable items can be placed here to generate energy.
3. **Recipe Slots:** Click on these slots with items to set the desired output recipe.
4. **Input Slots:** Place your input ingredients here in their corresponding slots.
5. **Output Slot:** The recipe output will appear here.
6. **Upgrade Slot:** Place a [Machine Upgrade](../../mysticalagriculture/items/machine-upgrades.md) here to upgrade the machine.
26 changes: 26 additions & 0 deletions apps/web/content/wiki/1.21/mysticalautomation/blocks/crafter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
id: crafter
title: Crafter
icon: /assets/mysticalautomation/v1/blocks/crafter.png
sort: 2
version: 1.0.0
---

## Overview

The Crafter is a machine for automatically crafting vanilla crafting recipes.

## Usage

Crafters require energy to function. You can either provide energy via any Forge Energy compatible energy transfer or use the internal solid-fuel-based generator.

## Screen Overview

![](/assets/mysticalautomation/v1/screens/crafter_screen.png)

1. **Energy Bar:** Displays the amount of energy this block contains.
2. **Fuel Slot:** Burnable items can be placed here to generate energy.
3. **Recipe Slots:** Click on these slots with items to set the desired output recipe.
4. **Input Slots:** Place your input ingredients here in their corresponding slots.
5. **Output Slot:** The recipe output will appear here.
6. **Upgrade Slot:** Place a [Machine Upgrade](../../mysticalagriculture/items/machine-upgrades.md) here to upgrade the machine.
Loading