SHOW:
|
|
- or go back to the newest paste.
| 1 | - | on sneak toggle: |
| 1 | + | |
| 2 | - | if {fall.%player%} is not set:
|
| 2 | + | attacker is a player |
| 3 | - | set {fall.%player%} to 0
|
| 3 | + | attacker is sneaking |
| 4 | - | {fall.%player%} is 0
|
| 4 | + | projectile is arrow |
| 5 | - | player has feather of Feather Falling |
| 5 | + | attacker has cobweb |
| 6 | - | block below location of player is air |
| 6 | + | set {_webloc} to location of victim
|
| 7 | - | push player upwards at speed 0.5 |
| 7 | + | if block at {_webloc} is air:
|
| 8 | - | push player horizontally forwards at speed 0.7 |
| 8 | + | set block at {_webloc} to cobweb
|
| 9 | - | set {fall.%player%} to 1
|
| 9 | + | if block 1 blocks northwest of {_webloc} is air:
|
| 10 | - | while block below location of player is air: |
| 10 | + | set block 1 blocks northwest of {_webloc} to cobweb
|
| 11 | - | wait 3 ticks |
| 11 | + | if block 1 blocks northeast of {_webloc} is air:
|
| 12 | - | set {fall.%player%} to 0
|
| 12 | + | set block 1 blocks northeast of {_webloc} to cobweb
|
| 13 | if block 1 blocks southwest of {_webloc} is air:
| |
| 14 | - | victim has feather of Feather Falling |
| 14 | + | set block 1 blocks southwest of {_webloc} to cobweb
|
| 15 | - | damage was caused by fall |
| 15 | + | if block 1 blocks southeast of {_webloc} is air:
|
| 16 | - | cancel event |
| 16 | + | set block 1 blocks southeast of {_webloc} to cobweb
|
| 17 | if block 1 blocks north of {_webloc} is air:
| |
| 18 | set block 1 blocks north of {_webloc} to cobweb
| |
| 19 | if block 1 blocks east of {_webloc} is air:
| |
| 20 | set block 1 blocks east of {_webloc} to cobweb
| |
| 21 | if block 1 blocks south of {_webloc} is air:
| |
| 22 | set block 1 blocks south of {_webloc} to cobweb
| |
| 23 | if block 1 blocks west of {_webloc} is air:
| |
| 24 | set block 1 blocks west of {_webloc} to cobweb
| |
| 25 | remove a cobweb from attacker | |
| 26 | wait 4 second | |
| 27 | if block at {_webloc} is cobweb:
| |
| 28 | set block at {_webloc} to air
| |
| 29 | if block 1 blocks northwest of {_webloc} is cobweb:
| |
| 30 | set block 1 blocks northwest of {_webloc} to air
| |
| 31 | if block 1 blocks northeast of {_webloc} is cobweb:
| |
| 32 | set block 1 blocks northeast of {_webloc} to air
| |
| 33 | if block 1 blocks southwest of {_webloc} is cobweb:
| |
| 34 | set block 1 blocks southwest of {_webloc} to air
| |
| 35 | if block 1 blocks southeast of {_webloc} is cobweb:
| |
| 36 | set block 1 blocks southeast of {_webloc} to air
| |
| 37 | if block 1 blocks north of {_webloc} is cobweb:
| |
| 38 | set block 1 blocks north of {_webloc} to air
| |
| 39 | if block 1 blocks east of {_webloc} is cobweb:
| |
| 40 | set block 1 blocks east of {_webloc} to air
| |
| 41 | if block 1 blocks south of {_webloc} is cobweb:
| |
| 42 | set block 1 blocks south of {_webloc} to air
| |
| 43 | if block 1 blocks west of {_webloc} is cobweb:
| |
| 44 | set block 1 blocks west of {_webloc} to air |