SpawnerMinecart with a SpawnRange of 0 not working properly.
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{id:"minecraft:falling_block",Block:redstone_block,Time:1,DropItem:0},SpawnCount:1}
This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~4 ~ spawner{SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{entity: {id: "minecraft:armor_stand", NoGravity:1b}},SpawnCount:1s} destroy→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Linked Issues
- Unresolved
Chris
- 4
- 3
- Confirmed
Low
- Platform
- Minecart Mob spawning
- minecart range spawner
13w38c - 24w07a
13w38c 13w48b 13w49a 1.7.4 14w02c 14w03b 14w04a 14w04b 14w05b 14w06b 14w07a 14w08a 1.7.5 14w10b 14w10c 14w11b 1.7.9 14w17a 14w18b 14w19a 14w20a 14w20b 14w21a 14w21b 1.7.10-pre1 1.7.10-pre2 14w25a 1.7.10-pre4 14w25b 14w26b 14w26c 1.7.10 14w27a 14w27b 14w28a 14w28b 14w29a 14w29b 14w30a 14w30b 14w32a 14w32b 14w32c 14w32d 14w33a 14w33c 14w34a 14w34b 14w34c 14w34d 1.8-pre1 1.8-pre2 1.8-pre3 1.8 1.8.6 15w40b 1.9-pre2 1.11 1.13.1 1.15.2 20w22a 1.16.2 1.16.3-rc1 1.16.3 1.16.4 20w51a 21w03a 21w05b 21w06a 21w07a 21w18a 1.20.4 24w07a
Created Issue:
SpawnerMinecart with a SpawnRange of 0 not working properly.
So I spawned a MinecartSpawner with a commandblock. The command was the following:
summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:
{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}
This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in and the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact. (in the command it said: ~ ~6 ~.1 if you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.Environment
Mac OS X Mountain Lion
So I spawned a MinecartSpawner with a commandblock. The command was the following:
summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:
{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}
This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in and the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact. (
in the command it said: ~ ~6 ~.1if you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.So I spawned a MinecartSpawner with a commandblock. The command was the following:
summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:
{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}
This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in and the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
So I spawned a MinecartSpawner with a commandblock. The command was the following:
summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:
{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}
This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in and the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.So I spawned a MinecartSpawner with a commandblock. The command was the following:
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in and the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
So I spawned a MinecartSpawner with a commandblock. The command was the following:
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in a
ndthe block above that, and also the block underneath the block the MinecartSpawner is standing on.The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.So I spawned a MinecartSpawner with a commandblock. The command was the following:
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn on a 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
So I spawned a MinecartSpawner with a commandblock. The command was the following:
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there it will spawn ona 1 high platform, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.So I spawned a MinecartSpawner with a commandblock. The command was the following:
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
So I spawned a MinecartSpawner with a commandblock. The command was the following:
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{TileID:152,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on. Another thing (this only happens in 14w03) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on. Another thing (this only happens in 14w03 and 14w04) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
Another thing (this only happens in 14w03 and 14w04) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
The weird thing though is, that this doesn't happen when the MinecartSpawner is atan exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 witha1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
Another thing (this only happens in 14w03 and further) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
From 14w06a on, the falling sand entities replace the floor the minecart is standing on, and a lot of the spawned sand is invisible until you relog. Spawnerminecarts are getting buggier and buggier.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
Another thing (this only happens in 14w03 and further) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
From 14w06a on, the falling sand entities replace the floor the minecart is standing on, and a lot of the spawned sand is invisible until you relog. Spawnerminecarts are getting buggier and buggier.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
5. Notice that the floorblock is deleted.
6. Notice that some of the spawned sand is invisible.
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
Another thing (this only happens in 14w03 and further) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
From 14w06a on, the f
alling sand entities replace the floor the minecart is standingon, anda lotof the spawned sand is invisibleuntilyou relog. Spawnerminecarts are getting buggier and buggier.The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
5. Notice that the floorblock is deleted.
6. Notice that some of the spawned sand is invisible.So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
Another thing (this only happens in 14w03 and further) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
From 14w06a on, the floorblock appears to be gone, and some of the spawned sand is invisible. This both gets fixed after you relog. Spawnerminecarts are getting buggier and buggier.
The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
5. Notice that the floorblock is deleted.
6. Notice that some of the spawned sand is invisible.
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
Another thing (this only happens in 14w03 and further) is that it spawns a fake Pig that you can hit, and /say @e doesn't detect those pigs either.
From 14w06a on, the floorblock appears to be gone, and some of the spawned sand is invisible. This both gets fixed after you relog. Spawnerminecarts are getting buggier and buggier.The weird thing though is, that this doesn't happen when the MinecartSpawner is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that a Fake Pig has spawned together with the minecartspawner.
5. Notice that the floorblock is deleted.
6. Notice that some of the spawnedsand isinvisible.So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecartspawner doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that some of the spawned blocks are invisible.
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecartspawner doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that some of the spawned blocks are invisible.Code analysis
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecartspawner doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce:
1. Put the command in a commandblock. (make sure there is a 1 high platform above the commandblock, so that it can spawn underneath the floor)
2. Power the commandblock.
3. Notice that the MinecartSpawner spawns blocks above the block it is in and below the block it is standing on even though the SpawnRange is 0.
4. Notice that some of the spawned blocks are invisible.Code analysis
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecartspawner doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"armor_stand",NoGravity:1b},SpawnCount:1s}→ All armorstands are spawned at the same x and y position because SpawnRange is 0, but their height varies
Code analysis
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecartspawner doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"armor_stand",NoGravity:1b},SpawnCount:1s}→ All armorstands are spawned at the same x and y position because SpawnRange is 0, but their
heightvariesCode analysis
So I spawned a MinecartSpawner with a commandblock. The command was the following: (edited to 1.8 format, but the same thing happened in 1.7)
/summon MinecartSpawner ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the MinecartSpawner is in.
However, the MinecartSpawner spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the MinecartSpawner is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecartspawner doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the MinecartSpawner is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"armor_stand",NoGravity:1b},SpawnCount:1s}→ All armorstands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
So I spawned a
MinecartSpawnerwith a commandblock. The command was the following:(edited to 1.8 format, but the same thing happened in 1.7)/summonMinecartSpawner~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"FallingSand",SpawnCount:1}This creates a spawner with a SpawnRange of 0 that spawns redstoneblocks, so I expected it to spawn redstoneblock in the block the
MinecartSpawneris in.However, the
MinecartSpawnerspawns the blocks in the block it is in as well as the block above that, and also the block underneath the block theMinecartSpawneris standing on.From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the minecart
spawnerdoesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block theMinecartSpawneris in.)How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"armor_stand",NoGravity:1b},SpawnCount:1s}→ All armorstands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"minecraft:falling_block",SpawnCount:1}This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"minecraft:armor_stand",NoGravity:1b},SpawnCount:1s}→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{Block:redstone_block,Time:1,DropItem:0},EntityId:"minecraft:falling_block",SpawnCount:1}This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"minecraft:armor_stand",NoGravity:1b},SpawnCount:1s}→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{id:"minecraft:falling_block",Block:redstone_block,Time:1,DropItem:0},SpawnCount:1}This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner default replace {SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"minecraft:armor_stand",NoGravity:1b},SpawnCount:1s}→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{id:"minecraft:falling_block",Block:redstone_block,Time:1,DropItem:0},SpawnCount:1}This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~1 ~ mob_spawner defaultreplace{SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"minecraft:armor_stand",NoGravity:1b},SpawnCount:1s}→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{id:"minecraft:falling_block",Block:redstone_block,Time:1,DropItem:0},SpawnCount:1}This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~4 ~ spawner{SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{id:"minecraft:armor_stand",NoGravity:1b},SpawnCount:1s} destroy→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Mac OS X Mountain Lion
relates to
So I spawned a spawner minecart with a command block. The command was the following:
/summon spawner_minecart ~ ~6 ~.1 {SpawnRange:0,MinSpawnDelay:3,MaxSpawnDelay:3,SpawnData:{id:"minecraft:falling_block",Block:redstone_block,Time:1,DropItem:0},SpawnCount:1}This creates a spawner minecart with a SpawnRange of 0 that spawns redstone blocks, so I expected it to spawn redstone block in the block the spawner minecart is in.
However, the spawner minecart spawns the blocks in the block it is in as well as the block above that, and also the block underneath the block the spawner minecart is standing on.
From 14w06a on, some of the spawned blocks are invisible. They become visible again after relogging.
The weird thing though is, that the spawner minecart doesn't drop blocks below the floor when it is at an exact coordinate. (In the command it said: ~ ~6 ~.1 If you replace the .1 with a 1 it doesn't spawn blocks below the floor, but it still does spawn above the block the spawner minecart is in.)
How to reproduce
- Use the following command
/setblock ~ ~4 ~ spawner{SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{entity: {id: "minecraft:armor_stand", NoGravity:1b}},SpawnCount:1s} destroy→ All armor stands are spawned at the same x and y position because SpawnRange is 0, but their y position varies
Code analysis
Code analysis by Marcono1234 can be found in this comment.

Is this still a concern in the latest Minecraft version 13w48b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Yes, this bug does still occur in version 13w48b.
Is this still a concern in the latest Minecraft version 14w03b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Yes, in fact, the bug become worse, besides a spawnerminecart, the commandblock now also summons a fake Pig.
As you can see, redstoneblocks were spawned underneath the platform. They also got spawned in and above the minecart but you can't see those, because of another bug causing the spawned blocks to be invisible. As well as that, you can also see a fake pig, it will disappear after relogging. Reloggin will also make the other redstoneblocks visible, and it will fix the fake hole that the minecart created.
Spawners are supposed to spawn entities in range you gave, SpawnRange only affects the x and z range. This works as intended, Not sure about the pig though.
Can you change the up- and downwards spawnrange of spawners? And if so, how?
There is a new bug that prevents this bug from being tested; if you spawn in the spawnerminecart, minecraft crashes.
Confirmed for
Confirmed for
The reason for that is that the height is not affected by the SpawnRange:
(I hope it is alright that I added this code snippet)
var8 seems to be the y coordinate for the entity to spawn, var1 is the position of the mob spawner.
.rand.nextInt(3) means a random integer between 0 and 2 (see Java - Random)
This means that is always spawns the entity either one block above, at the same position or one block below the spawner.
Where 1 represents the random value between -1 and 1
Confirmed for
Confirmed in 1.15.2 and 20w22a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Video attached.
Affects 21w18a
I can reproduce this in 1.20.4 and 24w07a with the following command:
/setblock ~ ~4 ~ spawner{SpawnRange:0s,MinSpawnDelay:3s,MaxSpawnDelay:3s,SpawnData:{entity: {id: "minecraft:armor_stand", NoGravity:1b}},SpawnCount:1s} destroy