SpawnData and SpawnPotentials doesn't work with /give
SpawnData and SpawnPotentials doesn't work with /give.
- Use the following command to generate camel monster spawner:
/setblock ~ ~1 ~ minecraft:spawner{MaxNearbyEntities: 6s, RequiredPlayerRange: 16s, SpawnCount: 4s, SpawnData: {entity: {id: "minecraft:camel"}}, MaxSpawnDelay: 800s, Delay: 719s, x: 61, y: 67, z: -4, id: "minecraft:mob_spawner", SpawnRange: 4s, MinSpawnDelay: 200s, SpawnPotentials: [{data: {entity: {id: "minecraft:camel"}}, weight: 1}]} destroy - Notice that it works.
- However, it will not works if the monster spawner is given with the following command:
/give @p minecraft:spawner{MaxNearbyEntities: 6s, RequiredPlayerRange: 16s, SpawnCount: 4s, SpawnData: {entity: {id: "minecraft:camel"}}, MaxSpawnDelay: 800s, Delay: 719s, x: 61, y: 67, z: -4, id: "minecraft:mob_spawner", SpawnRange: 4s, MinSpawnDelay: 200s, SpawnPotentials: [{data: {entity: {id: "minecraft:camel"}}, weight: 1}]} 1
2022-11-08, 06:19 AM
2022-11-08, 07:57 AM
2022-11-08, 07:55 AM
0
1
-