How does one use @e data on a custom named snowball

The below command does not work on a Snowball and I was wondering how to do it.

execute @e[name=snowy] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.1 5

  • How can I move my character including all its content from one world (save) to another world (save)?
  • Is Minecraft Turing-Complete?
  • Can destroy command to destroy a certain type of block
  • Do villager mechanics apply vertically?
  • How do you change the MoTD for a Minecraft Server?
  • Will new Minecraft features appear in existing worlds?
  • How can I make a villager have an… “accident”?
  • Why wont these potions display their names and lore?
  • How to make a safe in vanilla Minecraft that locks and unlocks with a key?
  • How do you breed animals?
  • How do I install minecraft 1.9 on mac?
  • How do I summon mobs with block heads on Minecraft?
  • One Solution collect form web for “How does one use @e data on a custom named snowball”

    In order for your command to work, you either have to first actually assign the name “snowy” to the snowballs, or simply work directly with the snowballs.

    The former can be achieved by running the following command on the same clock as the your execute command:

    entitydata @e[type=Snowball] {CustomName:"snowy"}

    Note how this command simply affects all snowballs even though they are not named yet? We can cut out the middle man by simply using

    execute @e[type=Snowball] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.1 5

    The Minecraft wiki has a list of all valid target selector arguments, and the valid Entity IDs for the type selector are found in sidebars alongside the NBT data.

    We love Playing Games, especially Video Games.