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(); var mapCrabOther as IData = { RepairCost: 1, display: {Name: "Crabsmasher Maul"} }; mapCrab += mapCrabOther; val enchlistVile as IEnchantmentDefinition[] = [, ]; var mapVile as IData = {}; mapVile += enchlistVile[0].makeEnchantment(55).makeTag(); mapVile += enchlistVile[1].makeEnchantment(6).makeTag(); var mapVileOther as IData = { RepairCost: 1, display: {Name: "Soul Stealer"} }; mapVile += mapVileOther; val enchlistBrave as IEnchantmentDefinition[] = [, , , ]; var mapBrave as IData = {}; mapBrave += enchlistBrave[0].makeEnchantment(6).makeTag(); mapBrave += enchlistBrave[1].makeEnchantment(12).makeTag(); mapBrave += enchlistBrave[2].makeEnchantment(1).makeTag(); mapBrave += enchlistBrave[3].makeEnchantment(1).makeTag(); var mapBraveOther as IData = { RepairCost: 1, display: {Name: "Brave"} }; mapBrave += mapBraveOther; val enchlistMirkwood as IEnchantmentDefinition[] = [, , , ]; var mapMirkwood as IData = {}; mapMirkwood += enchlistMirkwood[0].makeEnchantment(6).makeTag(); mapMirkwood += enchlistMirkwood[1].makeEnchantment(18).makeTag(); mapMirkwood += enchlistMirkwood[2].makeEnchantment(1).makeTag(); mapMirkwood += enchlistMirkwood[3].makeEnchantment(1).makeTag(); var mapMirkwoodOther as IData = { RepairCost: 1, display: {Name: "Mirkwood Bow"} }; mapMirkwood += mapMirkwoodOther; val enchlistAbyss as IEnchantmentDefinition[] = [, , , ]; var mapAbyss as IData = {}; mapAbyss += enchlistAbyss[0].makeEnchantment(16).makeTag(); mapAbyss += enchlistAbyss[1].makeEnchantment(10).makeTag(); mapAbyss += enchlistAbyss[2].makeEnchantment(5).makeTag(); mapAbyss += enchlistAbyss[3].makeEnchantment(1).makeTag(); var mapAbyssOther as IData = { RepairCost: 1, display: {Name: "Vrangr"} }; mapAbyss += mapAbyssOther; val enchlistKikoku as IEnchantmentDefinition[] = []; var mapKikoku as IData = {}; mapKikoku += enchlistKikoku[0].makeEnchantment(6).makeTag(); var mapKikokuOther as IData = { RepairCost: 1, display: {Name: "K-Room"} }; mapKikoku += mapKikokuOther; val enchlistBayonette as IEnchantmentDefinition[] = [, , , ]; var mapBayonette as IData = {}; mapBayonette += enchlistBayonette[0].makeEnchantment(3).makeTag(); mapBayonette += enchlistBayonette[1].makeEnchantment(1).makeTag(); mapBayonette += enchlistBayonette[2].makeEnchantment(15).makeTag(); mapBayonette += enchlistBayonette[3].makeEnchantment(3).makeTag(); var mapBayonetteOther as IData = { RepairCost: 1, display: {Name: "Gun Devil Tribute"} }; mapBayonette += mapBayonetteOther; val enchlistPoisonSpear as IEnchantmentDefinition[] = [, ]; var mapPoisonSpear as IData = {}; mapPoisonSpear += enchlistPoisonSpear[0].makeEnchantment(20).makeTag(); mapPoisonSpear += enchlistPoisonSpear[1].makeEnchantment(20).makeTag(); var mapPoisonSpearOther as IData = { RepairCost: 1, display: {Name: "Venomous Thyrsus"} }; mapPoisonSpear += mapPoisonSpearOther; val enchlistBoomerang as IEnchantmentDefinition[] = [, , , , , ]; var mapBoomerang as IData = {}; mapBoomerang += enchlistBoomerang[0].makeEnchantment(1).makeTag(); mapBoomerang += enchlistBoomerang[1].makeEnchantment(10).makeTag(); mapBoomerang += enchlistBoomerang[2].makeEnchantment(10).makeTag(); mapBoomerang += enchlistBoomerang[3].makeEnchantment(10).makeTag(); mapBoomerang += enchlistBoomerang[4].makeEnchantment(10).makeTag(); var mapBoomerangOther as IData = { RepairCost: 1, display: {Name: "Superoomerang"} }; mapBoomerang += mapBoomerangOther; val enchlistFlimFlamCleave as IEnchantmentDefinition[] = []; var mapFlimFlam as IData = {}; mapFlimFlam += enchlistFlimFlamCleave[0].makeEnchantment(222).makeTag(); var mapFlimFlamOther as IData = { RepairCost: 1, display: {Name: "The Flim-Flammer"} }; mapFlimFlam += mapFlimFlamOther; val enchlistSpeedybow as IEnchantmentDefinition[] = [, , ]; var mapSpeedyBow as IData = {}; mapSpeedyBow += enchlistSpeedybow[0].makeEnchantment(25).makeTag(); mapSpeedyBow += enchlistSpeedybow[1].makeEnchantment(1).makeTag(); mapSpeedyBow += enchlistSpeedybow[2].makeEnchantment(1).makeTag(); var mapSpeedyBowOther as IData = { RepairCost: 1, display: {Name: "Eurobeat Bow"} }; mapSpeedyBow += mapSpeedyBowOther; recipes.addShaped(.withTag(mapFlimFlam), [[, .withTag({entity_id: "minecraft:endermite"}), ], [, , ], [, .withTag({entity_id: "minecraft:endermite"}), ]]); recipes.addShaped(, [[, , ], [, .reuse(), ], [, , ]]); recipes.addShaped(.withTag(mapBoomerang), [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, .reuse(), ], [, , ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag(mapPoisonSpear), [[, , , , , , ], [, , , , , , ], [, , , , , , ], [, , , , , , ], [, , , , , , ], [, , , , , , ], [, , , , , , ]]); 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: 3 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(mapMirkwood), [[, 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"}}), [[, , ], [, , ], [, , ]]); mods.extendedcrafting.TableCrafting.addShaped(.withTag(mapKikoku), [[, , , , ], [, null, , null, ], [, , , , ], [, null, , null, ], [, , , , ]]); recipes.addShaped(.withTag(mapAbyss), [[, , ], [, , ], [, , ]]); recipes.addShaped(.withTag({ench: [{lvl: 1 as short, id: 70 as short}, {lvl: 15 as short, id: 34 as short}, {lvl: 55 as short, id: 7 as short}], RepairCost: 1, display: {Name: "Stinger Samurai Helm"}}), [[null, , null], [null, , null], [null, , null]]); recipes.addShaped(.withTag(mapBrave), [[, , ], [, , ], [, , ]]); recipes.addShaped(.withTag(mapBayonette), [[, , ], [, , ], [, , ]]); recipes.addShapeless(, [, , ]); mods.extendedcrafting.CombinationCrafting.addRecipe(.withTag(mapSpeedyBow), 10000000, , [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]); recipes.addHiddenShapeless("sharpboneprecasia", , [, .withTag({Level: 4, Key: "bloodarsenal.modifier.sharpness", ReadyToUpgrade: 0 as byte}), .withTag({Level: 4, Key: "bloodarsenal.modifier.xperienced", ReadyToUpgrade: 0 as byte}), .withTag({Level: 3, Key: "bloodarsenal.modifier.looting", ReadyToUpgrade: 0 as byte}), .withTag({Level: 1, Key: "bloodarsenal.modifier.aod", ReadyToUpgrade: 0 as byte})]); recipes.addShaped(.withTag({ench: [{lvl: 20 as short, id: 22 as short}, {lvl: 50 as short, id: 16 as short}, {lvl: 1 as short, id: 70 as short}], RepairCost: 1, display: {Name: "BONE STORM"}}), [[.withTag({Material: "desert_myrmex"}), , .withTag({Material: "jungle_myrmex"})], [.withTag({Material: "desert_myrmex"}), , .withTag({Material: "jungle_myrmex"})], [.withTag({Material: "desert_myrmex"}), , .withTag({Material: "jungle_myrmex"})]]);