Advertisement
Pein_Calamity

Custom Recipes Minetweaker

Nov 9th, 2016
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. /*This is for testing purposes.
  2.  
  3. We will try some basic recipes.
  4. *************************************
  5. guide:
  6. print("thing to display");
  7. recipes.addshaped(<recipe:result> * quantity, [[ID/null, ID/null, ID/null], [ID/null, ID/null, ID/null], [ID/null, ID/null, ID/null]]);
  8. recipes.remove(<mod:item>);
  9. recipes.addShapeless (<recipe:result> * quantity,[ID, ID, ID, ID, ID, ID, ect.])
  10. recipes.addShapedMirrored (same, just like stairs)
  11. val short = <modname:shortversionname>;
  12.  
  13. */
  14.  
  15. print("Test Script by Call_Me_Calamity has started.");
  16. // Here are the coins.
  17. val woodCoin = <customnpcs:npcCoinWooden>;
  18. val stoneCoin = <customnpcs:npcCoinStone>;
  19. val bronzeCoin = <customnpcs:npcCoinBronze>;
  20. val ironCoin = <customnpcs:npcCoinIron>;
  21. val goldCoin = <customnpcs:npcCoinGold>;
  22. val diamondCoin = <customnpcs:npcCoinGold>;
  23. val emeraldCoin = <customnpcs:npcCoinEmerald>;
  24.  
  25. // Here are vanilla items.
  26. val planks = <minecraft:planks:*>;
  27. val cobble = <minecraft:cobblestone>;
  28. val iron = <minecraft:iron_ingot>;
  29. val gold = <minecraft:gold_ingot>;
  30. val emerald = <minecraft:emerald>;
  31.  
  32. recipes.addshaped(<woodCoin> *4, [planks, planks, planks], [planks, minecraft:wooden_button, planks], [planks, planks, planks]);
  33. recipes.addshaped(<stoneCoin>, [cobble, cobble, cobble], [cobble, woodCoin, cobble] [cobble, cobble, cobble]);
  34. recipes.addshaped(<stoneCoin>, [cobble, cobble, cobble], [cobble, minecraft:stone_button, cobble] [cobble, cobble, cobble]);
  35. //bronze coin here
  36. recipes.addshaped(<ironCoin>, [iron, iron, iron], [iron, stoneCoin, iron], [iron, iron, iron];
  37. recipes.addshaped(<ironCoin> *2, [iron, iron, iron], [iron, minecraft:iron_block, iron], [iron, iron, iron];
  38. recipes.addshaped(<goldCoin> [gold, gold, gold], [gold, ironCoin, gold], [gold, gold, gold]);
  39. recipes.addshaped(<goldCoin> *2 [gold, gold, gold], [gold, minecraft:gold_block, gold], [gold, gold, gold]);
  40. recipes.addshaped(<emeraldCoin>) [emerald, emerald, emerald], [emerald,goldCoin, emerald], [emerald, emerald, emerald];
  41. recipes.addshaped(<emeraldCoin> *2) [emerald, emerald, emerald], [emerald, minecraft:emerald_block, emerald], [emerald, emerald, emerald];
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. print("Test Script has Ended.")
  51. //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement