katubug

pyrotech crafttweaker examples

Dec 26th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. import crafttweaker.item.IItemStack;
  2.  
  3. //==Adds recipe for Pyrotech Dirt Clumps==
  4. recipes.addShapeless("dirt_conversion", <pyrotech:rock:4> * 2, [<betterwithmods:dirt_pile>]);
  5.  
  6. //Changes Potash Mulch recipe to require Compost instead of "mulchNitrogen," and also to use either type of ash.
  7. <ore:listAllash>.add(<pyrotech:material>);
  8. <ore:listAllash>.add(<betterwithmods:material:21>);
  9.  
  10. recipes.remove(<pyrotech:mulch>); //Note: this line correctly removes the recipe in all categories
  11. recipes.addShaped(<pyrotech:mulch> * 4, [[<ore:listAllash>, <pyrotech:rock:7>, <ore:listAllash>],[<pyrotech:rock:7>, <composter:compost>, <pyrotech:rock:7>], [<ore:listAllash>, <pyrotech:rock:7>, <ore:listAllash>]]);
  12.  
  13. //Make PVJ basalt and marble recipes use Quark's blocks
  14. recipes.replaceAllOccurences(<pvj:basalt>, <quark:basalt>);
  15. recipes.replaceAllOccurences(<pvj:marble>, <quark:marble>);
  16. recipes.replaceAllOccurences(<pvj:basalt_brick>, <quark:world_stone_bricks:3>);
  17. recipes.replaceAllOccurences(<pvj:marble_brick>, <quark:world_stone_bricks:4>);
  18.  
  19. //====Adds recipes for Diamond Ingots====
  20. //Diamond Leggings
  21. recipes.remove(<minecraft:diamond_leggings>);
  22. recipes.addShaped("diamond_ingot_leggings", <minecraft:diamond_leggings>, [[<betterwithmods:material:45>, <minecraft:diamond>, <betterwithmods:material:45>],[<minecraft:diamond>, null, <minecraft:diamond>], [<minecraft:diamond>, null, <minecraft:diamond>]]);
  23.  
  24. //Diamond Helmet
  25. recipes.remove(<minecraft:diamond_helmet>);
  26. recipes.addShaped("diamond_ingot_helmet", <minecraft:diamond_helmet>, [[<betterwithmods:material:45>, <minecraft:diamond>, <betterwithmods:material:45>],[<minecraft:diamond>, null, <minecraft:diamond>]]);
Advertisement
Add Comment
Please, Sign In to add comment