2 thoughts on “Custom Mob Spawners with setblock and summon command Tutorial in minecraft – YouTube

  • October 25, 2015 at 9:11 pm
    Permalink

    I am trying to create a ‘map’ for my brothers, nieces & nephews. I got to the last section and can’t figure out the code for the last section. This is what I want, except I want the mob to spawn automatically at given intervals when players get close to the spawner the command block creates.

    /summon Villager 255 69 53 {Offers:{Recipes:[{buy:{id:388,Count:1},sell:{id:35,Count:10,Damage:14}}]},Riding:{id:Zombie,Riding:{id:Skeleton,DropChances:[1.0f,1.0f,1.0f,1.0f,0f],Eq­uipment:[{id:261,Count:1,Damage:3},{id:384,Count:2},{id:262,Count:3},{id:384,Count:2}]­}}}

    I can’t seem to do this using /setblock is there any help? I have tried so many variations: Here’s what I currently have:
    /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId: Villager,SpawnData:{Pos:[332.5,60.5,73.5],{Offers:{Recipes:[{buy:{id:388,Count:1},sell:{id:35,Count:10,Damage:14}]}},Riding:{id:Zombie,Riding:{id:Skeleton,DropChances:[1.0f,1.0f,1.0f,1.0f,0f],Equipment:[{id:261,Count:1,Damage:3},{id:384,Count:2},{id:262,Count:3},{id:384,Count:2}]}}}
    ,SpawnCount:1,SpawnRange:3,RequiredPlayerRange:24,Delay:10,MinSpawnDelay:10,MaxSpawnDelay:100,MaxNearbyEntities:50}

Leave a Reply