mojira.dev
MCPE-217949

Monster spawners with paintings as the set entity can crash the game when loaded

The Bug:

Monster spawners with paintings as the set entity can consistently crash the game when loaded. This is not consistent with Java Edition, and is also not consistent with mob spawners with other entities in them like lightning bolts and zombies. This crash has been known to happen since at least Bedrock 1.11.4, and is still reproducible in 1.21.90.20 Preview (happened for many years now).

Steps to Reproduce:

  1. Download this structure file: paintingspawner.mcstructure

  2. Import it using a structure block.

  3. Load the structure.

Observed Result.

Painting spawners can crash the game. The crash is caused by having the EntityIdentifier in the monster spawner set to minecraft:painting if a chunk containing this loads.

Expected result:

Painting spawners would not be able to crash the game, just like Java Edition.

Notes:

This structure contains a structure block and a monster spawner.

Key for values:

  • Values in purple are short tags.

  • Values in yellow are float tags.

  • Values in bold orange are string tags.

  • Values in bold red are byte tags.

  • Values in bold blue are int tags

The monster spawner contains this exact data. The values, x, y, z do not matter.

  • Delay: 0

  • DisplayEntityHeight: 1.8

  • DisplayEntityScale: 1

  • DisplayEntityWidth: 0.8

  • EntityIdentifier: minecraft:painting

  • MaxNearbyEntities: 6

  • MaxSpawnDelay: 800

  • MinSpawnDelay: 200

  • RequiredPlayerRange: 16

  • SpawnCount: 4

  • SpawnRange: 4

  • id: MobSpawner

  • isMovable: 1

  • x: -10

  • y: -60

  • z: 25

Attachments

Comments 2

How did you create this monster spawner?

Did you create the structure using only in-game features, or was it edited with external tools?
If it was done using in-game features, please edit the steps to include that information.

TheMightyDark

(Unassigned)

Unconfirmed

Windows

Windows 11

1.21.90.20 Preview

Retrieved