Advertisement
cory1234567

Tweaks.zs

Sep 13th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.83 KB | None | 0 0
  1. /*recipes.addShapeless(name,output,inputs,function,action)
  2. recipes.addShaped(name,output,inputs,function,action)
  3. recipes.removeShaped(output, inputs)
  4. recipes.removeShapeless(output, inputs, wildcard)
  5. mods.betterwithmods.StockedCrucible.add(IItemStack inputs, @optional IItemStack secondary Output, IIngredient[]
  6. <minecraft:spawn_egg>.withTag({EntityTag:{id:"minecraft:zombie"}});
  7. */
  8.  
  9. //variables
  10. val Door = <minecraft:wooden_door>;
  11. val Planks = <minecraft:planks>;
  12. val Sticks = <minecraft:stick>;
  13.  
  14. val glass = <minecraft:glass>;
  15.  
  16. val Egg = <minecraft:egg>;
  17. val diamondBlock = <minecraft:diamond_block>;
  18. val ironBars = <minecraft:iron_bars>;
  19. val Bones = <minecraft:bone>;
  20. val flesh = <minecraft:rotten_flesh>;
  21. val BlazeRod = <minecraft:blaze_rod>;
  22. val Spawner = <minecraft:mob_spawner>;
  23. val Zombie = <minecraft:spawn_egg>.withTag({EntityTag:{id:"minecraft:zombie"}});
  24. val Skeleton = <minecraft:spawn_egg>.withTag({EntityTag:{id:"minecraft:skeleton"}});
  25. val Blaze = <minecraft:spawn_egg>.withTag({EntityTag:{id:"minecraft:blaze"}});
  26. val soulUrn = <betterwithmods:urn:8>;
  27.  
  28. //OreDictions
  29. val tinGear = <ore:gearTin>;
  30. val coalDust = <ore:dustCoal>;
  31. val carbonDust = <ore:dustCarbon>;
  32. val steel = <ore:ingotSteel>;
  33.  
  34. //machines
  35. val machineFrame = <thermalexpansion:frame>;
  36.  
  37. //ingots
  38. val SFsteel = <betterwithmods:material:14>;
  39.  
  40. //removing StokedCrucible recipes
  41. mods.betterwithmods.StokedCrucible.remove(SFsteel);
  42.  
  43. //Adding StokedCrucible Recipes
  44. mods.betterwithmods.StokedCrucible.add(SFsteel,<betterwithmods:urn>,[coalDust | carbonDust,soulUrn,steel]);
  45.  
  46. //adding shaped recipes
  47. recipes.addShaped("TEmachineFrame", machineFrame, [[SFsteel, glass, SFsteel],
  48.                                                    [glass, tinGear, glass],
  49.                                                    [SFsteel, glass, SFsteel]]);
  50.  
  51. recipes.addShaped("spawner", Spawner, [[ironBars, ironBars, ironBars],
  52.                                        [ironBars, diamondBlock, ironBars],
  53.                                        [ironBars, ironBars, ironBars]]);
  54.  
  55. recipes.addShaped("SkeleEgg", Skeleton, [[Bones, Bones, Bones],
  56.                                          [Bones, Egg, Bones],
  57.                                          [Bones, Bones, Bones]]);
  58.                                          
  59. recipes.addShaped("ZombieEgg", Zombie, [[flesh, flesh, flesh],
  60.                                          [flesh, Egg, flesh],
  61.                                          [flesh, flesh, flesh]]);
  62. recipes.addShaped("BlazeEgg", Blaze, [[BlazeRod, BlazeRod, BlazeRod],
  63.                                          [BlazeRod, Egg, BlazeRod],
  64.                                          [BlazeRod, BlazeRod, BlazeRod]]);
  65.                                          
  66. /*recipes.addShaped("door", Door, [[Planks, Planks, null],
  67.                                  [Planks, Planks, null],
  68.                                  [Planks, Planks, null]]); */
  69.  
  70. //adding shapeless recipes
  71. recipes.addShapeless("sticks", Sticks*2, [Planks]);
  72.  
  73.  
  74. //removing shaped recipes
  75. recipes.removeShaped(machineFrame);
  76.  
  77.  
  78. //removing shapeless recipes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement