AntOfThy

Custom Crafting Sponge Recipe

Jun 7th, 2015
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Sponge - from 5 Haybales and 4 Webs (in a TNT like recipe pattern)
  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:sponge",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:hay_block",Count:1b},
  17. {Slot:1b,id:"minecraft:web",Count:1b},
  18. {Slot:2b,id:"minecraft:hay_block",Count:1b},
  19. {Slot:3b,id:"minecraft:web",Count:1b},
  20. {Slot:4b,id:"minecraft:hay_block",Count:1b},
  21. {Slot:5b,id:"minecraft:web",Count:1b},
  22. {Slot:6b,id:"minecraft:hay_block",Count:1b},
  23. {Slot:7b,id:"minecraft:web",Count:1b},
  24. {Slot:8b,id:"minecraft:hay_block",Count:1b}
  25. ]}
Advertisement
Add Comment
Please, Sign In to add comment