on load: new Recipe "2"; "2".Recipe.registerIngredient{1, 1 blaze powder}; "2".Recipe.registerIngredient{2, 1 diamond}; "2".Recipe.registerIngredient{3, 1 blaze powder}; "2".Recipe.registerIngredient{4, 1 blaze powder}; "2".Recipe.registerIngredient{5, 1 redstone}; "2".Recipe.registerIngredient{6, 1 blaze powder}; "2".Recipe.registerIngredient{7, 1 blaze powder}; "2".Recipe.registerIngredient{8, 1 stick}; "2".Recipe.registerIngredient{9, 1 blaze powder}; "2".Recipe.registerResult{ 1 blaze rod with lore "{@lore}" named "{@nazwa}"}; "2".Recipe.register{}; options: kulaOgnia: 40 #Czas w sekundach - Kula ognia skok: 15 #Czas w sekundach - Skok nazwa: &dVortex #Nazwa przedmiotu lore: &7Ma wielka moc ognia i wyskoku! #Opis przedmiotu variables: {vortex::vleftCzas} = 0 {vortex::vrightCzas} = 0 command /vortex []: permission: vortex.admin permission message: &cBlad! &7Nie masz uprawnien. trigger: give blaze rod named "{@nazwa}" with lore "{@lore}" to player send "&aPrzywolales vortex!" stop on leftclick with blaze rod: if name of player's tool is "{@nazwa}": if {vortex::vleftCzas} is smaller than 1: make the player shoot an fireball at speed 3 set {vortex::vleftCzas} to {@kulaOgnia} stop send "&aOgnia mozesz uzyc za: %{vortex::vleftCzas}% &asekund." stop on rightclick with blaze rod: if name of player's tool is "{@nazwa}": if {vortex::vrightCzas} is smaller than 1: push the player upwards at velocity 1 push the player horizontally forward at speed 4 play sound "entity.blaze.hurt" with volume 5 at player set {vortex::vrightCzas} to {@skok} stop send "&aSkoku mozesz uzyc za: %{vortex::vrightCzas}% &asekund." stop every 1 second: loop all players: if {vortex::vleftCzas} is bigger than 0: remove 1 from {vortex::vleftCzas} if {vortex::vrightCzas} is bigger than 0: remove 1 from {vortex::vrightCzas}