Created
March 30, 2020 01:18
-
-
Save MP3DSL/27e9a312a88df3dacf90ee083091b5a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Author: MP3DSL | |
| #priority 1 | |
| #modloaded roost | |
| #modloaded chickens | |
| #modloaded contenttweaker | |
| #modloaded mysticalagriculture | |
| import crafttweaker.item.IItemStack; | |
| import crafttweaker.item.IIngredient; | |
| import crafttweaker.oredict.IOreDictEntry; | |
| import crafttweaker.data.IData; | |
| ////////////////////////////////////////////////////////////////// | |
| /*Set to false to use breeding system instead of crafting system*/ | |
| ////////////////////////////////////////////////////////////////// | |
| global craftingSystem as bool = true; | |
| /*Set to false to use breeding/spawning system instead of crafting initial chicken*/ | |
| global craftChickens as bool = true; | |
| /*Set to false to use breeding system instead of upgrading system for chickens*/ | |
| global upgradeChickens as bool = true; | |
| /////////////////////////////// | |
| /*Crafting/Upgrading chickens*/ | |
| /////////////////////////////// | |
| val chickenMap = { | |
| "morechickens:draconiumawakenedchicken" : <draconicevolution:draconic_block>, | |
| "morechickens:draconiumchicken" : <draconicevolution:draconium_block>, | |
| "morechickens:elementiumchicken" : <botania:storage:2>, | |
| "morechickens:manasteelchicken" : <botania:storage>, | |
| "morechickens:terrasteelchicken" : <botania:storage:1>, | |
| "morechickens:blackquartzchicken" : <actuallyadditions:block_misc:2>, | |
| "morechickens:aluminumchicken" : <thermalfoundation:storage:4>, | |
| "morechickens:conductiveironchicken" : <enderio:block_alloy:4>, | |
| "morechickens:copperchicken" : <thermalfoundation:storage>, | |
| "morechickens:graphitechicken" : <bigreactors:blockgraphite>, | |
| "morechickens:leadchicken" : <thermalfoundation:storage:3>, | |
| "morechickens:nickelchicken" : <thermalfoundation:storage:5>, | |
| "morechickens:osmiumchicken" : <mekanism:basicblock>, | |
| "morechickens:paliscrystalchicken" : <actuallyadditions:block_crystal:1>, | |
| "morechickens:restoniacrystalchicken" : <actuallyadditions:block_crystal>, | |
| "morechickens:rubberchicken" : <ic2:crafting>, | |
| "morechickens:slagchicken" : <thermalfoundation:material:864>, | |
| "morechickens:steelchicken" : <thermalfoundation:storage_alloy>, | |
| "morechickens:sulfurchicken" : <thermalfoundation:material:771>, | |
| "morechickens:tanzanitechicken" : <biomesoplenty:gem_block:4>, | |
| "morechickens:tinchicken" : <thermalfoundation:storage:1>, | |
| "morechickens:topazchicken" : <biomesoplenty:gem_block:3>, | |
| "morechickens:amberchicken" : <thaumcraft:amber_block>, | |
| "morechickens:bronzechicken" : <thermalfoundation:storage_alloy:3>, | |
| "morechickens:constantanchicken" : <thermalfoundation:storage_alloy:4>, | |
| "morechickens:energeticalloychicken" : <enderio:block_alloy:1>, | |
| "morechickens:invarchicken" : <thermalfoundation:storage_alloy:2>, | |
| "morechickens:lumiumchicken" : <thermalfoundation:storage_alloy:6>, | |
| "morechickens:malachitechicken" : <biomesoplenty:gem_block:5>, | |
| "morechickens:richslagchicken" : <thermalfoundation:material:865>, | |
| "morechickens:saltchicken" : <bewitchment:block_of_salt>, | |
| "morechickens:saltpeterchicken" : <thermalfoundation:material:772>, | |
| "morechickens:siliconchicken" : <appliedenergistics2:material:5>, | |
| "morechickens:silverorechicken" : <thermalfoundation:storage:2>, | |
| "morechickens:soulariumchicken" : <enderio:block_alloy:7>, | |
| "morechickens:voidcrystalchicken" : <actuallyadditions:block_crystal:3>, | |
| "morechickens:basalzrodchicken" : <mysticalagriculture:chunk:23>, | |
| "morechickens:bloodslime" : <tconstruct:slime_congealed:3>, | |
| "morechickens:blueslime" : <tconstruct:slime_congealed:1>, | |
| "morechickens:chickenosto" : <minecraft:cake>, | |
| "morechickens:cinnabarchicken" : <thermalfoundation:material:866>, | |
| "morechickens:darksteelchicken" : <enderio:block_alloy:6>, | |
| "morechickens:electricalsteelchicken" : <enderio:block_alloy>, | |
| "morechickens:electrumchicken" : <thermalfoundation:storage_alloy:1>, | |
| "morechickens:enoricrystalchicken" : <actuallyadditions:block_crystal:5>, | |
| "morechickens:funwaychick" : <minecraft:fireworks>, | |
| "morechickens:garnetchicken" : <bewitchment:block_of_garnet>, | |
| "morechickens:platinumchicken" : <thermalfoundation:storage:6>, | |
| "morechickens:redstonealloychicken" : <enderio:block_alloy:3>, | |
| "morechickens:signalumchicken" : <thermalfoundation:storage_alloy:5>, | |
| "morechickens:amethystchicken" : <bewitchment:block_of_amethyst>, | |
| "morechickens:arditechicken" : <tconstruct:metal:1>, | |
| "morechickens:blitzrodchicken" : <mysticalagriculture:chunk:22>, | |
| "morechickens:cobaltchicken" : <tconstruct:metal>, | |
| "morechickens:emeradiccrystalchicken" : <actuallyadditions:block_crystal:4>, | |
| "morechickens:enderiumchicken" : <thermalfoundation:storage_alloy:7>, | |
| "morechickens:magmaslime" : <tconstruct:slime_congealed:4>, | |
| "morechickens:pigironchicken" : <tconstruct:metal:4>, | |
| "morechickens:pulsatingironchicken" : <enderio:block_alloy:5>, | |
| "morechickens:purpleslime" : <tconstruct:slime_congealed:2>, | |
| "morechickens:vibrantalloychicken" : <enderio:block_alloy:2>, | |
| "morechickens:yelloriumchicken" : <bigreactors:blockyellorium>, | |
| "morechickens:blizzrodchicken" : <mysticalagriculture:chunk:21>, | |
| "morechickens:cyanitechicken" : <bigreactors:blockcyanite>, | |
| "morechickens:diamantinecrystalchicken" : <actuallyadditions:block_crystal:2>, | |
| "morechickens:magicalwoodchicken" : <extrautils2:decorativesolidwood:1>, | |
| "morechickens:manyullynchicken" : <tconstruct:metal:2>, | |
| "morechickens:redstonecrystalchicken" : <extrautils2:ingredients>, | |
| "morechickens:blutoniumchicken" : <bigreactors:blockblutonium>, | |
| "morechickens:iridiumchicken" : <thermalfoundation:storage:7>, | |
| "morechickens:knightslimechicken" : <tconstruct:metal:3>, | |
| "morechickens:lunarreactivedustchicken" : <extrautils2:ingredients:3>, | |
| "morechickens:mithrilchicken" : <thermalfoundation:storage:8>, | |
| "morechickens:moonstonechicken" : <extrautils2:ingredients:5>, | |
| "morechickens:demonmetalchicken" : <extrautils2:simpledecorative:1>, | |
| "morechickens:stoneburntchicken" : <extrautils2:decorativesolid:3>, | |
| "contenttweaker:iron_chicken" : <minecraft:iron_block>, | |
| "contenttweaker:gold_chicken" : <minecraft:gold_block>, | |
| "contenttweaker:netherstar_chicken" : <minecraft:nether_star>, | |
| "contenttweaker:dragonegg_chicken" : <minecraft:dragon_egg>, | |
| "contenttweaker:prosperity_chicken" : <mysticalagriculture:storage:5>, | |
| "contenttweaker:stone_chicken" : <minecraft:stone>, | |
| "contenttweaker:dirt_chicken" : <minecraft:dirt>, | |
| "contenttweaker:nature_chicken" : <mysticalagriculture:crafting:6>, | |
| "contenttweaker:wood_chicken" : <minecraft:egg>, | |
| "contenttweaker:water_chicken" : <minecraft:water_bucket>, | |
| "contenttweaker:ice_chicken" : <minecraft:ice>, | |
| "contenttweaker:fire_chicken" : <minecraft:lava_bucket>, | |
| "contenttweaker:dye_chicken" : <minecraft:egg>, | |
| "contenttweaker:nether_chicken" : <mysticalagriculture:crafting:8>, | |
| "contenttweaker:netherquartz_chicken" : <minecraft:quartz_block>, | |
| "contenttweaker:glowstone_chicken" : <minecraft:glowstone>, | |
| "contenttweaker:redstone_chicken" : <minecraft:redstone_block>, | |
| "contenttweaker:obsidian_chicken" : <minecraft:obsidian>, | |
| "contenttweaker:lapis_chicken" : <minecraft:lapis_block>, | |
| "contenttweaker:end_chicken" : <minecraft:end_stone>, | |
| "contenttweaker:xp_chicken" : <actuallyadditions:item_solidified_experience>, | |
| "contenttweaker:diamond_chicken" : <minecraft:diamond_block>, | |
| "contenttweaker:emerald_chicken" : <minecraft:emerald_block>, | |
| "contenttweaker:zombie_chicken" : <mysticalagriculture:chunk:6>, | |
| "contenttweaker:pig_chicken" : <mysticalagriculture:chunk:7>, | |
| "contenttweaker:chicken_chicken" : <mysticalagriculture:chunk:8>, | |
| "contenttweaker:cow_chicken" : <mysticalagriculture:chunk:9>, | |
| "contenttweaker:sheep_chicken" : <mysticalagriculture:chunk:10>, | |
| "contenttweaker:slime_chicken" : <mysticalagriculture:chunk:11>, | |
| "contenttweaker:skeleton_chicken" : <mysticalagriculture:chunk:12>, | |
| "contenttweaker:creeper_chicken" : <mysticalagriculture:chunk:13>, | |
| "contenttweaker:spider_chicken" : <mysticalagriculture:chunk:14>, | |
| "contenttweaker:rabbit_chicken" : <mysticalagriculture:chunk:15>, | |
| "contenttweaker:guardian_chicken" : <mysticalagriculture:chunk:16>, | |
| "contenttweaker:blaze_chicken" : <mysticalagriculture:chunk:17>, | |
| "contenttweaker:ghast_chicken" : <mysticalagriculture:chunk:18>, | |
| "contenttweaker:enderman_chicken" : <mysticalagriculture:chunk:19>, | |
| "contenttweaker:witherskeleton_chicken" : <mysticalagriculture:chunk:20>, | |
| "contenttweaker:inferium_chicken" : <mysticalagriculture:storage>, | |
| "contenttweaker:neutronium_chicken" : <avaritia:resource:3>, | |
| "contenttweaker:certusquartz_chicken" : <appliedenergistics2:quartz_block>, | |
| "contenttweaker:fluixcrystal_chicken" : <appliedenergistics2:fluix_block>, | |
| "contenttweaker:skystone_chicken" : <appliedenergistics2:sky_stone_block>, | |
| "contenttweaker:glowstoneingot_chicken" : <mekanism:basicblock:4>, | |
| "contenttweaker:ironwood_chicken" : <twilightforest:block_storage>, | |
| "contenttweaker:basalt_chicken" : <chisel:basalt2:7>, | |
| "contenttweaker:mysticalflower_chicken" : <minecraft:egg>, | |
| "contenttweaker:limestone_chicken" : <chisel:limestone2:7>, | |
| "contenttweaker:abyssalnite_chicken" : <abyssalcraft:ingotblock>, | |
| "contenttweaker:starmetal_chicken" : <astralsorcery:itemcraftingcomponent:1>, | |
| "contenttweaker:refinedobsidian_chicken" : <mekanism:basicblock:2>, | |
| "contenttweaker:thaumium_chicken" : <thaumcraft:metal_thaumium>, | |
| "contenttweaker:voidmetal_chicken" : <thaumcraft:metal_void>, | |
| "contenttweaker:coralium_chicken" : <abyssalcraft:ingotblock:1>, | |
| "contenttweaker:rockcrystal_chicken" : <astralsorcery:blockcustomore>, | |
| "contenttweaker:dreadium_chicken" : <abyssalcraft:ingotblock:2>, | |
| "contenttweaker:knightmetal_chicken" : <twilightforest:knightmetal_block>, | |
| "contenttweaker:aquamarine_chicken" : <astralsorcery:itemcraftingcomponent>, | |
| "contenttweaker:quicksilver_chicken" : <thaumcraft:quicksilver>, | |
| "contenttweaker:steeleaf_chicken" : <twilightforest:block_storage:2>, | |
| "contenttweaker:fieryingot_chicken" : <twilightforest:block_storage:1>, | |
| "contenttweaker:marble_chicken" : <chisel:marble2:7>, | |
| //"contenttweaker:iridiumore_chicken" : <ic2:misc_resource:1>, | |
| "contenttweaker:endsteel_chicken" : <enderio:block_alloy:8>, | |
| "contenttweaker:electrotine_chicken" : <projectred-core:resource_item:104>, | |
| "contenttweaker:hopgraphite_chicken" : <immersiveengineering:material:19>, | |
| "contenttweaker:jade_chicken" : <erebus:jade_block>, | |
| "contenttweaker:aluminumbrass_chicken" : <tconstruct:metal:5>, | |
| "contenttweaker:slate_chicken" : <rustic:slate>, | |
| "contenttweaker:grainsofinfinity_chicken" : <enderio:item_material:20>, | |
| "contenttweaker:dawnstone_chicken" : <embers:block_dawnstone>, | |
| "contenttweaker:apatite_chicken" : <forestry:resource_storage>, | |
| "contenttweaker:coal_chicken" : <minecraft:coal_block> | |
| } as IItemStack[string]; | |
| val egg = <minecraft:egg>; | |
| if(craftingSystem){ | |
| for chickenName, chickenItem in chickenMap{ | |
| /*Crafting Chickens*/ | |
| if(craftChickens && !(chickenItem has egg)){ | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName}), [[chickenItem,chickenItem,chickenItem],[chickenItem,<ore:egg>,chickenItem],[chickenItem,chickenItem,chickenItem]]); | |
| } | |
| /*Upgrading Chickens*/ | |
| if(upgradeChickens){ | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:2, Strength:2, Gain:2}), [[<mysticalagriculture:crafting>,<mysticalagriculture:storage:5>,<mysticalagriculture:crafting>],[<mysticalagriculture:crafting:32>,<roost:chicken>.withTag({Chicken: chickenName, Growth:1, Strength:1, Gain:1}),<mysticalagriculture:crafting:32>],[<mysticalagriculture:crafting>,<mysticalagriculture:crafting:16>,<mysticalagriculture:crafting>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:3, Strength:3, Gain:3}), [[<mysticalagriculture:crafting:1>,<mysticalagriculture:storage>,<mysticalagriculture:crafting:1>],[<mysticalagriculture:crafting:33>,<roost:chicken>.withTag({Chicken: chickenName, Growth:2, Strength:2, Gain:2}),<mysticalagriculture:crafting:33>],[<mysticalagriculture:crafting:1>,<mysticalagriculture:crafting:17>,<mysticalagriculture:crafting:1>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:4, Strength:4, Gain:4}), [[<mysticalagriculture:crafting:1>,<mysticalagriculture:storage:1>,<mysticalagriculture:crafting:1>],[<mysticalagriculture:crafting:34>,<roost:chicken>.withTag({Chicken: chickenName, Growth:3, Strength:3, Gain:3}),<mysticalagriculture:crafting:34>],[<mysticalagriculture:crafting:1>,<mysticalagriculture:crafting:18>,<mysticalagriculture:crafting:1>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:5, Strength:5, Gain:5}), [[<mysticalagriculture:crafting:2>,<mysticalagriculture:storage:1>,<mysticalagriculture:crafting:2>],[<mysticalagriculture:crafting:34>,<roost:chicken>.withTag({Chicken: chickenName, Growth:4, Strength:4, Gain:4}),<mysticalagriculture:crafting:34>],[<mysticalagriculture:crafting:2>,<mysticalagriculture:crafting:18>,<mysticalagriculture:crafting:2>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:6, Strength:6, Gain:6}), [[<mysticalagriculture:crafting:2>,<mysticalagriculture:storage:2>,<mysticalagriculture:crafting:2>],[<mysticalagriculture:crafting:35>,<roost:chicken>.withTag({Chicken: chickenName, Growth:5, Strength:5, Gain:5}),<mysticalagriculture:crafting:35>],[<mysticalagriculture:crafting:2>,<mysticalagriculture:crafting:19>,<mysticalagriculture:crafting:2>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:7, Strength:7, Gain:7}), [[<mysticalagriculture:crafting:3>,<mysticalagriculture:ingot_storage:3>,<mysticalagriculture:crafting:3>],[<mysticalagriculture:crafting:35>,<roost:chicken>.withTag({Chicken: chickenName, Growth:6, Strength:6, Gain:6}),<mysticalagriculture:crafting:35>],[<mysticalagriculture:crafting:3>,<mysticalagriculture:crafting:19>,<mysticalagriculture:crafting:3>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:8, Strength:8, Gain:8}), [[<mysticalagriculture:crafting:3>,<mysticalagriculture:ingot_storage:4>,<mysticalagriculture:crafting:3>],[<mysticalagriculture:crafting:36>,<roost:chicken>.withTag({Chicken: chickenName, Growth:7, Strength:7, Gain:7}),<mysticalagriculture:crafting:36>],[<mysticalagriculture:crafting:3>,<mysticalagriculture:crafting:20>,<mysticalagriculture:crafting:3>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:9, Strength:9, Gain:9}), [[<mysticalagriculture:crafting:4>,<mysticalagriculture:ingot_storage:5>,<mysticalagriculture:crafting:4>],[<mysticalagriculture:crafting:37>,<roost:chicken>.withTag({Chicken: chickenName, Growth:8, Strength:8, Gain:8}),<mysticalagriculture:crafting:37>],[<mysticalagriculture:crafting:4>,<mysticalagriculture:crafting:21>,<mysticalagriculture:crafting:4>]]); | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: chickenName, Growth:10, Strength:10, Gain:10}), [[<mysticalagradditions:insanium>,<mysticalagradditions:storage:1>,<mysticalagradditions:insanium>],[<mysticalagradditions:insanium:2>,<roost:chicken>.withTag({Chicken: chickenName, Growth:9, Strength:9, Gain:9}),<mysticalagradditions:insanium:2>],[<mysticalagradditions:insanium>,<mysticalagradditions:insanium:1>,<mysticalagradditions:insanium>]]); | |
| } | |
| } | |
| } | |
| //recipes.addShaped(<roost:chicken>.withTag({Chicken: ""}), [[],[,<minecraft:egg>,],[]]); | |
| /*Distinct Recipes*/ | |
| if(craftChickens){ | |
| //Wood Chicken | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: "contenttweaker:wood_chicken"}), [[<ore:logWood>,<ore:logWood>,<ore:logWood>],[<ore:logWood>,<minecraft:egg>,<ore:logWood>],[<ore:logWood>,<ore:logWood>,<ore:logWood>]]); | |
| //Dye Chicken | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: "contenttweaker:dye_chicken"}), [[<minecraft:dye:1>,<minecraft:dye:14>,<minecraft:dye:11>],[<minecraft:dye:9>,<minecraft:egg>,<minecraft:dye:2>],[<minecraft:dye:5>,<minecraft:dye:4>,<minecraft:dye:6>]]); | |
| //Mystical Flower Chicken | |
| recipes.addShaped(<roost:chicken>.withTag({Chicken: "contenttweaker:mysticalflower_chicken"}), [[<botania:flower:14>,<botania:flower:1>,<botania:flower:4>],[<botania:flower:6>,<minecraft:egg>,<botania:flower:13>],[<botania:flower:10>,<botania:flower:11>,<botania:flower:9>]]); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment