Create: Above and Beyond

Create: Above and Beyond

2M Downloads

Sawing logs to stripped logs to produce tree bark

Robert-DeForrest-Reynolds opened this issue ยท 0 comments

commented
       let remove_default_create_cutting_recipes = (mod, log) => {
		event.remove({id: 'create:cutting/' + log})
	}

	remove_default_create_recipes("minecraft", "oak_log")
	remove_default_create_recipes("minecraft", "birch_log")
	remove_default_create_recipes("minecraft", "dark_oak_log")
	remove_default_create_recipes("minecraft", "spruce_log")
	remove_default_create_recipes("minecraft", "jungle_log")
	remove_default_create_recipes("minecraft", "acacia_log")
	remove_default_create_recipes("biomesoplenty", "fir_log")
	remove_default_create_recipes("biomesoplenty", "redwood_log")
	remove_default_create_recipes("biomesoplenty", "cherry_log")
	remove_default_create_recipes("biomesoplenty", "mahogany_log")
	remove_default_create_recipes("biomesoplenty", "jacaranda_log")
	remove_default_create_recipes("biomesoplenty", "palm_log")
	remove_default_create_recipes("biomesoplenty", "willow_log")
	remove_default_create_recipes("biomesoplenty", "dead_log")
	remove_default_create_recipes("biomesoplenty", "magic_log")
	remove_default_create_recipes("biomesoplenty", "umbran_log")
	remove_default_create_recipes("biomesoplenty", "hellbark_log")

	let woodcutting = (mod, log, planks, slab) => {
		event.recipes.createCutting([mod + ":stripped_" + log, "farmersdelight:tree_bark"], mod + ":" + log).processingTime(50)
		event.recipes.createCutting([Item.of(mod + ":" + planks, 6)], mod + ":stripped_" + log).processingTime(50)
		event.recipes.createCutting([Item.of(mod + ":" + slab, 2)], mod + ":" + planks).processingTime(50)
	}

	woodcutting("minecraft", "oak_log", "oak_planks", "oak_slab")
	woodcutting("minecraft", "birch_log", "birch_planks", "birch_slab")
	woodcutting("minecraft", "dark_oak_log", "dark_oak_planks", "dark_oak_slab")
	woodcutting("minecraft", "spruce_log", "spruce_planks", "spruce_slab")
	woodcutting("minecraft", "jungle_log", "jungle_planks", "jungle_slab")
	woodcutting("minecraft", "acacia_log", "acacia_planks", "acacia_slab")
	woodcutting("biomesoplenty", "fir_log", "fir_planks", "fir_slab")
	woodcutting("biomesoplenty", "redwood_log", "redwood_planks", "redwood_slab")
	woodcutting("biomesoplenty", "cherry_log", "cherry_planks", "cherry_slab")
	woodcutting("biomesoplenty", "mahogany_log", "mahogany_planks", "mahogany_slab")
	woodcutting("biomesoplenty", "jacaranda_log", "jacaranda_planks", "jacaranda_slab")
	woodcutting("biomesoplenty", "palm_log", "palm_planks", "palm_slab")
	woodcutting("biomesoplenty", "willow_log", "willow_planks", "willow_slab")
	woodcutting("biomesoplenty", "dead_log", "dead_planks", "dead_slab")
	woodcutting("biomesoplenty", "magic_log", "magic_planks", "magic_slab")
	woodcutting("biomesoplenty", "umbran_log", "umbran_planks", "umbran_slab")
	woodcutting("biomesoplenty", "hellbark_log", "hellbark_planks", "hellbark_slab")
	woodcutting("forbidden_arcanus", "cherrywood_log", "cherrywood_planks", "cherrywood_slab")
	woodcutting("forbidden_arcanus", "mysterywood_log", "mysterywood_planks", "mysterywood_slab")
	woodcutting("architects_palette", "twisted_log", "twisted_planks", "twisted_slab")
	woodcutting("tconstruct", "greenheart_log", "greenheart_planks", "greenheart_planks_slab")
	woodcutting("tconstruct", "skyroot_log", "skyroot_planks", "skyroot_planks_slab")
	woodcutting("tconstruct", "bloodshroom_log", "bloodshroom_planks", "bloodshroom_planks_slab")

}