The "Dimension" tag of a summoned entity will always default to 0, no matter which dimension the entity was summoned into. The tag is not updated until the entity changes dimensions, such as travelling through a portal.
Steps to reproduce:
Go to the nether.
Spawn a cow using a spawn egg
Run
/testfor @e[type=Cow] {Dimension:-1}
The result in the chat window will be "Found Cow"
Kill the cow
Summon a cow using /summon Cow
Run the same testfor command again
The result in chat will be "Cow did not match the required data structure"
Linked issues
relates to 2
Comments 5
Yup, it's fixed. Sorry for the delayed response, there seems to be a bug with the notification system, I sometimes don't get notified.
I think the title is wrong it should be: Summoned entities have invalid / wrong dimension tag
Because what he is describing is that a summoned entites (for example a pig) will always have
Dimension:0
as tag, whereas a "normal" entity or a entity spawned with a spawn egg will have the correctDimension
Here is a example (1.8.3) for a pig in the nether:
Pig nether /summon
Pig nether spawn egg
This might not seem so important, but it is. If something relies on this, Minecraft could eventually crash and entity selection is broken.
This relates to: MC-78527