More custom recipes
This commit is contained in:
parent
9e50d08293
commit
acf1a06394
3 changed files with 43 additions and 4 deletions
|
|
@ -542,10 +542,6 @@ onEvent("recipes", (event) => {
|
|||
stonecutter(event);
|
||||
woodcutter(event);
|
||||
|
||||
global.minecraftColors.forEach((color) => {
|
||||
global.genCombinedRecipe(event, Ingredient.of(`minecraft:${color}_shulker_box`), Ingredient.of("#forge:ingots/iron"), Item.of(`storage_overhaul:${color}_shulker_box`));
|
||||
});
|
||||
|
||||
// Ender Singularity Crafting
|
||||
event.custom({
|
||||
type: "thermal:chiller",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,27 @@
|
|||
onEvent("recipes", (event) => {
|
||||
const tiers = ["", "_tier_1", "_tier_2", "_tier_3"];
|
||||
const tierItems = ["", "minecraft:iron_ingot", "minecraft:gold_ingot", "minecraft:diamond"];
|
||||
const storageTypes = ["chest", "barrel"];
|
||||
const woodTypes = ["oak", "spruce", "birch", "acacia", "jungle", "dark_oak", "crimson", "warped"];
|
||||
|
||||
woodTypes.forEach((wood) => {
|
||||
tiers.forEach((tier, idx) => {
|
||||
if (idx < tiers.length - 1) {
|
||||
storageTypes.forEach((store) => {
|
||||
console.log(`storage_overhaul:${wood}_${store}${tier} + ${tierItems[idx + 1]} = storage_overhaul:${wood}_${store}${tiers[idx + 1]}`);
|
||||
|
||||
const left = Ingredient.of(`storage_overhaul:${wood}_${store}${tier}`);
|
||||
const right = Ingredient.of(tierItems[idx + 1]);
|
||||
const out = Item.of(`storage_overhaul:${wood}_${store}${tiers[idx + 1]}`);
|
||||
global.genCombinedRecipe(event, left, right, out);
|
||||
});
|
||||
|
||||
global.genCombinedRecipe(event, Ingredient.of("#forge:chests/wooden"), Ingredient.of("#forge:ingots/iron"), Item.of("storage_overhaul:oak_chest_tier_1"));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
global.minecraftColors.forEach((color) => {
|
||||
global.genCombinedRecipe(event, Ingredient.of(`minecraft:${color}_shulker_box`), Ingredient.of("#forge:ingots/iron"), Item.of(`storage_overhaul:${color}_shulker_box`));
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
onEvent("recipes", (event) => {
|
||||
event.remove({ output: "wormhole:portal_frame" });
|
||||
event.remove({ output: "wormhole:portal_stabilizer" });
|
||||
event.remove({ output: "wormhole:basic_energy_cell" });
|
||||
event.remove({ output: "wormhole:advanced_energy_cell" });
|
||||
event.remove({ output: "wormhole:coal_generator" });
|
||||
|
||||
global.genCombinedRecipe(event, Ingredient.of("#forge:obsidian"), Ingredient.of("#forge:ingots/steel"), Item.of("2x wormhole:portal_frame"));
|
||||
global.genCombinedRecipe(event, Ingredient.of("wormhole:portal_frame"), Ingredient.of("kubejs:ender_singularity"), Item.of("wormhole:portal_stabilizer"));
|
||||
global.genCombinedRecipe(event, Ingredient.of("wormhole:portal_frame"), Ingredient.of("thermal:energy_cell"), Item.of("wormhole:basic_energy_cell"));
|
||||
global.genCombinedRecipe(event, Ingredient.of("wormhole:basic_energy_cell"), Ingredient.of("thermal:energy_cell"), Item.of("wormhole:advanced_energy_cell"));
|
||||
|
||||
// event.shaped("wormhole:portal_stabilizer", [], {
|
||||
|
||||
// })
|
||||
});
|
||||
Loading…
Reference in a new issue