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

Placing Mob Spawners Renders Pig 1 second

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w04b
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

       

      command 1.13:

      /give @p spawner{BlockEntityTag:{SpawnData:{id:creeper},Delay:10000} } 
      

      results in the mob spawner rendering pig for 0.1-1 full second before going back to the right render of the specified mob

      in older versions between 1.8-1.8.1 for sure this did not occur
      1.8.1 test:

      /give @p spawner{BlockEntityTag:{EntityId:Creeper,Delay:10000}}

      Solutions:
      make blank spawners always blank(force people to use pig spawners with the blockdata). Then it simply won't render till the client get's it's data. I don't recommend this approach as it's not instant when the client already has the data of nbt from the itemstack. I recommend the below solution.

      Backport code to 1.8 where the blockentitytag was placed on both client and server side note that 1.8 had an issue with render as well not noticeable until porting the code to spawners newer then 1.10 where horses will render two different models only to the person placing the spawner. This is fixed by the server not sending a packet to the placer if a block entity tag was placed but, everyone else should get the packet.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dragonofthelakeabcd jredfox
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: