Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On Shoot:
- "%projectile%" contains "potion":
- if name of shooter's tool is "&fCiekła pajęczyna":
- loop 200 times:
- set {_l} to location of projectile
- if {_l} is {_ll}:
- loop blocks in radius 3:
- loop-block is air:
- chance of 50%:
- set loop-blocks to cobweb
- wait 5 second
- loop blocks in radius 3:
- loop-block is cobweb:
- set loop-block to air
- wait 0.5 second
- stop
- wait 1 tick
- set {_ll} to location of projectile
- wait 1 tick
- command /potka:
- trigger:
- player has permission "potka":
- give player potion of:16384 named "&fCiekła pajęczyna"
- on load:
- set {_potka} to "potka"
- new Recipe {_potka};
- {_potka}.Recipe.setIngredient{1, 1 cobweb};
- {_potka}.Recipe.setIngredient{2, 1 cobweb};
- {_potka}.Recipe.setIngredient{3, 1 cobweb};
- {_potka}.Recipe.setIngredient{4, 1 cobweb};
- {_potka}.Recipe.setIngredient{5, 1 potion:0};
- {_potka}.Recipe.setIngredient{6, 1 cobweb};
- {_potka}.Recipe.setIngredient{7, 1 cobweb};
- {_potka}.Recipe.setIngredient{8, 1 cobweb};
- {_potka}.Recipe.setIngredient{9, 1 cobweb};
- {_potka}.Recipe.setResult{potion of:16384 named "&fCiekła pajęczyna"};
- {_potka}.Recipe.register{};
Advertisement
Add Comment
Please, Sign In to add comment