When I put in this command in a command block:

/scoreboard players set @e[type=Item] PigProgress 1 {Item:{id:319}}

It says:

The dataTag does not match for c97c9605-6b59-44e8-bf24-aa2e46c9c746

Does anyone know why? The entity is a porkchop item.

  • Are you sure the ground item is raw? – ModDL Jun 23 '15 at 0:29

There are a few things that might cause this.

You are on 1.8

You are on 1.8. This is probably what your problem is. As of 1.8 you cannot use number ids for items. You instead need to use minecraft:(name). Instead of




It just isn't detecting the right item

Your command block will output this if it finds an item on the ground which isn't a porkchop. This will not affect the usefullness of the command, and it will still work. Which is why it still will output this even after it is fixed, if it detects an item other than a porkchop on the ground, but it doesn't matter because the scoreboard command will still work.

| improve this answer | |

User112881 is correct, but his/her tag is wrong.

It should be: {Item:{id:"minecraft:porkchop"}}

Not {Item:{id:minecraft:porkchop}}

| improve this answer | |

Are you playing in 1.8? If so, then you no longer can use IDs, you need to use item's name instead.

Find all the names here: http://minecraft-ids.grahamedgecombe.com/

| improve this answer | |
  • 1
    Since he said he's using a porkchop item, I'd recommend including at least the entity name for the porkchop. – Frank Jun 22 '15 at 22:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.