Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vanilla Shield & Twilight Forest armors / weapons to the Salvager #1917

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
219 changes: 218 additions & 1 deletion kubejs/server_scripts/mods/Silent Gear/Recipes.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ ServerEvents.recipes(allthemods => {
}
}
)
//adds a salvage for the shield
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": { "item":"minecraft:shield"},
"results": [{ "count": 6, "id": "minecraft:oak_planks"}, {"count": 1, "id": "minecraft:iron_ingot"}]
}
)
//adds a chainmail salvage, mirroring the crafting recipe from MineColonies, which uses vanilla Iron items rather than Modern Industrialization Iron Rings
//Chainmail Helmet
allthemods.custom(
Expand Down Expand Up @@ -161,7 +168,217 @@ ServerEvents.recipes(allthemods => {
"results": [{"count":1, "id": "minecraft:copper_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Adds the Twilight Forest gear to the Salvager
//Steeleaf Pickaxe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_pickaxe" },
"results": [{"count":3, "id": "twilightforest:steeleaf_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Steeleaf Shovel
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_shovel" },
"results": [{"count":1, "id": "twilightforest:steeleaf_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Steeleaf Sword
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_sword" },
"results": [{"count":2, "id": "twilightforest:steeleaf_ingot" }, {"count":1,"id":"minecraft:stick"}]
}
)
//Steeleaf Axe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_axe" },
"results": [{"count":3, "id": "twilightforest:steeleaf_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Steeleaf Hoe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_hoe" },
"results": [{"count":2, "id": "twilightforest:steeleaf_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Steeleaf Helmet
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_helmet" },
"results": [{"count":5, "id": "twilightforest:steeleaf_ingot" }]
}
)
//Steeleaf Chestplate
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_chestplate" },
"results": [{"count":8, "id": "twilightforest:steeleaf_ingot" }]
}
)
//Steeleaf Leggings
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_leggings" },
"results": [{"count":7, "id": "twilightforest:steeleaf_ingot" }]
}
)
//Steeleaf Boots
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:steeleaf_boots" },
"results": [{"count":4, "id": "twilightforest:steeleaf_ingot" }]
}
)
//Knightmetal Helmet
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_helmet" },
"results": [{"count":5, "id": "twilightforest:knightmetal_ingot" }]
}
)
//Knightmetal Chestplate
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_chestplate" },
"results": [{"count":8, "id": "twilightforest:knightmetal_ingot" }]
}
)
//Knightmetal Greaves
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_leggings" },
"results": [{"count":7, "id": "twilightforest:knightmetal_ingot" }]
}
)
//Knightmetal Boots
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_boots" },
"results": [{"count":4, "id": "twilightforest:knightmetal_ingot" }]
}
)
//Knightmetal Sword
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_sword" },
"results": [{"count":2, "id": "twilightforest:knightmetal_ingot" }, {"count":1,"id":"minecraft:stick"}]
}
)
//Knightmetal Pickaxe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_pickaxe" },
"results": [{"count":3, "id": "twilightforest:knightmetal_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Knightmetal Axe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_axe" },
"results": [{"count":3, "id": "twilightforest:knightmetal_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Knightmetal Shield
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:knightmetal_shield" },
"results": [{"count":6, "id": "twilightforest:knightmetal_ingot" }, {"count":6,"id":"minecraft:oak_planks"}, {"count":1, "id": "minecraft:iron_ingot"}]
}
)
//Ironwood Pickaxe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_pickaxe" },
"results": [{"count":3, "id": "twilightforest:ironwood_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Ironwood Shovel
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_shovel" },
"results": [{"count":1, "id": "twilightforest:ironwood_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Ironwood Sword
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_sword" },
"results": [{"count":2, "id": "twilightforest:ironwood_ingot" }, {"count":1,"id":"minecraft:stick"}]
}
)
//Ironwood Axe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_sword" },
"results": [{"count":3, "id": "twilightforest:ironwood_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Ironwood Hoe
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_sword" },
"results": [{"count":2, "id": "twilightforest:ironwood_ingot" }, {"count":2,"id":"minecraft:stick"}]
}
)
//Ironwood Helmet
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_helmet" },
"results": [{"count":5, "id": "twilightforest:ironwood_ingot" }]
}
)
//Ironwood Chestplate
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_chestplate" },
"results": [{"count":8, "id": "twilightforest:ironwood_ingot" }]
}
)
//Ironwood Leggings
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_leggings" },
"results": [{"count":7, "id": "twilightforest:ironwood_ingot" }]
}
)
//Ironwood Boots
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:ironwood_boots" },
"results": [{"count":4, "id": "twilightforest:ironwood_ingot" }]
}
)
//Arctic Hood
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:arctic_helmet" },
"results": [{"count":5, "id": "twilightforest:arctic_fur" }]
}
)
//Arctic Jacket
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:arctic_chestplate" },
"results": [{"count":8, "id": "twilightforest:arctic_fur" }]
}
)
//Arctic Leggings
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:arctic_leggings" },
"results": [{"count":7, "id": "twilightforest:arctic_fur" }]
}
)
//Arctic Boots
allthemods.custom(
{ "type": "silentgear:salvaging",
"ingredient": {"item":"twilightforest:arctic_boots" },
"results": [{"count":4, "id": "twilightforest:arctic_fur" }]
}
)
})

// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.