This commit is contained in:
Christer Warén 2021-10-02 22:19:09 +03:00
parent c6baa039e4
commit 0371a9f284

View File

@ -257,62 +257,62 @@ on respawn:
make player execute command "/mirricraft item"
stop
on leftclick:
if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft gui"
cancel the event
wait 2 tick
if event-item is compass named "&4Mene":
make player execute command "/mirricraft gui visit"
cancel the event
wait 2 tick
if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip"
cancel the event
wait 2 tick
if event-item is player's skull named "&6%player%":
make player execute command "/mirricraft gui player"
cancel the event
wait 2 tick
#on leftclick:
# if event-item is ender chest named "&fMirriCraft":
# make player execute command "/mirricraft gui"
# cancel the event
# wait 2 tick
# if event-item is compass named "&4Mene":
# make player execute command "/mirricraft gui visit"
# cancel the event
# wait 2 tick
# if event-item is diamond named "&bVIP":
# make player execute command "/mirricraft gui vip"
# cancel the event
# wait 2 tick
# if event-item is player's skull named "&6%player%":
# make player execute command "/mirricraft gui player"
# cancel the event
# wait 2 tick
on rightclick:
if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft gui"
cancel the event
wait 2 tick
if event-item is compass named "&4Mene":
make player execute command "/mirricraft gui visit"
cancel the event
wait 2 tick
if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip"
cancel the event
wait 2 tick
if event-item is player's skull named "&6%player%":
make player execute command "/mirricraft gui player"
cancel the event
wait 2 tick
#on rightclick:
# if event-item is ender chest named "&fMirriCraft":
# make player execute command "/mirricraft gui"
# cancel the event
# wait 2 tick
# if event-item is compass named "&4Mene":
# make player execute command "/mirricraft gui visit"
# cancel the event
# wait 2 tick
# if event-item is diamond named "&bVIP":
# make player execute command "/mirricraft gui vip"
# cancel the event
# wait 2 tick
# if event-item is player's skull named "&6%player%":
# make player execute command "/mirricraft gui player"
# cancel the event
# wait 2 tick
on inventory click:
if event-item is ender chest named "&fMirriCraft":
cancel the event
if event-item is compass named "&4Mene":
cancel the event
if event-item is diamond named "&bVIP":
cancel the event
if event-item is player's skull named "&6%player%":
cancel the event
#on inventory click:
# if event-item is ender chest named "&fMirriCraft":
# cancel the event
# if event-item is compass named "&4Mene":
# cancel the event
# if event-item is diamond named "&bVIP":
# cancel the event
# if event-item is player's skull named "&6%player%":
# cancel the event
on drop:
if event-item is ender chest named "&fMirriCraft":
cancel the event
if event-item is compass named "&4Mene":
cancel the event
if event-item is diamond named "&bVIP":
cancel the event
if event-item is player's skull named "&6%player%":
cancel the event
#on drop:
# if event-item is ender chest named "&fMirriCraft":
# cancel the event
# if event-item is compass named "&4Mene":
# cancel the event
# if event-item is diamond named "&bVIP":
# cancel the event
# if event-item is player's skull named "&6%player%":
# cancel the event
on pickup:
if event-item is ender chest named "&fMirriCraft":