forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
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)
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'