Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. command /craft:
  2. trigger:
  3. set {craft} to 1
  4. open virtual chest inventory with size 5 named " " to player
  5. format gui slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 17, 18, 26, 27, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62 and 63 of player with black stained glass pane named " " to nothing
  6. format gui slot 22, 23 and 24 of player with red stained glass pane named " " to nothing
  7. loop 90 times:
  8. if slot 12, 20 and 28 of event-inventory is stick named "Handle Fragment" with lore "&e&oRight click to view recipes":
  9. if slot 21 of event-inventory is lead named "Rope" with lore "&e&oRight click to view recipes":
  10. if slot 30 of event-inventory is tripwire hook named "Hook" with lore "&e&oRight click to view recipes":
  11. format gui slot 22 of player with green stained pane name "Crafting..."
  12. play minecraft:anvil.use specifically to player
  13. wait 1 second
  14. format gui slot 23 of player with green stained pane name "Crafting..."
  15. play minecraft:anvil.use specifically to player
  16. format gui slot 24 of player with green stained pane name "Crafting..."
  17. play minecraft:anvil.break specifically to player
  18. format gui slot 25 of player with fishing rod named "&aGrappling Hook" with lore "&eGet launched in the direction of your hook!" to close then run console command "/givereciperesult %player%"
  19. else:
  20. format gui slot 25 of player with barrier named "&cNot a recipe!" to do nothing
  21. else:
  22. format gui slot 25 of player with barrier named "&cNot a recipe!" to do nothing
  23. else:
  24. format gui slot 25 of player with barrier named "&cNot a recipe!" to do nothing
  25. wait 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement