The bug
The game crashes when it tries to render a mannequin inside of a spawner, and the world will become unplayable.
Description: Extracting render state for an entity in world
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.renderer.entity.EntityRenderer.createRenderState(net.minecraft.world.entity.Entity, float)" because "$$2" is null
at net.minecraft.client.renderer.entity.EntityRenderDispatcher.extractEntity(SourceFile:136)
at net.minecraft.client.renderer.blockentity.TrialSpawnerRenderer.extractSpawnerData(SourceFile:45)
at net.minecraft.client.renderer.blockentity.SpawnerRenderer.extractRenderState(SourceFile:37)
at net.minecraft.client.renderer.blockentity.SpawnerRenderer.extractRenderState(SourceFile:17)
at net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.tryExtractRenderState(SourceFile:96)
at net.minecraft.client.renderer.LevelRenderer.extractVisibleBlockEntities(SourceFile:858)
at net.minecraft.client.renderer.LevelRenderer.renderLevel(SourceFile:482)
at net.minecraft.client.renderer.GameRenderer.renderLevel(SourceFile:771)
at net.minecraft.client.renderer.GameRenderer.render(SourceFile:531)
at net.minecraft.client.Minecraft.runTick(SourceFile:1385)
at net.minecraft.client.Minecraft.run(SourceFile:971)
at net.minecraft.client.main.Main.main(SourceFile:250)
Steps to reproduce
Join a world with commands enabled.
Run the following command:
setblock ~ ~ ~ minecraft:spawner{SpawnData:{entity:{id:"minecraft:mannequin"}}}
Linked issues
is duplicated by 2
Attachments
Comments 2

[media]