Skip to content

Commit feeb16a

Browse files
authored
Add Mystical Automation pages (#61)
* Initial work on Mystical Automation pages * Wiki and docs content * Fix Hero component error when a mod has no latest file
1 parent c288ed6 commit feeb16a

49 files changed

Lines changed: 730 additions & 292 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/web/components/mods/Hero.vue

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
:ui="{ background: 'dark:bg-gray-700' }"
8585
/>
8686
<h2 v-else :style="{ color: mod.primary_color }">
87-
{{ data.data.latest_release.mod_version }}
87+
{{ modVersion }}
8888
</h2>
8989
<span class="text-xl">Latest Release</span>
9090
</div>
@@ -95,7 +95,7 @@
9595
:ui="{ background: 'dark:bg-gray-700' }"
9696
/>
9797
<h2 v-else :style="{ color: mod.primary_color }">
98-
{{ data.data.latest_release.mc_version }}
98+
{{ mcVersion }}
9999
</h2>
100100
<span class="text-xl">Minecraft Version</span>
101101
</div>
@@ -134,6 +134,18 @@ const relations = computed(() =>
134134
: 0
135135
);
136136
137+
const modVersion = computed(() =>
138+
data.value.data && data.value.data.latest_release
139+
? data.value.data.latest_release.mod_version
140+
: "N/A"
141+
);
142+
143+
const mcVersion = computed(() =>
144+
data.value.data && data.value.data.latest_release
145+
? data.value.data.latest_release.mc_version
146+
: "N/A"
147+
);
148+
137149
onMounted(() => {
138150
setInterval(() => {
139151
if (!carouselRef.value) return;

apps/web/content/docs/1.21/extendedcrafting/combination-recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Combination Recipes
44
category: Extended Crafting
55
---
66

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

99
## Datapacks
1010

apps/web/content/docs/1.21/extendedcrafting/compression-recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Compression Recipes
44
category: Extended Crafting
55
---
66

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

99
## Datapacks
1010

apps/web/content/docs/1.21/extendedcrafting/ender-crafting-recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Ender Recipes
44
category: Extended Crafting
55
---
66

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

99
## Datapacks
1010

apps/web/content/docs/1.21/extendedcrafting/flux-crafting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Flux Recipes
44
category: Extended Crafting
55
---
66

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

99
## Datapacks
1010

apps/web/content/docs/1.21/extendedcrafting/singularities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Singularities
44
category: Extended Crafting
55
---
66

7-
Extended Crafting allows you easily add your own singularities.
7+
Extended Crafting allows you to easily add your own singularities.
88

99
## Adding Singularities
1010

apps/web/content/docs/1.21/extendedcrafting/table-recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Table Recipes
44
category: Extended Crafting
55
---
66

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

99
## Datapacks
1010

apps/web/content/docs/1.21/mysticalagriculture/awakening-recipes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Awakening Recipes
44
category: Mystical Agriculture
55
---
66

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

99
## Datapacks
1010

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

8888
## CraftTweaker
8989

90-
Mystical Agriculture allows you easily add your own Awakening recipes using CraftTweaker.
90+
Mystical Agriculture allows you to easily add your own Awakening recipes using CraftTweaker.
9191

9292
::callout{title="Recipe Manager Support" icon="i-heroicons-information-circle-solid"}
9393
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\>**!

apps/web/content/docs/1.21/mysticalagriculture/enchanter-recipes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Enchanter Recipes
44
category: Mystical Agriculture
55
---
66

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

99
## Datapacks
1010

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

4545
## CraftTweaker
4646

47-
Mystical Agriculture allows you easily add your own Enchanter recipes using CraftTweaker.
47+
Mystical Agriculture allows you to easily add your own Enchanter recipes using CraftTweaker.
4848

4949
::callout{title="Note" icon="i-heroicons-information-circle-solid"}
5050
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\>**!

apps/web/content/docs/1.21/mysticalagriculture/infusion-recipes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Infusion Recipes
44
category: Mystical Agriculture
55
---
66

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

99
## Datapacks
1010

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

5858
## CraftTweaker
5959

60-
Mystical Agriculture allows you easily add your own Infusion Crafting recipes using CraftTweaker.
60+
Mystical Agriculture allows you to easily add your own Infusion Crafting recipes using CraftTweaker.
6161

6262
::callout{title="Recipe Manager Support" icon="i-heroicons-information-circle-solid"}
6363
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\>**!

0 commit comments

Comments
 (0)