Affects Version/s: 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
Fix Version/s: Minecraft 16w32a
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:
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:
However, the BlockEntityTag tag 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):
The data becomes:
The difference being that the SpawnPotentials did not copy the zombie over like it does with /setblock, and instead defaulted to a pig.