-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.8.7
-
None
-
Unconfirmed
1. Spawner's NBT SpawnerPotentials doesn't overwrite EntityId.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 destroy {EntityId:"Zombie", SpawnCount:2, Delay:0, SpawnRange:20, MaxNearbyEntities:5, MinSpawnDelay:0, MaxSpawnDelay:0,RequiredPlayerRange:40,SpawnPotentials:[{Type:PigZombie,Weight:100}]}
This code doesn't spawn any entities.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 destroy {EntityId:"PigZombie", SpawnCount:2, Delay:0, SpawnRange:20, MaxNearbyEntities:5, MinSpawnDelay:0, MaxSpawnDelay:0,RequiredPlayerRange:40,SpawnPotentials:[{Type:PigZombie,Weight:100}]}
But this code works.
2. Spawner cannot spawn multiple different entities.
This problem is related to Problem 1.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 destroy {EntityId:"Zombie", SpawnCount:1, Delay:0, SpawnRange:20, MaxNearbyEntities:5, MinSpawnDelay:0, MaxSpawnDelay:0, RequiredPlayerRange:40,SpawnPotentials:[ {Type:PigZombie,Weight:100,Properties:{CustomName:"AI_Lv1", DropChances:[1.0f,0.0f,0.0f,0.0f,0.0f],Equipment:[{id:"minecraft:iron_sword",Count:1b,tag:{display:{Name:"AI Lv.1의 검"}}}]}}, {Type:Zombie,Weight:100,Properties:{CustomName:"AI_Lv1", DropChances:[1.0f,0.0f,0.0f,0.0f,0.0f],Equipment:[{id:"minecraft:iron_sword",Count:1b,tag:{display:{Name:"AI Lv.1의 검"}}}]}}]}
Not work.