Skip to content

Commit

Permalink
Try to fix tinkers join error
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-evelyn committed Nov 27, 2024
1 parent a52fb66 commit 7650e5d
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 6 deletions.
6 changes: 5 additions & 1 deletion index.toml
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,10 @@ hash = "e7eca84aedff32c1346213753ae790cef04be79803aa091a953065405a54d8ae"
file = "kubejs/server_scripts/mods/phonos.js"
hash = "0cdef75026facef7f1e3021f495cf4f11a4341e86c24c93301a2183ed9dfc2d7"

[[files]]
file = "kubejs/server_scripts/mods/tinkers.js"
hash = "1cdd7282bfc4beb43c7145da573f84403356c45ca5e01a5d8e9382af85d6fd65"

[[files]]
file = "kubejs/server_scripts/poly's fixes/farmersdelight.js"
hash = "7b1cbd8ed4d6f49300357c128cb1bb4ca8f8002665bb23c56c036cc6f9c6a0bf"
Expand Down Expand Up @@ -1659,7 +1663,7 @@ metafile = true

[[files]]
file = "mods/railways-tweaks.pw.toml"
hash = "8aa08c6d0a3ce0f9a10466db7b2e7cde1d73a259e822ccf92e6519e7ce748bda"
hash = "e6574fddc87cea14725c6a156b8e54745eb6f923b8bd123cc62d57f7e799f6e7"
metafile = true

[[files]]
Expand Down
59 changes: 59 additions & 0 deletions kubejs/server_scripts/mods/tinkers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
ServerEvents.recipes((event) => {
const twoIngredientAlloying = [
["minecraft:copper_ingot", "minecraft:gold_ingot", "tconstruct:rose_gold_ingot", 2, "heated"],
["minecraft:amethyst_shard", "minecraft:copper_ingot", "tconstruct:amethyst_bronze_ingot", 1, "heated"],
["tconstruct:cobalt_ingot", "minecraft:netherite_scrap", "tconstruct:manyullyn_ingot", 2, "superheated"]
]

const threeIngredientAlloying = [
["minecraft:quartz", "tconstruct:cobalt_ingot", "minecraft:copper_ingot", "tconstruct:hepatizon_ingot", 2],
["minecraft:gold_ingot", "minecraft:magma_cream", "tconstruct:cobalt_ingot", "tconstruct:queens_slime_ingot", 1],
]

twoIngredientAlloying.forEach((recipe) => {
event.remove({ output: recipe[2] });
event.custom({
type: "create:mixing",
ingredients: [
{
item: recipe[0]
},
{
item: recipe[1]
}
],
results: [
{
item: recipe[2],
count: recipe[3]
},
],
heatRequirement: recipe[4]
});
});

threeIngredientAlloying.forEach((recipe) => {
event.remove({ output: recipe[3] });
event.custom({
type: "create:mixing",
ingredients: [
{
item: recipe[0]
},
{
item: recipe[1]
},
{
item: recipe[2]
}
],
results: [
{
item: recipe[3],
count: recipe[4]
},
],
heatRequirement: "superheated"
});
});
});
6 changes: 3 additions & 3 deletions mods/railways-tweaks.pw.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "railways-tweaks"
filename = "RailwaysTweaks-0.0.46.jar"
filename = "RailwaysTweaks-0.0.47.jar"

[download]
url = "https://github.com/Layers-of-Railways/RailwaysTweaks/releases/download/v0.0.46/RailwaysTweaks-0.0.46.jar"
url = "https://github.com/Layers-of-Railways/RailwaysTweaks/releases/download/v0.0.47/RailwaysTweaks-0.0.47.jar"
hash-format = "sha256"
hash = "169d3c2bd79d27ff788e39fb6043d80c2899cf4d26f006d12c6efb0018f26fc5"
hash = "045dc7054ee165317a52c4138f3e8564b9f124bd89b78286605ec6fff4224498"
4 changes: 2 additions & 2 deletions pack.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name = "Steam 'n' Rails Modpack"
author = "IThundxr"
version = "1.2.1-hotfix"
version = "1.2.2"
pack-format = "packwiz:1.1.0"

[index]
file = "index.toml"
hash-format = "sha256"
hash = "d88ed09cc9d5f10db2aaed8a3142d6cca2c085cc20e003aaaf65b35d7f6b48d2"
hash = "ad2ced7c2299f59fbb50d756998eeeed04bfa6a3698fa51d8ff55a1172bb57bb"

[versions]
fabric = "0.16.5"
Expand Down

0 comments on commit 7650e5d

Please sign in to comment.