How to /testfor snowball a snowball hitting the ground or mobs? [duplicate]

How to /testfor snowball a snowball hitting the ground or mobs? [duplicate] - Woman, Man and Girl Sitting on Snow

I decided to make a snowball grenade, but I stuck at how to /testfor the snowball when it hits a mob or the ground. Is there a scoreboard command that can help me? For example

 /scoreboard players set @e[type=snowball] hit 1 {onground:1b}


Best Answer

Constantly teleport an invisible entity to the snowball. Execute off of the invisible entity and test for the snowball. If it's not there, it's hit the ground.




Pictures about "How to /testfor snowball a snowball hitting the ground or mobs? [duplicate]"

How to /testfor snowball a snowball hitting the ground or mobs? [duplicate] - Woman and Child Playing in Snow
How to /testfor snowball a snowball hitting the ground or mobs? [duplicate] - Delighted multiethnic girlfriends in outerwear laughing widely while having fun together in winter snowy park
How to /testfor snowball a snowball hitting the ground or mobs? [duplicate] - Laughing female friends in warm clothes standing near stone wall covered with snow and playing snowballs in winter



How do you know if a snowball hits the ground in Minecraft?

Repeating, Unconditional, Needs Redstone: execute at @e[type=minecraft:armor_stand,tag=grenade] unless entity @e[type=minecraft:snowball,distance=.. 2] run summon tnt. Chain, Unconditional, Always Active: kill @e[type=minecraft:armor_stand,tag=grenade]

How do you increase snowball damage in Minecraft?

So, let's get started!
  • Find Snow. First, you need to find some snow to dig up.
  • Hold a Shovel. You can only get snowballs by digging up the snow with a shovel. ...
  • Dig up the Snow. The game control to dig up the snow depends on the version of Minecraft: ...
  • Pick up the Snowballs.




  • 7 fun Snowball commands




    More answers regarding how to /testfor snowball a snowball hitting the ground or mobs? [duplicate]

    Answer 2

    Or else use fire. Try something like /execute @[type=snowball] ~ ~ ~ /setblock ~ ~ ~ fire And then test if the fire was placed or not with conditional or something along those lines. Idea from TheRedEngineer Check this video:

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Victoria Borodinova, Victoria Borodinova, Liza Summer, Liza Summer