AntOfThy

Custom Crafter, Gravel to/from Stone Blocks

Jun 7th, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. 4 Gravel -> Cobblestone
  2.  
  3. # -Z Sound, Piston Compress
  4. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  5. ~ ~ ~ playsound tile.piston.in @a[r=4] ~ ~ ~ 1 1.3 1
  6.  
  7. # +Y Result
  8. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  9. ~ ~ ~ blockdata ~ ~ ~ {Items:[
  10. {Slot:8b,id:"minecraft:cobblestone",Damage:0s,Count:1b}
  11. ]}
  12.  
  13. # -Y Recipe
  14. execute @e[type=ArmorStand,name=GM4_CustomCrafter] ~ ~ ~
  15. testforblock ~ ~ ~ minecraft:dropper -1 {Items:[
  16. {Slot:0b,id:"minecraft:gravel",Damage:0s,Count:1b},
  17. {Slot:1b,id:"minecraft:gravel",Damage:0s,Count:1b},
  18. {Slot:3b,id:"minecraft:gravel",Damage:0s,Count:1b},
  19. {Slot:4b,id:"minecraft:gravel",Damage:0s,Count:1b}
  20. ]}
  21.  
  22. Cobblestone (any Type) -> 4 Gravel
  23.  
  24. # -Z Sound, Stone Break
  25. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  26. ~ ~ ~ playsound dig.stone @a[r=4] ~ ~ ~ 1 1.3 1
  27.  
  28. # +Y Result
  29. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  30. ~ ~ ~ blockdata ~ ~ ~ {Items:[
  31. {Slot:8b,id:"minecraft:gravel",Damage:0s,Count:4b}
  32. ]}
  33.  
  34. # -Y Recipe
  35. execute @e[type=ArmorStand,name=GM4_CustomCrafter] ~ ~ ~
  36. testforblock ~ ~ ~ minecraft:dropper -1 {Items:[
  37. {Slot:4b,id:"minecraft:cobblestone",Count:1b}
  38. ]}
  39.  
  40. Smooth Stone -> 4 Gravel (could be made to handle all stone types)
  41.  
  42. # -Z Sound, Stone Break
  43. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  44. ~ ~ ~ playsound dig.stone @a[r=4] ~ ~ ~ 1 1.3 1
  45.  
  46. # +Y Result
  47. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  48. ~ ~ ~ blockdata ~ ~ ~ {Items:[
  49. {Slot:8b,id:"minecraft:gravel",Damage:0s,Count:4b}
  50. ]}
  51.  
  52. # -Y Recipe
  53. execute @e[type=ArmorStand,name=GM4_CustomCrafter] ~ ~ ~
  54. testforblock ~ ~ ~ minecraft:dropper -1 {Items:[
  55. {Slot:4b,id:"minecraft:stone",Damage:0s,Count:1b}
  56. ]}
  57.  
  58. Stone Brick (Any type) -> 4 Gravel
  59.  
  60. # -Z Sound, Stone Break
  61. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  62. ~ ~ ~ playsound dig.stone @a[r=4] ~ ~ ~ 1 1.3 1
  63.  
  64. # +Y Result
  65. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  66. ~ ~ ~ blockdata ~ ~ ~ {Items:[
  67. {Slot:8b,id:"minecraft:gravel",Damage:0s,Count:4b}
  68. ]}
  69.  
  70. # -Y Recipe
  71. execute @e[type=ArmorStand,name=GM4_CustomCrafter] ~ ~ ~
  72. testforblock ~ ~ ~ minecraft:dropper -1 {Items:[
  73. {Slot:4b,id:"minecraft:stonebrick",Count:1b}
  74. ]}
  75.  
  76. Mossy Cobblestone -> 4 Gravel
  77.  
  78. # -Z Sound, Stone Break
  79. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  80. ~ ~ ~ playsound dig.stone @a[r=4] ~ ~ ~ 1 1.3 1
  81.  
  82. # +Y Result
  83. execute @e[type=ArmorStand,name=GM4_CustomCrafter,score_GM4_crafting_min=1]
  84. ~ ~ ~ blockdata ~ ~ ~ {Items:[
  85. {Slot:8b,id:"minecraft:gravel",Damage:0s,Count:4b}
  86. ]}
  87.  
  88. # -Y Recipe
  89. execute @e[type=ArmorStand,name=GM4_CustomCrafter] ~ ~ ~
  90. testforblock ~ ~ ~ minecraft:dropper -1 {Items:[
  91. {Slot:4b,id:"minecraft:mossy_cobblestone",Count:1b}
  92. ]}
Advertisement
Add Comment
Please, Sign In to add comment