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

Entity NBT isn't always synchronized with clients immediately, rendering the entity incorrect for a brief moment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w38a, Minecraft 15w38b, Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w44a, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 15w51a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w16a, Minecraft 18w22a, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, 1.14.4, 19w42a, 19w45b, 1.15.1, 1.15.2 Pre-Release 1, 1.15.2, 20w06a, 20w09a, 20w12a, 20w13a, 20w13b, 20w14a, 20w17a, 20w19a, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16.1, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.2, 1.16.4 Pre-release 2, 20w46a, 21w03a, 1.16.5, 21w05b, 21w07a, 21w08b, 21w16a, 21w20a, 1.17.1, 1.18.1, 1.18.2, 22w15a, 22w18a, 22w19a, 1.19, 1.19.2, 1.19.4, 1.20.1, 1.20.2 Pre-release 2, 1.20.4
    • Confirmed
    • Commands
    • Normal
    • Platform

      An alternative description is provided in MC-72774.
      Code analysis by Marcono1234 here in this comment, he narrowed down the apparent issue of this bug.


      Using the new EntityTag feature for custom spawn eggs, I created spawn eggs summoning a Squid with the invisibility potion effect, but while I was demonstrating the "Tags" tag by placing the spawn eggs against a barrierblock, one Squid popped into my face ;_;

      Give-command for a custom squid spawn egg:

      /give @s minecraft:squid_spawn_egg{EntityTag:{Glowing:1b,NoAI:1b,CustomName:'{"text":"Invisible","color":"dark_blue","bold":true,"italic":true,"underlined":true}',active_effects:[{id:invisibility,amplifier:1b,duration:1200,show_particles:1b}]}}
      

      It seems that the effect is not always (or generally?) applied immediately.
      In current snapshot 20w12a it is visible each single time I use the spawn egg; that has not been always the case, e.g. back in 2015.

      The Squid appears for about 1 tick.

      This seems to generally apply to every changes that you'd summon an entity with, e.g. also Rotation value:

      /summon mooshroom ~ ~1.5 ~ {CustomName:"RandomUUIDCow",CustomNameVisible:1,Rotation:[270f,0f],NoAI:1,Silent:1}
      

      The summoned Mooshroom needed 2 ticks to get into the 270°-positioning.

      The default position an entity "looks" - including the player in a newly generated world - is always South, and also that Mooshroom in this example looks at South first before it gets turned into the desired position.

      As that's the confirmed case now, the title should be changed, but I'll leave this to the experienced mods to find a title which can describe the totality of the problem }=)

        1. 2019-03-31_15.20.50.png
          2019-03-31_15.20.50.png
          256 kB
        2. MC-88181.mp4
          4.23 MB
        3. mooshroom_01.png
          mooshroom_01.png
          355 kB
        4. mooshroom_02.png
          mooshroom_02.png
          384 kB
        5. ss+(2015-09-06+at+12.50.30).jpg
          ss+(2015-09-06+at+12.50.30).jpg
          369 kB
        6. ss+(2015-09-06+at+12.50.45).jpg
          ss+(2015-09-06+at+12.50.45).jpg
          70 kB
        7. uKlDhXDRC6.gif
          uKlDhXDRC6.gif
          3.71 MB

            Unassigned Unassigned
            LapisDemon Meri Diana
            Votes:
            76 Vote for this issue
            Watchers:
            37 Start watching this issue

              Created:
              Updated:
              CHK: