Skip to content

Commit 625b511

Browse files
committed
hotfix: broken recipes
1 parent 561bcdc commit 625b511

9 files changed

Lines changed: 20 additions & 137 deletions

File tree

data/source/toolworking.pkl

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -330,26 +330,28 @@ recipes {
330330
}
331331
}
332332

333-
for (tool in tools) {
334-
["casting_in_table/\(name)/\(tool)"] {
335-
type = "createmetallurgy:casting_in_table"
336-
337-
ingredients {
338-
new { item = "toolworking:clay_\(tool)_mold" }
339-
new {
340-
amount = 90
341-
fluid = material.molten()
342-
nbt {}
333+
when (name != "tin") {
334+
for (tool in tools) {
335+
["casting_in_table/\(name)/\(tool)"] {
336+
type = "createmetallurgy:casting_in_table"
337+
338+
ingredients {
339+
new { item = "toolworking:clay_\(tool)_mold" }
340+
new {
341+
amount = 90
342+
fluid = material.molten()
343+
nbt {}
344+
}
343345
}
344-
}
345346

346-
processingTime = 60
347+
processingTime = 60
347348

348-
result {
349-
when (name == "gold") {
350-
item = "toolworking:golden_\(tool)_part"
351-
} else {
352-
item = "toolworking:\(name)_\(tool)_part"
349+
result {
350+
when (name == "gold") {
351+
item = "toolworking:golden_\(tool)_part"
352+
} else {
353+
item = "toolworking:\(name)_\(tool)_part"
354+
}
353355
}
354356
}
355357
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mapping_version=1.20.1
1414
mod_id=toolworking
1515
mod_name=Create Toolworking
1616
mod_license=Apache 2.0
17-
mod_version=0.1.5-ALPHA
17+
mod_version=0.1.6-ALPHA
1818
mod_group_id=dev.jodevnull
1919
mod_authors=jo-devnull
2020
mod_description=Toolmaking is harder and more realistic

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/axe.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/hammer.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/hoe.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/paxel.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/pickaxe.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/shovel.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/generated/resources/data/toolworking/recipes/casting_in_table/tin/sword.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)