Well-rounded Minecraft 1.18.2 modpack featuring Tech, Magic, Exploration and Decoration content. Made with love. 💚
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

56 lines
2.8 KiB

// priority: 0
onEvent("recipes", event => {
let minecraft_wood_types = [
"oak", "spruce", "birch", "jungle",
"acacia", "dark_oak", "crimson", "warped"
];
let bop_wood_types = [
"cherry", "dead", "fir", "jacaranda", "magic",
"mahogany", "palm", "redwood", "umbran", "willow"
];
// Posts, platforms and steps (Adorn)
event.remove({ mod: "adorn", type: "minecraft:stonecutting", output: "#adorn:wooden_posts" });
event.remove({ mod: "adorn", type: "minecraft:stonecutting", output: "#adorn:wooden_platforms" });
event.remove({ mod: "adorn", type: "minecraft:stonecutting", output: "#adorn:wooden_steps" });
for (let wood_type of minecraft_wood_types) {
sawmill(event, `2x adorn:${wood_type}_post` , `minecraft:${wood_type}_planks`);
sawmill(event, `1x adorn:${wood_type}_platform`, `minecraft:${wood_type}_planks`);
sawmill(event, `2x adorn:${wood_type}_step` , `minecraft:${wood_type}_planks`);
}
for (let wood_type of bop_wood_types) {
sawmill(event, `2x adorn:biomesoplenty/${wood_type}_post` , `biomesoplenty:${wood_type}_planks`);
sawmill(event, `1x adorn:biomesoplenty/${wood_type}_platform`, `biomesoplenty:${wood_type}_planks`);
sawmill(event, `2x adorn:biomesoplenty/${wood_type}_step` , `biomesoplenty:${wood_type}_planks`);
}
// Posts (Quark)
for (let wood_type of bop_wood_types) {
sawmill(event, `1x compatoplenty:stripped_${wood_type}_post`, `biomesoplenty:${wood_type}_planks`);
sawmill(event, `4x compatoplenty:stripped_${wood_type}_post`, `#biomesoplenty:${wood_type}_logs` );
sawmill(event, `1x compatoplenty:${wood_type}_post`, `biomesoplenty:${wood_type}_planks`);
sawmill(event, `4x compatoplenty:${wood_type}_post`, `#biomesoplenty:${wood_type}_logs` );
}
// Vertical planks
for (let wood_type of bop_wood_types) {
sawmill(event, `1x compatoplenty:vertical_${wood_type}_planks`, `biomesoplenty:${wood_type}_planks`);
sawmill(event, `4x compatoplenty:vertical_${wood_type}_planks`, `#biomesoplenty:${wood_type}_logs` );
}
// Vertical slabs
for (let wood_type of bop_wood_types) {
sawmill(event, `2x compatoplenty:${wood_type}_vertical_slab`, `biomesoplenty:${wood_type}_planks`);
sawmill(event, `8x compatoplenty:${wood_type}_vertical_slab`, `#biomesoplenty:${wood_type}_logs` );
}
// Ladders
event.remove({type: "corail_woodcutter:woodcutting", output: "minecraft:ladder" });
sawmill(event, `1x minecraft:ladder`, `minecraft:oak_planks`);
sawmill(event, `4x minecraft:ladder`, `#minecraft:oak_logs` );
for (let wood_type of bop_wood_types) {
sawmill(event, `1x compatoplenty:${wood_type}_ladder`, `biomesoplenty:${wood_type}_planks`);
sawmill(event, `4x compatoplenty:${wood_type}_ladder`, `#biomesoplenty:${wood_type}_logs` );
}
});