import mods.modularmachinery.RecipeBuilder; import crafttweaker.enchantments.IEnchantmentDefinition; import crafttweaker.data.IData; val enclistTidal as IEnchantmentDefinition[] = [, , , ]; var mapTidal as IData = {}; mapTidal += enclistTidal[0].makeEnchantment(25).makeTag(); mapTidal += enclistTidal[1].makeEnchantment(10).makeTag(); mapTidal += enclistTidal[2].makeEnchantment(1).makeTag(); mapTidal += enclistTidal[3].makeEnchantment(10).makeTag(); val enclistHammer as IEnchantmentDefinition[] = [, , , ]; var mapHammer as IData = {}; mapHammer += enclistHammer[0].makeEnchantment(6).makeTag(); mapHammer += enclistHammer[1].makeEnchantment(10).makeTag(); mapHammer += enclistHammer[2].makeEnchantment(1).makeTag(); mapHammer += enclistHammer[3].makeEnchantment(10).makeTag(); val enclistCrab as IEnchantmentDefinition[] = [, , , , ]; var mapCrab as IData = {}; mapCrab += enclistCrab[0].makeEnchantment(27).makeTag(); mapCrab += enclistCrab[1].makeEnchantment(20).makeTag(); mapCrab += enclistCrab[2].makeEnchantment(5).makeTag(); mapCrab += enclistCrab[3].makeEnchantment(5).makeTag(); mapCrab += enclistCrab[4].makeEnchantment(1).makeTag(); val enchlistVile as IEnchantmentDefinition[] = [, ]; var mapVile as IData = {}; mapVile += enchlistVile[0].makeEnchantment(60).makeTag(); mapVile += enchlistVile[1].makeEnchantment(6).makeTag(); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 29 as short, id: 16 as short}, {lvl: 3 as short, id: 34 as short}, {lvl: 49 as short, id: 19 as short}], RepairCost: 1, display: {Name: "Biggus Yeetus"}}), [[, null, null, null, null, null, ], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [, null, null, null, null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 1 as short, id: 70 as short}, {lvl: 15 as short, id: 34 as short}, {lvl: 30 as short, id: 7 as short}], RepairCost: 1, display: {Name: "Thorns of Villany"}}), [[, null, null, , null, null, ], [null, , , , , , null], [, , , , , , ], [, , , , , , ], [, , , , , , ], [null, , , , , , null], [, null, null, , null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 37 as short, id: 16 as short}, {lvl: 1 as short, id: 46 as short}, {lvl: 1 as short, id: 70 as short}], RepairCost: 1, display: {Name: "Blade of Terra"}}), [[, null, null, , null, null, ], [null, , , , , , null], [null, , , , , , null], [, , , , , , ], [null, , , , , , null], [null, , , , , , null], [, null, null, .withTag({Biome: "minecraft:sky"}), null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag(mapTidal), [[, null, null, null, null, null, ], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [, null, null, null, null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 57 as short, id: 16 as short}, {lvl: 6 as short, id: 34 as short}, {lvl: 1 as short, id: 70 as short}], RepairCost: 1, display: {Name: "Arcanium Blade"}}), [[, , , , ], [, , null, , ], [, null, , null, ], [, , null, , ], [, , , , ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag(mapHammer), [[, null, null, null, null, null, ], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [, null, null, null, null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 18 as short, id: 94 as short}, {lvl: 5 as short, id: 34 as short}, {lvl: 1 as short, id: 70 as short}, {lvl: 10 as short, id: 22 as short}], RepairCost: 1, display: {Name: "Vorpal Sword"}}), [[, null, null, null, null, null, ], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [, null, null, null, null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 18 as short, id: 48 as short}, {lvl: 1 as short, id: 51 as short}, {lvl: 1 as short, id: 70 as short}, {lvl: 1 as short, id: 45 as short}, {lvl: 6 as short, id: 90 as short}], RepairCost: 1, display: {Name: "Mirkwood Bow"}}), [[, null, null, null, null, null, ], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [, null, null, , null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag(mapCrab), [[, null, null, null, null, null, ], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [null, , , , , , null], [, null, null, null, null, null, ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(.withTag(mapVile), [[, , ], [, , ], [, .reuse(), ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 100 as short, id: 34 as short}], RepairCost: 1, display: {Name: "Jerry's Sword"}}), [[, null, null, , null, null, ], [null, , , , , , null], [null, , , , , , null], [, , , , , , ], [null, , , , , , null], [null, , , , , , null], [, null, null, , null, null, ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag({ench: [{lvl: 20 as short, id: 32 as short}], RepairCost: 1, display: {Name: "Direpick"}}), [[null, , null, , null], [, null, , null, ], [null, , , , null], [, null, , null, ], [null, , null, , null]]); recipes.addShaped(.withTag({ench: [{lvl: 233 as short, id: 34 as short}], RepairCost: 1, display: {Name: "Doped Electrode"}}), [[, , ], [, , ], [, , ]]);