Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #multiblock structure
- #rename function
- options:
- logo: &6&lBS&8: &7
- function gui(p: Player):
- open chest with 6 rows named "&8Anvil" to {_p}
- wait 2 ticks
- loop 9 times:
- set slot loop-value - 1 of {_p}'s current inventory to gray stained glass pane named "&8"
- set slot 54-loop-value of {_p}'s current inventory to gray stained glass pane named "&8"
- loop 5 times:
- set slot loop-value * 9 of {_p}'s current inventory to gray stained glass pane named "&8"
- set slot loop-value * 9-1 of {_p}'s current inventory to gray stained glass pane named "&8"
- #rename, chat type je de naam van het item
- #crafting??
- #repair
- on rightclick on anvil:
- gui(player)
- cancel event
- on inventory click:
- if inventory name of player's current inventory is "&8Anvil":
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement