switched back to packwiz

This commit is contained in:
mina
2023-12-18 22:30:13 +00:00
parent 4cfad8f80f
commit 82187b695e
190 changed files with 1668 additions and 412 deletions

View File

@@ -0,0 +1,144 @@
ServerEvents.recipes((event) => {
const greg = event.recipes.gtceu;
event.remove({ mod: "storagedrawers" });
const woodTypes = [
"oak",
"spruce",
"birch",
"jungle",
"acacia",
"dark_oak",
"warped",
"crimson",
];
woodTypes.forEach((woodType) => {
// Type 1
event.shaped(
`storagedrawers:${woodType}_full_drawers_1`,
["PPP", "sCr", "PPP"],
{
P: `${woodType}_planks`,
s: "#forge:tools/saws",
C: "#forge:chests/wooden",
r: "#forge:tools/mallets",
}
);
greg
.assembler(`storagedrawers:${woodType}_full_drawers_1`)
.itemInputs(`6x minecraft:${woodType}_planks`, "#forge:chests/wooden")
.itemOutputs(`storagedrawers:${woodType}_full_drawers_1`)
.circuit(9)
.duration(100)
.EUt(16);
// Type 2
event.shaped(
`storagedrawers:${woodType}_full_drawers_2`,
["PPP", "rCs", "PPP"],
{
P: `${woodType}_planks`,
s: "#forge:tools/saws",
C: "#forge:chests/wooden",
r: "#forge:tools/mallets",
}
);
greg
.assembler(`storagedrawers:${woodType}_full_drawers_2`)
.itemInputs(`6x minecraft:${woodType}_planks`, "#forge:chests/wooden")
.itemOutputs(`storagedrawers:${woodType}_full_drawers_2`)
.circuit(10)
.duration(100)
.EUt(16);
// Type 4
event.shaped(
`storagedrawers:${woodType}_full_drawers_4`,
["PsP", "PCP", "PrP"],
{
P: `${woodType}_planks`,
s: "#forge:tools/saws",
C: "#forge:chests/wooden",
r: "#forge:tools/mallets",
}
);
greg
.assembler(`storagedrawers:${woodType}_full_drawers_4`)
.itemInputs(`6x minecraft:${woodType}_planks`, "#forge:chests/wooden")
.itemOutputs(`storagedrawers:${woodType}_full_drawers_4`)
.circuit(11)
.duration(100)
.EUt(16);
// Half 1
event.shaped(
`storagedrawers:${woodType}_half_drawers_1`,
["PPP", "sCr", "PPP"],
{
P: `${woodType}_slab`,
s: "#forge:tools/saws",
C: "#forge:chests/wooden",
r: "#forge:tools/mallets",
}
);
greg
.assembler(`storagedrawers:${woodType}_half_drawers_1`)
.itemInputs(`6x minecraft:${woodType}_slab`, "#forge:chests/wooden")
.itemOutputs(`storagedrawers:${woodType}_half_drawers_1`)
.circuit(9)
.duration(100)
.EUt(16);
// Half 2
event.shaped(
`storagedrawers:${woodType}_half_drawers_2`,
["PPP", "rCs", "PPP"],
{
P: `${woodType}_slab`,
s: "#forge:tools/saws",
C: "#forge:chests/wooden",
r: "#forge:tools/mallets",
}
);
greg
.assembler(`storagedrawers:${woodType}_half_drawers_2`)
.itemInputs(`6x minecraft:${woodType}_slab`, "#forge:chests/wooden")
.itemOutputs(`storagedrawers:${woodType}_half_drawers_2`)
.circuit(10)
.duration(100)
.EUt(16);
// Half 4
event.shaped(
`storagedrawers:${woodType}_half_drawers_4`,
["PsP", "PCP", "PrP"],
{
P: `${woodType}_slab`,
s: "#forge:tools/saws",
C: "#forge:chests/wooden",
r: "#forge:tools/mallets",
}
);
greg
.assembler(`storagedrawers:${woodType}_half_drawers_4`)
.itemInputs(`6x minecraft:${woodType}_slab`, "#forge:chests/wooden")
.itemOutputs(`storagedrawers:${woodType}_half_drawers_4`)
.circuit(11)
.duration(100)
.EUt(16);
});
// Controller
event.remove({ output: "storagedrawers:storage_controller" });
event.shaped("storagedrawers:controller", ["PCP", "KDK", "OPO"], {
P: "#forge:plates/diamond",
C: "#forge:circuits/lv",
K: "gtceu:red_alloy_single_wire",
D: "#storagedrawers:drawers",
O: "#forge:plates/obsidian",
});
// Controller Extension
event.remove({ output: "storagedrawers:controller_slave" });
event.shaped("storagedrawers:controller_slave", ["OPO", "KDK", "PCP"], {
P: "#forge:plates/diamond",
C: "#forge:circuits/lv",
K: "gtceu:red_alloy_single_wire",
D: "#storagedrawers:drawers",
O: "#forge:plates/obsidian",
});
});