Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {blazewandcooltime.%player%} = 0
- {tntwandcooltime.%player%} = 0
- {fireballcooltime.%player%} = 0
- on right click:
- if player is holding blaze rod of Fire Aspect 32767 named "&6BlazeWand":
- if {blazewandcooltime.%player%} is smaller than or equal to 0:
- cancel event
- set {blazewandcooltime.%player%} to 15
- shoot a small fireball from player at speed 0.2
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.blaze.shoot master @a"
- wait 0.3 second
- shoot a small fireball from player at speed 0.2
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.blaze.shoot master @a"
- wait 0.3 second
- shoot a small fireball from player at speed 0.2
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.blaze.shoot master @a"
- every second:
- loop all players:
- remove 1 from {blazewandcooltime.%loop-player%}
- if loop-player is holding blaze rod of Fire Aspect 32767 named "&6BlazeWand":
- if {blazewandcooltime.%loop-player%} is greater than or equal to 1:
- send action bar from "&b使用可能になるまであと&3%{blazewandcooltime.%loop-player%}%秒" to loop-player
- if {blazewandcooltime.%loop-player%} is 0:
- send action bar from "&6BlazeWand&bが使用可能になりました!" to loop-player
- on right click:
- if player is holding fire charge named "&cFireBall":
- if {fireballcooltime.%player%} is smaller than or equal to 0:
- cancel event
- shoot a fireball from player at speed 0.2
- remove fire charge named "&cFireBall" from player's inventory
- wait 1 tick
- execute console command "/execute %player% ~ ~ ~ entitydata @e[type=fireball,c=1] {ExplosionPower:2}"
- set {fireballcooltime.%player%} to 1
- wait 2 tick
- set {fireballcooltime.%player%} to 0
- on right click:
- if player is holding bone named "&4TNTWand":
- if {tntwandcooltime.%player%} is smaller than or equal to 0:
- cancel event
- set {tntwandcooltime.%player%} to 15
- shoot a tnt from player at speed 1
- execute console command "/execute %player% ~ ~ ~ playsound minecraft:entity.tnt.primed master @a"
- every second:
- loop all players:
- remove 1 from {tntwandcooltime.%loop-player%}
- if loop-player is holding bone named "&4TNTWand":
- if {tntwandcooltime.%loop-player%} is greater than or equal to 1:
- send action bar from "&b使用可能になるまであと&3%{tntwandcooltime.%loop-player%}%秒" to loop-player
- if {tntwandcooltime.%loop-player%} is 0:
- send action bar from "&4TNTWand&bが使用可能になりました!" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment