Skip to content

Commit c9f4f1d

Browse files
authored
Add Forming Press Crafting Recipe (#1100)
This PR for Forming Press adds a vanilla recipe for the Forming Press itself as it was absent. It also fixes an error in the guidebook recipe file for the Forming Press.
1 parent 131d932 commit c9f4f1d

3 files changed

Lines changed: 64 additions & 3 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parent": "minecraft:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "gm4_forming_press:forming_press"
8+
}
9+
},
10+
"has_materials": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": [
16+
"minecraft:cobblestone",
17+
"minecraft:repeater",
18+
"minecraft:piston",
19+
"minecraft:furnace"
20+
]
21+
}
22+
]
23+
}
24+
}
25+
},
26+
"requirements": [
27+
[
28+
"has_the_recipe",
29+
"has_materials"
30+
]
31+
],
32+
"rewards": {
33+
"recipes": [
34+
"gm4_forming_press:forming_press"
35+
]
36+
}
37+
}

gm4_forming_press/data/gm4_forming_press/gm4_recipes/forming_press.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "shaped",
44
"recipe": [
55
" P ",
6-
"CRC",
6+
"CcC",
77
"CFC"
88
],
99
"key": {
@@ -13,8 +13,8 @@
1313
"C": {
1414
"item": "minecraft:cobblestone"
1515
},
16-
"R": {
17-
"item": "minecraft:repeater"
16+
"c": {
17+
"item": "minecraft:comparator"
1818
},
1919
"F": {
2020
"item": "minecraft:furnace"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"type": "minecraft:crafting_shaped",
3+
"category": "misc",
4+
"pattern": [
5+
" P ",
6+
"CcC",
7+
"CFC"
8+
],
9+
"key": {
10+
"P": "minecraft:piston",
11+
"C": "minecraft:cobblestone",
12+
"c": "minecraft:comparator",
13+
"F": "minecraft:furnace"
14+
},
15+
"result": {
16+
"id": "minecraft:player_head",
17+
"components": {
18+
"minecraft:custom_model_data": "item/forming_press",
19+
"minecraft:profile": "$forming_press",
20+
"minecraft:custom_data": "{gm4_machines:{id:'forming_press'}}",
21+
"minecraft:custom_name": "{\"translate\":\"block.gm4.forming_press\",\"fallback\":\"Forming Press\",\"color\":\"white\",\"italic\":false}"
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)