Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###################################################### VANILLA SHAPELESS ############################################################
- //Nametag
- val woolString = <minecraft:string>;
- val goldNugget = <minecraft:gold_nugget>;
- val nametag = <minecraft:name_tag>;
- recipes.addShapeless("Nametag", nametag, [goldNugget, woolString]);
- //Gunpowder
- val gunpowder = <minecraft:gunpowder>;
- val sugar = <minecraft:sugar>;
- val charcoal = <minecraft:coal:1>;
- recipes.addShapeless("Gunpowder", gunpowder, [sugar, charcoal]);
- ###################################################### VANILLA SHAPED ############################################################
- //Elytra
- val woolString = <minecraft:string>;
- val paper = <minecraft:paper>;
- val feather = <minecraft:feather>;
- val diamond = <minecraft:diamond>;
- val leather = <minecraft:leather>;
- val elytra = <minecraft:elytra>;
- recipes.addShaped("EasyElytra", elytra, [[woolString, diamond, woolString],[paper, leather, paper],[feather, null, feather]]);
- //Poison Arrow
- val arrow = <minecraft:arrow>;
- val pufferfish = <minecraft:fish:3>;
- val poison_arrow = <minecraft:tipped_arrow>.withTag({Potion: "minecraft:strong_poison"});
- recipes.addShaped("EasyPoisonArrow", poison_arrow * 8, [[arrow, arrow, arrow],[arrow, pufferfish, arrow],[arrow, arrow, arrow]]);
- //Saddle
- val saddle = <minecraft:saddle>;
- val ironIngot = <minecraft:iron_ingot>;
- recipes.addShaped("Saddle", saddle, [[leather, leather, leather],[woolString, null, woolString],[ironIngot, null, ironIngot]]);
- recipes.addShaped("EasySaddle", saddle, [[leather, leather, leather],[leather, ironIngot, leather],[ironIngot, null, ironIngot]]);
- //Iron Horse Armor
- val ironHelmet = <minecraft:iron_helmet>;
- val ironPants = <minecraft:iron_leggings>;
- val ironHorseArmor = <minecraft:iron_horse_armor>;
- val woolBlock = <minecraft:wool>;
- recipes.addShaped("IronHorseArmor", ironHorseArmor, [[null, null, ironHelmet],[ironIngot, woolBlock, ironIngot],[ironPants, null, ironPants]]);
- //Gold Horse Armor
- val goldHelmet = <minecraft:golden_helmet>;
- val goldPants = <minecraft:golden_leggings>;
- val goldIngot = <minecraft:gold_ingot>;
- val goldHorseArmor = <minecraft:golden_horse_armor>;
- recipes.addShaped("GoldHorseArmor", goldHorseArmor, [[null, null, goldHelmet],[goldIngot, woolBlock, goldIngot],[goldPants, null, goldPants]]);
- //Diamond Horse Armor
- val diamondHelmet = <minecraft:diamond_helmet>;
- val diamondPants = <minecraft:diamond_leggings>;
- val diamondIngot = <minecraft:diamond>;
- val diamondHorseArmor = <minecraft:diamond_horse_armor>;
- recipes.addShaped("DiamondHorseArmor", diamondHorseArmor, [[null, null, diamondHelmet],[diamondIngot, woolBlock, diamondIngot],[diamondPants, null, diamondPants]]);
- //Lead
- val lead = <minecraft:lead>;
- recipes.addShaped("EasyLead", lead, [[leather, leather, null],[woolString, woolString, null],[null, null, null]]);
- ###################################################### VANILLA SMELTING ############################################################
- val itemDef = <minecraft:sapling>.definition;
- //does this for all saplings
- for i in 0 to 6 {
- furnace.addRecipe(<minecraft:deadbush>, itemDef.makeStack(i));
- }
- furnace.addRecipe(<minecraft:coal:1>, <minecraft:rotten_flesh>);
- ##################################################### DOGGYTALENTS REMOVED ###########################################################
- recipes.remove(<doggytalents:training_treat>);
- recipes.remove(<doggytalents:super_treat>);
- recipes.remove(<doggytalents:master_treat>);
- recipes.remove(<doggytalents:dire_treat>);
- recipes.remove(<doggytalents:breeding_bone>);
- ##################################################### DOGGYTALENTS SHAPED ###########################################################
- //Training Treat
- val wheat = <minecraft:wheat>;
- val bone = <minecraft:bone>;
- val new_training_treat = <doggytalents:training_treat>;
- recipes.addShaped("EasyTrainingTreat", new_training_treat * 6, [[null, wheat, null],[wheat, bone, wheat],[null, wheat, null]]);
- //Super Treat
- val gold = <minecraft:gold_ingot>;
- val old_training_treat = <doggytalents:training_treat>;
- val new_super_treat = <doggytalents:super_treat>;
- recipes.addShaped("EasySuperTreat", new_super_treat * 5, [[null, gold, null],[gold, old_training_treat, gold],[null, gold, null]]);
- //Master Treat
- val diamond = <minecraft:diamond>;
- val old_super_treat = <doggytalents:super_treat>;
- val new_master_treat = <doggytalents:master_treat>;
- recipes.addShaped("EasyMasterTreat", new_master_treat * 5, [[null, diamond, null],[diamond, old_super_treat, diamond],[null, diamond, null]]);
- //Dire Treat
- val obsidian = <minecraft:obsidian>;
- val old_master_treat = <doggytalents:master_treat>;
- val new_dire_treat = <doggytalents:dire_treat>;
- recipes.addShaped("EasyDireTreat", new_dire_treat * 2, [[null, obsidian, null],[obsidian, old_master_treat, obsidian],[null, obsidian, null]]);
- //Breeding Bone
- val bone_material = <minecraft:bone>;
- val wheat_old = <minecraft:wheat>;
- val breeding_bone = <doggytalents:breeding_bone>;
- recipes.addShaped("EasyBreedingBone", breeding_bone * 2, [[null, bone_material, null],[bone_material, wheat_old, bone_material],[null, bone_material, null]]);
- ##################################################### BACKPACKS! REMOVE ###########################################################
- val itemDef = <backpacks16840:backpack>.definition;
- //does this for all backpacks
- for i in 0 to 16 {
- recipes.remove(itemDef.makeStack(i));
- }
- ##################################################### BACKPACKS! SHAPED ###########################################################
- import crafttweaker.item.IItemStack;
- //Not working
- /*
- val backpackMaterialMap as IItemStack[] = {
- 0 : <minecraft:dye:0>,
- 1 : <minecraft:dye:1>,
- 2 : <minecraft:dye:2>,
- 3 : 0,
- 4 : <minecraft:dye:4>,
- 5 : <minecraft:dye:5>,
- 6 : <minecraft:dye:6>,
- 7 : <minecraft:dye:7>,
- 8 : <minecraft:dye:8>,
- 9 : <minecraft:dye:9>,
- 10 : <minecraft:dye:10>,
- 11 : <minecraft:dye:11>,
- 12 : <minecraft:dye:12>,
- 13 : <minecraft:dye:13>,
- 14 : <minecraft:dye:14>,
- 15 : <minecraft:dye:15>
- };
- for i in 0 to 16 {
- print(backpackMaterialMap[i]);
- }
- */
- val backpackMaterialArray as IItemStack[] = [
- <minecraft:dye:0>, <minecraft:dye:1>, <minecraft:dye:2>, null, <minecraft:dye:4>, <minecraft:dye:5>,
- <minecraft:dye:6>, <minecraft:dye:7>, <minecraft:dye:8>, <minecraft:dye:9>, <minecraft:dye:10>,
- <minecraft:dye:11>, <minecraft:dye:12>, <minecraft:dye:13>, <minecraft:dye:14>, <minecraft:dye:15>
- ];
- val backpackMaterialNameArray as string[] = [
- "Black", "Red", "Green", "Default", "Blue", "Purple",
- "Cyan", "Silver", "Gray", "Pink", "LimeGreen",
- "Yellow", "LightBlue", "Magenta", "Orange", "White"
- ];
- //careful, prone to IndexOutOfBounds Exceptions, something maps don't have
- for i in 0 to 16 {
- val backpackMaterial = backpackMaterialArray[i];
- val backpackDef = <backpacks16840:backpack>.definition;
- val backpackName = "EasyBackpack" + backpackMaterialNameArray[i];
- val leather = <minecraft:leather>;
- val wool = <minecraft:wool>;
- recipes.addShaped(backpackName, backpackDef.makeStack(i), [[leather, backpackMaterial, leather],[leather, wool, leather],[leather, leather, leather]]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement