-
Bug
-
Resolution: Fixed
-
Minecraft 1.6.2, Minecraft 13w37a, Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c, Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.5, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 1.8.9
-
Community Consensus
Please don't close this bug as a duplicate of an unrelated report just because it's a spawner crash bug. Not all spawner crashes are caused by invalid EntityIDs - this one has a unique cause unrelated to that.
If a spawner has an EntityID of "Painting", regardless of the provided SpawnData/SpawnPotentials, it will crash the game. This is due to an NBT loading issue, where the game recognizes "Painting" as a valid ID, but attempts to create one with a null world (spawners do this for the entity spinning in the spawner cage).
Unlike the majority of entities, paintings will crash when loading their NBT if their world is null, and there is no workaround to this (not even having an entity ride the painting will fix it).
Steps to Reproduce:
- Import the attached schematic into your world.
- Observe that you immediately crash when approaching the chunk containing it.
MC-81578/ 1.8.7java.lang.NullPointerException: Saving entity NBT at un.b(SourceFile:187) at uo.b(SourceFile:168) at pk.e(SourceFile:1180) at pk.d(SourceFile:1150) at add.a(SourceFile:129) at add.a(SourceFile:265) at bhh.a(SourceFile:19) at bhh.a(SourceFile:14) at bhh.a(SourceFile:9) at bhc.a(SourceFile:114) at bhc.a(SourceFile:102) at bfr.a(SourceFile:615)
- is duplicated by
-
MC-27484 Hanging Entities (e.g. Item Frames, Paintings, and LeashKnots) cannot be spawned
- Resolved
-
MC-38203 Painting spawner block crashes clients
- Resolved
-
MC-66298 Crash when attempting to make a mob spawner spawn Items
- Resolved
-
MC-70875 Painting spawner crashes game
- Resolved
-
MC-81519 Using a painting spawn egg on a spawner will crash your game
- Resolved
-
MC-81578 Itemframe Spawner crashes game
- Resolved
-
MC-94716 Putting a painting spawn egg in a mob spawner crashes Minecraft.
- Resolved
- relates to
-
MC-9788 Mob Spawners failing to "Saving entity NBT"
- Resolved