on rightclick: if player's tool is snowball: set {snowball.%player%} to true shoot a snowball from player with speed 0.4 create fake explosion of force 2 remove 1 snowball from player set {snowball.%player%} to false on place snowball: if {snowball.%player%} is true: cancel event on projectile hit: if event-projectile is snowball: if {snowball.%player%} is true: destroy event-block on script load: register new shaped recipe for snowball using 0, 0, 0, 0, diamond, 0, 0, stone, 0