Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if player's tool is Brown dye named "fly":
- push the player in front at speed 10
- if player's tool is {flyitem.%player%}:
- push the player in front at speed {flyspeed.%player%}
- command /flyitem <text>:
- permission: op
- trigger:
- if arg 1 is "set":
- open chest with 1 row named "&a&lスピードアイテムセット" to player
- set slot 0 and 1,2,3,5,6,7,8 of player's current inventory to yellow stained glass pane named "真ん中においてね"
- set slot 4 of player's current inventory to {flyitem.%player%}
- if arg 1 is "give":
- give {flyitem.%player%} to player
- if arg 1 is "1":
- send "%{flyitem.%player%}%" to player
- command /flyspeed <num>:
- permission: op
- trigger:
- set {flyspeed.%player%} to arg 1
- on inventory close:
- if name of event-inventory is "&a&lスピードアイテムセット":
- set {flyitem.%player%} to slot 4 of event-inventory
Add Comment
Please, Sign In to add comment