SHOW:
|
|
- or go back to the newest paste.
| 1 | - | on script load: |
| 1 | + | on projectile hit: |
| 2 | - | wipe server crafting recipes |
| 2 | + | projectile is arrow |
| 3 | - | register new shapeless recipe for tripwire hook of Unbreaking 1 named "<purple>EnderKey" using tripwire hook, ender pearl, air, air, air, air, air, air, air |
| 3 | + | shooter has torch |
| 4 | - | on rightclick: |
| 4 | + | name of shooter's tool is "TorchBow" |
| 5 | - | player's tool is tripwire hook of Unbreaking 1 named "<purple>EnderKey" |
| 5 | + | if block at location of the projectile is air: |
| 6 | - | open the player's ender chest to the player |
| 6 | + | set the block at location of the projectile to torch |
| 7 | - | remove 1 tripwire hook of Unbreaking 1 named "<purple>EnderKey" from player |
| 7 | + | ignite entity |
| 8 | remove 1 torch from shooter | |
| 9 | else: | |
| 10 | stop |