Minecraft 1.9 Data Tags changed?
Ok so I have this command here:
/summon Item ~ ~1 ~ {Item:{id:spawn_egg,Damage:65,Count:32,tag:{display:{Name:"Destruction Pellet",Lore:["Place this item in a dispenser and power","to destroy the block infront"]}}}}
What it does is summon 32 bat Spawneggs with the name Destruction Pellet. This command works a treat in any 1.8 version (specifically 1.8.0, since that what I use), but when I upgrade to a Minecraft 1.9 snapshot (15w51b) this command now only summons empty spawneggs, as if the Damage isn't even there.
So I was wondering if the format/order of Data Tags has changed in the most recent snapshot, or weather this is a bug and it needs to be sumbitted to the Minecraft Bug Tracker.
Best Answer
First minor issue is that you have unbalanced quotation marks:
["Place this item in a dispenser and power","to destroy the block infront ]
Need to end the string here ^
As of 1.9, you need to specify data about the entity, including its type, inside of an EntityTag compound tag, like this:
/summon Item ~ ~1 ~ {Item:{id:spawn_egg,Count:32,tag:{EntityTag:{id:"Bat"},display:{Name:"Destruction Pellet",Lore:["Place this item in a dispenser and power","to destroy the block infront"]}}}}
Pictures about "Minecraft 1.9 Data Tags changed?"



What was Minecraft 1.9 called?
Minecraft Interactive Experience The Combat Update is the name for Java Edition version 1.9, a major update released on Monday, February 29, 2016. This update overhauled the combat system, among other additions and changes.How do I change my NBT tag in Minecraft?
The NBT tag is always surrounded in {} such as {NoAI:1}. If there is more than one NBT tag used in a command, the NBT tags are separated by a comma such as {NoAI:1, IsBaby:1}. Each entity (or mob) has its own unique set of NBT tags. Select an entity to see the NBT tags that you can change.Was 1.9 the end update?
Item NBT. To see an Item NBT tag just activate the advanced tooltips by pressing F3+H, the tag will appear inside the tooltip. Longer tags will be presented in an auto scrolling view, the scroll speed can be controlled with SHIFT, to pause scrolling, and ALT, to speed it up.The Complete Guide to /data and NBT Tags Tutorial in Minecraft Java Edition [1.18]
More answers regarding minecraft 1.9 Data Tags changed?
Answer 2
You need to use the {EntityTag:{id:"Bat"}} they indeed changed that. And btw the damagevalue needs to be 0 for this to work so the command will be /summon Item ~ ~ ~ {Item:{id:"minecraft:spawn_egg",Count:32b,tag:{display:{Name:"Destuction Pellet"},EntityTag:{id:"Bat"}}}c
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Angela Roma, Sabrina Gelbart, Markus Spiske, Anete Lusina
