Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /craft:
- trigger:
- set {craft} to 1
- open virtual chest inventory with size 5 named " " to player
- 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
- format gui slot 22, 23 and 24 of player with red stained glass pane named " " to nothing
- loop 90 times:
- if slot 12, 20 and 28 of event-inventory is stick named "Handle Fragment" with lore "&e&oRight click to view recipes":
- if slot 21 of event-inventory is lead named "Rope" with lore "&e&oRight click to view recipes":
- if slot 30 of event-inventory is tripwire hook named "Hook" with lore "&e&oRight click to view recipes":
- format gui slot 22 of player with green stained pane name "Crafting..."
- play minecraft:anvil.use specifically to player
- wait 1 second
- format gui slot 23 of player with green stained pane name "Crafting..."
- play minecraft:anvil.use specifically to player
- format gui slot 24 of player with green stained pane name "Crafting..."
- play minecraft:anvil.break specifically to player
- 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%"
- else:
- format gui slot 25 of player with barrier named "&cNot a recipe!" to do nothing
- else:
- format gui slot 25 of player with barrier named "&cNot a recipe!" to do nothing
- else:
- format gui slot 25 of player with barrier named "&cNot a recipe!" to do nothing
- wait 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement