Skip to content

Routine: Launch Projectile

ricochet1k edited this page Oct 13, 2012 · 4 revisions

TODO: Finish documenting this

Possible projectile types:

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

Example:

Interact:
    - 'if interact_right and item.matches.stick':
        - 'playereffect.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