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

Some entities do not render inside of spawners and producing error log spam in console, potentially causing lag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w45a
    • 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.4, 1.16.5
    • None
    • Confirmed
    • Performance, Rendering
    • Important

      Mob Spawners do not render a "mini" mob visual for the following entities:

      • Bee
      • Enderman
      • Polar Bear
      • Wolf
      • Zombified Piglin
      • Evoker Fangs

      See attached images for expected (Elder Guardian) vs unexpected (Zombified Piglin). When the game attempts to render them but fails, it also produces an error message in the console over and over again, which can potentially cause a lot of lag in the world, especially when lots of spawners are used.

      [01:00:15] [Render thread/WARN]: Exception loading entity: 
      s: Loading entity NBT
      	at aol.f(SourceFile:1642) ~[1.16-pre5.jar:?]
      	at aop.a(SourceFile:467) ~[1.16-pre5.jar:?]
      	at aop$$Lambda$4201/93583133.accept(Unknown Source) ~[?:?]
      	at v.a(SourceFile:401) ~[1.16-pre5.jar:?]
      	at aop.a(SourceFile:466) ~[1.16-pre5.jar:?]
      	at aop.b(SourceFile:529) [1.16-pre5.jar:?]
      	at aop.a(SourceFile:510) [1.16-pre5.jar:?]
      	at bpc.d(SourceFile:256) [1.16-pre5.jar:?]
      	at eei.a(SourceFile:22) [1.16-pre5.jar:?]
      	at eei.a(SourceFile:12) [1.16-pre5.jar:?]
      	at edw.a(SourceFile:107) [1.16-pre5.jar:?]
      	at edw.b(SourceFile:96) [1.16-pre5.jar:?]
      	at edw$$Lambda$4990/1816104835.run(Unknown Source) [1.16-pre5.jar:?]
      	at edw.a(SourceFile:128) [1.16-pre5.jar:?]
      	at edw.a(SourceFile:96) [1.16-pre5.jar:?]
      	at ebx.a(SourceFile:1236) [1.16-pre5.jar:?]
      	at ebs.a(SourceFile:717) [1.16-pre5.jar:?]
      	at ebs.a(SourceFile:540) [1.16-pre5.jar:?]
      	at dlx.e(SourceFile:1021) [1.16-pre5.jar:?]
      	at dlx.d(SourceFile:654) [1.16-pre5.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:215) [1.16-pre5.jar:?]
      Caused by: java.lang.ClassCastException: dym cannot be cast to zc
      	at ayk.a(SourceFile:260) ~[1.16-pre5.jar:?]
      	at aol.f(SourceFile:1633) ~[1.16-pre5.jar:?]
      	... 20 more
      

      What I expected to happen was...:
      A "mini" version of the mob to be rendered in the middle of the spawner cube.

      What actually happened was...:
      No "mini" version of the mob is rendered inside the cage.

      Steps to Reproduce:

      1. Place down a spawner
      2. Modify the spawner's block data to the desired mob (can be done through commands or by right-clicking on the cage with the desired mob spawn egg).

      Note: The spawner does spawn the desired mob. The issue is only visual – you cannot tell what kind of spawner it is just by looking at it.

      Code analysis

      See this comment.

            mgatland [Mojang] Matthew Gatland
            MCVolt Volt
            Votes:
            18 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: