no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


development:libcd [2019/10/11 20:43] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== LibCD support ======
 +
 +TechReborn has built in support for [[https://www.curseforge.com/minecraft/mc-mods/libcd|libcd]] alloing the adding of new recipes. Thanks B0undarybreaker for contributing the support.
 +
 +----
 +===== Alloy Smelter =====
 +
 +Add an alloy smelter recipe that takes 8 coal and 2 obsidian -> 2 diamonds
 +
 +<code>TRTweaker.addAlloySmelter(["minecraft:coal@8", "minecraft:obsidian@2"], [TweakerUtils.createItemStack("minecraft:diamond", 2)], 6, 200);</code>
 +
 +----
 +===== Assembling Machine =====
 +
 +Add an assembling machine recipe that takes 3 diamonds and 2 sticks -> 1 diamond pickaxe
 +
 +<code>TRTweaker.addAssemblingMachine(["minecraft:diamond@3", "minecraft:stick@2"], [TweakerUtils.createItemStack("minecraft:diamond_pickaxe", 1)], 20, 200);
 +</code>
 +
 +----
 +===== Blast Furnace =====
 +
 +Add a blast furnace recipe that takes 64 of any item in the minecraft:coals tag -> 8 diamonds
 +
 +<code>TRTweaker.addBlastFurnace(["#minecraft:coals@64"], [TweakerUtils.createItemStack("minecraft:diamond", 8)], 128, 200, 1300);
 +</code>
 +
 +
 +----
 +===== Centrifuge =====
 +
 +Add a centrifuge recipe that takes any potion -> a water bottle
 +
 +<code>TRTweaker.addCentrifuge(["minecraft:potion"], [TweakerUtils.getSpecialStack("minecraft:potion->minecraft:water")], 5, 1000);
 +</code>
 +
 +----
 +===== Chemical Reactor =====
 +
 +Add a chemical reactor recipe that takes a water bottle and a can of methane -> a potion of fire resistance
 +
 +<code>mods.techreborn.chemicalReactorRecipe.addRecipe(IItemStack output1, IIngredient input1, IIngredient input2, int ticktime, int euTick)</code>
 +
 +
 +----
 +===== Compressor =====
 +Add a compressor recipe that takes 9 coal blocks -> 3 pieces of obsidian
 +
 +<code>TRTweaker.addCompressor(["minecraft:coal_ore@9"], [TweakerUtils.createItemStack("minecraft:coal_block", 3)], 10, 300);
 +</code>
 +
 +
 +----
 +===== Distillation Tower =====
 +
 +Add a distillation tower recipe that takes a potion of regneration -> a strong potion of regeneration
 +
 +<code>TRTweaker.addDistillationTower(["minecraft:potion->minecraft:regeneration"], [TweakerUtils.getSpecialStack("minecraft:potion->minecraft:strong_regeneration")], 20, 400);
 +</code>
 +
 +----
 +===== Extractor =====
 +
 +Add an extractor recipe that takes 4 coal -> 1 gunpowder
 +
 +<code>TRTweaker.addExtractor(["minecraft:coal@4"], [TweakerUtils.createItemStack("minecraft:gunpowder", 1)], 10, 300);</code>
 +
 +----
 +===== Grinder =====
 +
 +Add a grinder recipe of 1 sugar cane -> 3 sugar
 +
 +<code>TRTweaker.addGrinder(["minecraft:sugar_cane"], [TweakerUtils.createItemStack("minecraft:sugar", 3)], 4, 270);</code>
 +
 +
 +----
 +===== Fusion Reactor =====
 +
 +Add a fluid replicator recipe of 2 uu matter and 1 bucket of wulframium -> 2 buckets of wolframium
 +
 +<code>TRTweaker.addFluidReplicator(["techreborn:uu_matter@2"], 40, 100, "techreborn:wolframium@1000");
 +</code>
 +
 +Add a fusion reactor recipe of 3 wither skeleton skulls and 4 soul sand -> 1 nether star
 +
 +<code>TRTweaker.addFusionReactor(["minecraft:wither_skeleton_skull@3", "minecraft:soul_sand@4"], [TweakerUtils.createItemStack("minecraft:nether_star", 1)], -2048, 1024, 90000, 1);
 +</code>
 +
 +----
 +
 +===== Implosion Compressor =====
 +
 +Add an implosion compressor recipe of 32 coal and 16 flint -> 16 diamonds
 +
 +<code>TRTweaker.addImplosionCompressor(["minecraft:coal@32", "minecraft:flint@16"], [TweakerUtils.createItemStack("minecraft:diamond", 16)], 30, 2000);
 +</code>
 +
 +----
 +===== Industrial Electrolyzer =====
 +
 +Add an industrial electrolyzer recipe of 1 skeleton skull -> 1 wither skeleton skull
 +
 +<code>TRTweaker.addIndustrialElectrolyzer(["minecraft:skeleton_skull"], [TweakerUtils.createItemStack("minecraft:wither_skeleton_skull", 1)], 50, 1400);
 +</code>
 +
 +----
 +===== Industrial Grinder =====
 +
 +Add an industrial electrolyzer recipe of 1 sea lantern -> 5 prismarine crystals and 4 prismarine shards
 +
 +<code>TRTweaker.addIndustrialGrinder(["minecraft:sea_lantern"], [TweakerUtils.createItemStack("minecraft:prismarine_crystals", 5), TweakerUtils.createItemStack("minecraft:prismarine_shard", 4)], 64, 100);
 +</code>
 +
 +Add an industrial electrolyzer recipe of 1 sea lantern and 1 bucket of electrolyzed water -> 9 prismarine crystals
 +
 +<code>TRTweaker.addIndustrialGrinder(["minecraft:sea_lantern"], [TweakerUtils.createItemStack("minecraft:prismarine_crystals", 9)], 64, 100, "techreborn:electrolyzed_water@1000");
 +</code>
 +
 +----
 +===== Industrial Sawmill =====
 +
 +Add an industrial sawmill recipe of 3 sugar cane -> 18 paper
 +
 +<code>TRTweaker.addIndustrialSawmill(["minecraft:sugar_cane@3"], [TweakerUtils.createItemStack("minecraft:paper", 18)], 40, 200);
 +</code>
 +
 +Add an industrial sawmill recipe of 1 heart of the sea and 1/2 bucket of water -> 16 nautilus shells
 +
 +<code>TRTweaker.addIndustrialSawmill(["minecraft:heart_of_the_sea"], [TweakerUtils.createItemStack("minecraft:nautilus_shell", 16)], 40, 200, "minecraft:water@500");
 +</code>
 +
 +----
 +===== Rolling Machine =====
 +
 +
 +<code>TRTweaker.addRollingMachine([["minecraft:stick", "minecraft:oak_planks"], ["minecraft:stone", "minecraft:oak_planks"]], TweakerUtils.createItemStack("minecraft:crafting_table", 1));
 +</code>
 +
 +Add a rolling machine recipe for sticks on the sides and any wooden slab in the middle -> six ladders
 +<code>
 +//Create a pattern/dictionary set for a shaped recipe
 +var pattern = [ '/ /',
 +                '/_/',
 +                '/ /'];
 +var dict = {
 +    "/": "minecraft:stick",
 +    "_": "#minecraft:wooden_slabs"
 +};
 +
 +TRTweaker.addRollingMachine(pattern, dict, TweakerUtils.createItemStack("minecraft:ladder", 12));
 +</code>
 +
 +----
 +===== Scrapbox =====
 +
 +Add a scrapbox recipe of 1 scrap box -> 1 shulker box
 +<code>TRTweaker.addScrapbox(TweakerUtils.createItemStack("minecraft:shulker_box", 1), 10, 20);</code>
 +
 +----
 +===== Vacuum Freezer =====
 +
 +Add a scrapbox recipe of 1 cell of water -> 1 blue ice
 +<code>TRTweaker.addVacuumFreezer([TRTweaker.createFluidIngredient("minecraft:water", ["techreborn:cell"], -1)], [TweakerUtils.createItemStack("minecraft:blue_ice", 1)], 60, 440);
 +</code>
 +
 +----
 +===== Fluid Replicator =====
 +
 +Add a fluid replicator recipe of 2 uu matter and 1 bucket of wulframium -> 2 buckets of wolframium
 +<code>TRTweaker.addFluidReplicator(["techreborn:uu_matter@2"], 40, 100, "techreborn:wolframium@1000");
 +</code>
 +
 +----
 +===== Fluid Generators, aka Thermal, Gas, Plasma, Semi and Diesel =====
 +
 +Add a plasma fluid generator recipe for 1 mB of wolframium -> 300 EU
 +
 +<code>TRTweaker.addFluidGenerator("plasma", "techreborn:wolframium", 300);</code>
  
  • Last modified: 2019/10/11 20:43
  • by 127.0.0.1