Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-72774

Entities render incorrectly on the first frame after being summoned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6, Minecraft 1.8.3, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w46a, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.12, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w08b, Minecraft 19w09a, 1.15.2, 20w06a, 1.16.2, 1.16.4 Pre-release 2, 20w46a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w17a, 1.17.1, 1.18.1, 1.18.2, 22w12a, 1.19, 1.19.2, 1.19.3, 1.19.4 Pre-release 3, 1.19.4, 1.20.1, 1.20.4
    • None
    • Confirmed
    • Rendering
    • Low
    • Platform

      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.

            Unassigned Unassigned
            KingSupernova KingSupernova
            Votes:
            31 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              CHK: