Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Routine: Launch Projectile

1cec0ld edited this page Feb 2, 2013 · 4 revisions

TODO: Finish documenting this

Possible projectile types:

  • Arrow
  • Egg
  • EnderPearl
  • Fireball
  • Fireball_small
  • Wither_Skull
  • Fish
  • Snowball
  • ThrownExpBottle (may not work)
  • ThrownPotion (may not work)

Example:

Interact:
    - 'if interact_right and item.matches.stick':
        - 'player.launch.snowball':
            #- 'message.player': '%{yaw} %{pitch} %{speed}'
            #- 'set.yaw': '(yaw - 20)'
            #- 'set.pitch': '(pitch + 10)'
            - 'set.speed': '4'
            #Explosive only
            #- 'set.yield': '0'
            #- 'set.incendiary': '1'
Clone this wiki locally