The bug
Entities will sometimes render incorrectly on their first frame, probably due to entities not having NBT data until the first tick (or simply not rendering it).
This has been observed both with common commands
/summon minecraft:zombie ~ ~ ~ {active_effects:[{duration:-1,amplifier:0b,id:"minecraft:invisibility"}]}
and spawn eggs
/give @s minecraft:squid_spawn_egg{EntityTag:{id:"minecraft:squid",CustomName:"{\"text\":\"column\"}",CustomNameVisible:0b,NoAI:1b,Silent:1b,active_effects:[{duration:-1,amplifier:0b,id:"minecraft:invisibility"}]}} 1
Both status effects (specifically, invisibility), and rotation are affected by this problem.
I believe this causes the commonly seen bug of TNT and fireworks rendering for 1 tick even when they are supposed to explode immediately.
Linked issues
is duplicated by 3
relates to 5
Attachments
Comments 23
Confirmed for:
1.8.1-pre2 Just build a clock summoning invisible mobs and you will see some of them appearing
Confirmed for 1.8.2-pre6, although the bug is actually kinda different. Entities will gain their effects instantly, but always get rendered in their default state on the first frame/tick regardless of any NBT tags present (potion effects, marker tag on armor stands, even just the entity's rotation).
Command used?