-
Bug
-
Resolution: Unresolved
-
Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 15w51a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.11.2, Minecraft 17w17b, Minecraft 1.12.2, Minecraft 1.13-pre1, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w13a, Minecraft 1.14.2, 1.14.4, 1.15.2, 20w07a, 20w20b, 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17, 1.17.1 Pre-release 1, 1.17.1, 1.19.3, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 3, 1.19.4, 23w13a, 23w14a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w44a, 1.20.4, 24w03b, 24w04a, 24w05a, 24w11a, 24w12a, 1.20.6, 1.21, 1.21.3
-
None
-
Confirmed
-
Commands
-
Low
-
Platform
When using /setblock to create a spawner with only "SpawnData" supplied, that data is automatically copied into "SpawnPotentials" such that the same entity will always spawn.
For example, the following /setblock command shows the intended behavior:
/setblock ~ ~ ~ spawner{SpawnData:{entity:{id:zombie}}}
A rough example of what the spawner's data becomes, indicating that the list of entities to spawn is only that which was defined in SpawnData:
{SpawnData:{entity:{id:"minecraft:zombie"}},SpawnPotentials:[{weight:1,data:{entity:{id:"minecraft:zombie"}}}]}
However, the block_entity_data component does not cause this copy to happen. Instead, given the following /give command (which is expected to have the exact same result as /setblock when placed):
/give @s spawner[block_entity_data={id:spawner,SpawnData:{entity:{id:zombie}}}]
The data becomes:
{SpawnData:{entity:{id:"minecraft:zombie"}},SpawnPotentials:[]}
The difference being that the SpawnPotentials did not copy the zombie over like it does with /setblock.
- is duplicated by
-
MC-100058 Mob Spawner BUG
- Resolved
-
MC-111814 Spawners turning back into pig spawners
- Resolved
-
MC-112515 custom mob_spawner placed manually turn into pig spawner after 1 mob spawn.
- Resolved
-
MC-121071 Given spawner
- Resolved
-
MC-124783 Mob Spawner Deletes Initial Index without Checks
- Resolved
-
MC-129586 Custom Mob Spawner
- Resolved
-
MC-130509 Custom spawners resets to default (pig) state after spawning entity once
- Resolved
-
MC-130551 Spawner resets to default (pig) state after spawning mobs once.
- Resolved
-
MC-136186 BlockEntityTag & Spawner SpawnPotentials Issue
- Resolved
-
MC-144379 Custom Spawners Revert to Pig Spawners
- Resolved
-
MC-151352 Spawners transforming into pigs
- Resolved
-
MC-153863 Spider Spawner changing spawning entity to pig
- Resolved
-
MC-160816 Custom spawners turn into pig spawners after only 1 spawn
- Resolved
-
MC-165724 Spawner Given With Commands Turns Into A Pig Spawner After Spawning The Mob
- Resolved
-
MC-183946 Command created spawners turn back into pig spawners after spawning a mob once
- Resolved