1
Skyvival Troubles - Please Help Me!
So I'm making a custom survival map, and I want to have zombies spawn from spawners and have dirt in their hand (they need to drop 1-4) How do I do this with command blocks? Or even at all?
Create an account or sign in to comment.
13
Map Finished: here is the download link: http://www.planetminecraft.com/project/ ... -survival/
Please guys I've really worked hard to get this far, I've looked and can't find anything. Please help!
Maybe, instead of spawners, you could set up a command block system that summons dirt blocks whenever a zombie is killed.
Update: I got this Command
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Pos:[],DirtZombie:1,Equipment:[{},{},{},{Count:1,id:1},{minecraft:dirt}]},SpawnCount:3,SpawnRange:3,MinSpawnDelay:10,MaxSpawnDelay:10,MaxNearbyEntities:5,RequiredPlayerRange:8,DropChances:[0.0F,0.0F,0.0F,4.0F,0.0F]}
And it sets the spawner with the command to drop 4 dirt each zombie kill. But they won't spawn. How do I get them to spawn?
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Pos:[],DirtZombie:1,Equipment:[{},{},{},{Count:1,id:1},{minecraft:dirt}]},SpawnCount:3,SpawnRange:3,MinSpawnDelay:10,MaxSpawnDelay:10,MaxNearbyEntities:5,RequiredPlayerRange:8,DropChances:[0.0F,0.0F,0.0F,4.0F,0.0F]}
And it sets the spawner with the command to drop 4 dirt each zombie kill. But they won't spawn. How do I get them to spawn?
Okay, so I've got this so far and it spawns the Zombie with the Dirt Entity in hand,
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:3,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:0,Count:1}]}}]}
But how do I get it so the zombie drops 1-4 dirt?
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:3,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:0,Count:1}]}}]}
But how do I get it so the zombie drops 1-4 dirt?
Okay, to specify a little bit better. What I'm trying to do is have a Zombie spawner, and the zombie spawns it displays the dirt in its hand-- so you know the zombie is a Dirt Zombie. Upon the death of that zombie I want it to drop 1-4 pieces of dirt.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:3,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:0,Count:1}]}}]}
That is what I have so far. So please tell me what I need to change or add to that command to get the zombie to drop 1-4 pieces of dirt.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:3,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:0,Count:1}]}}]}
That is what I have so far. So please tell me what I need to change or add to that command to get the zombie to drop 1-4 pieces of dirt.
For mob spawners: https://www.youtube.com/watch?v=TKqhUGLKRo4
Here, this guy talks about custom drops and I think he has the command you want:
https://www.youtube.com/watch?v=_94kO_o9Gjg
The base command he uses is /summon Skeleton ~ ~1 ~ {DropChances:[1.0f,1.0f,1.0f,1.0f,0f],Equipment:[{id:137,Count:1},{id:404,Count:1},{id:331,Count:2},{id:154,Count:2},{Damage:3,id:397,tag:{SkullOwner:dragnoz}}]}
of course, you'll need to customize it to get what you need. Hopefully this helps.
If it doesn't, I'll do some more digging.
https://www.youtube.com/watch?v=_94kO_o9Gjg
The base command he uses is /summon Skeleton ~ ~1 ~ {DropChances:[1.0f,1.0f,1.0f,1.0f,0f],Equipment:[{id:137,Count:1},{id:404,Count:1},{id:331,Count:2},{id:154,Count:2},{Damage:3,id:397,tag:{SkullOwner:dragnoz}}]}
of course, you'll need to customize it to get what you need. Hopefully this helps.
If it doesn't, I'll do some more digging.
Okay, so I've got this so far and it spawns the Zombie with the Dirt Entity in hand,
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:3,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:0,Count:1}]}}]}
But how do I get it so the zombie drops 1-4 dirt?
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,SpawnData:{Equipment:[{id:3,Count:1}]},SpawnPotentials:[{Type:Zombie,Weight:1,Properties:{Equipment:[{},{},{},{},{id:0,Count:1}]}}]}
But how do I get it so the zombie drops 1-4 dirt?
I'm on 1.8.3 and I'm trying to make a Vanilla minecraft map. No mods ;-;
um also you dont do it in your inventory do it on the side of a block you want the spawner to be and also DON'T click the button saying command because it can crash the game hopefully this actually helps and made sense
oh are you using 1.7.10? if you are try using the All-U-Want mod its by mister_person on Minecraft Forums i can post a link to it k if it doesnt remove it lol http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288788-all-u-want-create-and-edit-items-entities-spawners
Not really sure about that on single player. Maybe my reply will bump it so someone who's more knowledgeable will know?