11
Hi Guys,
Welcome to the PMC official thread for summon, setblock, blockdata, and other commands. Here you can, ask for help with these, and show of your creations with these commands.
These commands are very powerful, but are also fairly complicated. To get you started, I've included links to helpful pages, and some specific info on the setblock command.
Set Block Structure
/setblock x y z block data method dataTag
x y z are the coordinates of the block
Block is the TileID of the block (includes id:0 now!)
Data is the block data (i.e. 5:1 spruce wood)
Method is one of three things: keep, replace, or delete
-Keep spawns the block at the coordinates.
-Replace replaces the block at the coordinates with the block ID.
-Delete removes the block at the coordinates and then spawns the new one in
dataTag is tile entity data.
Links
Here are some very useful links. Thanks to poltercreeper, Spellguard, Myself, sigurd4, and Deathassassin05, for finding them.
http://www.reddit.com/r/Minecraft/comments/1lsesa/how_to_use_the_summon_command/
http://www.minecraftforum.net/topic/1968152-summon-command-in-13w36a/
http://www.minecraftwiki.net/wiki/Chunk_format#Entity_Format
http://www.minecraftwiki.net/wiki/Command_NBT_Tags
http://minecraft.gamepedia.com/Commands#Data_tags
http://www.minecraftforum.net/topic/1969520-17-using-summon-give-datatags-in-map-making-tutorials/
http://www.minecraftforum.net/topic/2284813-14w02b-blockdata-e-and-updated-commands/
http://www.planetminecraft.com/blog/command-blog-blockdata-candestroy-and-e/
MCEdit
For those that use MCEdit, here's some great filters that make it much easier:
http://sethbling.com/downloads/mcedit-filters/setblockstructure/
http://www.youtube.com/watch?v=gd74GNoA3Yg
Posting
To post your creations, simply copy and paste the whole text of the command, or commands. Then describe what it does. If it is more complex include instructions, and maybe pictures, of how to use it.
Thanks for reading, and I look forward to seeing some pretty cool custom mobs, and other stuff.
Welcome to the PMC official thread for summon, setblock, blockdata, and other commands. Here you can, ask for help with these, and show of your creations with these commands.
These commands are very powerful, but are also fairly complicated. To get you started, I've included links to helpful pages, and some specific info on the setblock command.
Set Block Structure
/setblock x y z block data method dataTag
x y z are the coordinates of the block
Block is the TileID of the block (includes id:0 now!)
Data is the block data (i.e. 5:1 spruce wood)
Method is one of three things: keep, replace, or delete
-Keep spawns the block at the coordinates.
-Replace replaces the block at the coordinates with the block ID.
-Delete removes the block at the coordinates and then spawns the new one in
dataTag is tile entity data.
Links
Here are some very useful links. Thanks to poltercreeper, Spellguard, Myself, sigurd4, and Deathassassin05, for finding them.
http://www.reddit.com/r/Minecraft/comments/1lsesa/how_to_use_the_summon_command/
http://www.minecraftforum.net/topic/1968152-summon-command-in-13w36a/
http://www.minecraftwiki.net/wiki/Chunk_format#Entity_Format
http://www.minecraftwiki.net/wiki/Command_NBT_Tags
http://minecraft.gamepedia.com/Commands#Data_tags
http://www.minecraftforum.net/topic/1969520-17-using-summon-give-datatags-in-map-making-tutorials/
http://www.minecraftforum.net/topic/2284813-14w02b-blockdata-e-and-updated-commands/
http://www.planetminecraft.com/blog/command-blog-blockdata-candestroy-and-e/
MCEdit
For those that use MCEdit, here's some great filters that make it much easier:
http://sethbling.com/downloads/mcedit-filters/setblockstructure/
http://www.youtube.com/watch?v=gd74GNoA3Yg
Posting
To post your creations, simply copy and paste the whole text of the command, or commands. Then describe what it does. If it is more complex include instructions, and maybe pictures, of how to use it.
Thanks for reading, and I look forward to seeing some pretty cool custom mobs, and other stuff.
Create an account or sign in to comment.
542
1
I'm not sure that anyone has been able to actually spawn blocks yet..
All I can do is change block meta data (change white wool to black)..
Have you seen anyone actually spawning blocks?
All I can do is change block meta data (change white wool to black)..
Have you seen anyone actually spawning blocks?
1
I was testing this a bit, and the block that spawned disappeared almost immediately. However, I think there might be a way to fix this, as I'm pretty sure it's just part of the blocks data. I'll see what I can do.
1
Well, I just watched SethBling's video, and he clearly demonstrates how to do it.
http://www.youtube.com/watch?v=FWWuVHdF1JQ&feature=em-uploademail
Well, I am just learning the new techniques too, but do a search on google, you should be able to find it there.
http://www.youtube.com/watch?v=FWWuVHdF1JQ&feature=em-uploademail
poltercreepergus1234567890I'm not sure that anyone has been able to actually spawn blocks yet..
All I can do is change block meta data (change white wool to black)..
Have you seen anyone actually spawning blocks?
i saw sethbling do it by changing the time data to anything over 0
EDIT: You have to do it as a falling sand, it has to be done by a command block, and the time data has to be over 0, hope this helps, also, can someone help me with learning the new nbt data tags, ive never really worked with nbt before, and it lucky I could figure this out
Well, I am just learning the new techniques too, but do a search on google, you should be able to find it there.
1
i saw sethbling do it by changing the time data to anything over 0
EDIT: You have to do it as a falling sand, it has to be done by a command block, and the time data has to be over 0, hope this helps, also, can someone help me with learning the new nbt data tags, ive never really worked with nbt before, and it lucky I could figure this out
EDIT: You have to do it as a falling sand, it has to be done by a command block, and the time data has to be over 0, hope this helps, also, can someone help me with learning the new nbt data tags, ive never really worked with nbt before, and it lucky I could figure this out
1
i am making a whole map that uses the mechanic of spawning blocks.
command:
/setblock x y z ID
command:
/setblock x y z ID
1
you do realize that post was made back when /summon had just came out
1
/summon EnderCrystal ~ ~ ~ {Riding:{id:Bat}}
Target practise!
/summon Creeper ~ ~ ~ {ExplosionRadius:100,Fuse:30,Riding:{id:Spider}}
Super creepers riding spiders. (These guys have really big explosions. Use with caution)
Is there any way to add attributes using this?
Target practise!
/summon Creeper ~ ~ ~ {ExplosionRadius:100,Fuse:30,Riding:{id:Spider}}
Super creepers riding spiders. (These guys have really big explosions. Use with caution)
Is there any way to add attributes using this?
1
Haha, thanks for the code, I'll use this.
1
Osca32
Is there any way to add attributes using this?
There is for armour, tools and weapons, just by enchanting them, im not to sure about the command for it though
1
This is a little bit off topic, but can you summon a mob riding an Ender Dragon? I know you can summon jockeys, but can you summon Ender Dragon jockeys? I don't have the 1.7 snapshot, yet, so I can't test it.
1
yes you could, you would use the data tag {Riding:{ID:EnderDragon}}
1
Dear mercy, what has Jeb allowed to be created!?
*imagines creepers with thousand block explosion radii and one-tenth of a second fuses riding an Ender Dragon*
*imagines creepers with thousand block explosion radii and one-tenth of a second fuses riding an Ender Dragon*
1
Lol. Only problem with that, is that the creepers might kill the enderdragon with their explosion. XD
1
They would kill it in an instant.
1
ok, im starting to figure this out, but i tried to make a villager with custom trades, and my minecraft crashed when i tried to trade with my glitch of a villager, can someone help me figure out how to use the summon command to spawn villagers with custom trades.
Edit: figued it out and found an awsome reddit page with lots of info on this: http://www.reddit.com/r/Minecraft/comments/1lsesa/how_to_use_the_summon_command/
Edit: figued it out and found an awsome reddit page with lots of info on this: http://www.reddit.com/r/Minecraft/comments/1lsesa/how_to_use_the_summon_command/
1
/summon PrimedTnt ~ ~ ~ {Fuse:30}
(30 can be any number, of course. Without the fuse data tag, it will explode instantly.)
/summon EyeOfEnderSignal
The eye of ender flies off quickly.
(30 can be any number, of course. Without the fuse data tag, it will explode instantly.)
/summon EyeOfEnderSignal
The eye of ender flies off quickly.
1
Yeah, I thought it might be the time but wasn't sure how to change it.. Thanks
Does anyone know how to change the Velocity of falling sand entities (either x, y or z) ? I think it has something to do with motion tag, but I'm not sure what to type in the command block..
Does anyone know how to change the Velocity of falling sand entities (either x, y or z) ? I think it has something to do with motion tag, but I'm not sure what to type in the command block..
1
I think I can Figure this out, I'll edit this post when I find the answer.
Edit: not entirely sure, but i think its this: {Motion:{dX:(velocity in the x direction),dY:(velocity in the y direction),dZ:(velocity in the z direction)}} be careful though, i messed up spawning a custom villager and crashed my minecraft, might happen if this is wrong too.
Edit: not entirely sure, but i think its this: {Motion:{dX:(velocity in the x direction),dY:(velocity in the y direction),dZ:(velocity in the z direction)}} be careful though, i messed up spawning a custom villager and crashed my minecraft, might happen if this is wrong too.
1
I've worked out how to spawn items..
/summon Item ~ ~ ~ {Item:{id:388, Count:5}}
^^Btw that's for spawning 5 emeralds..
/summon Item ~ ~ ~ {Item:{id:388, Count:5}}
^^Btw that's for spawning 5 emeralds..
1
Adding on to that: Setting the count to 128 on any item let's you have infinite if it's an item that places a block, (Such as redstone) or if it's a block itself. (So you cannot really have infinite materials from the single stack. Of course, you could if it's a block such as Diamond.)
Dropping the item and picking it back up will leave a clone of the dropped item.
Note: Collecting a normal stack of blocks, and maybe non-block items, will remove how you have an infinite stack with no number, so you will need to collect an infinite stack again.
Dropping the item and picking it back up will leave a clone of the dropped item.
Note: Collecting a normal stack of blocks, and maybe non-block items, will remove how you have an infinite stack with no number, so you will need to collect an infinite stack again.
1
Found out the basics of summoning a mob spawner, you do this:
/Summon FallingSand {TileID:52,TileEntityData:{EntityId:(block/mob id of what you are trying to spawn)},Time:(any number over 0, i use 60)}
/Summon FallingSand {TileID:52,TileEntityData:{EntityId:(block/mob id of what you are trying to spawn)},Time:(any number over 0, i use 60)}
1
Love this command. Spent yesterday making Villagers ride zombies. They make a good team xD
1
Here's a link that should provide insight to those wondering:
http://www.minecraftwiki.net/wiki/Chunk_format#Entity_Format
This is the Minecraft Wiki page on the NBT format for Chunks, Entities, and TileEntities.
It contains all the possible tags for every entity spawnable with the /summon command.
It also contains the data used with tile entities (i.e. chests, furnaces, spawners, comparators, etc.) so you could spawn them in with /summon
As far as creations go, you can literally do anything possible with custom spawners before.
(Actually, I haven't figured out how to flat-out delete a block; I've been able to change blocks into other blocks but not just delete say, a diamond ore.)
I've made creepers that explode instantly (scary), flying creepers that explode instantly, pretty diabolical zombies with full diamond enchants, and my favorite: minecarts that display blocks in them (used to be pretty difficult to do, now it isn't)
Only thing I haven't gotten yet is how to set motion data for entities. I would love to be able to remotely spawn in a projectile like an arrow and have it fly forwards.
http://www.minecraftwiki.net/wiki/Chunk_format#Entity_Format
This is the Minecraft Wiki page on the NBT format for Chunks, Entities, and TileEntities.
It contains all the possible tags for every entity spawnable with the /summon command.
It also contains the data used with tile entities (i.e. chests, furnaces, spawners, comparators, etc.) so you could spawn them in with /summon
As far as creations go, you can literally do anything possible with custom spawners before.
(Actually, I haven't figured out how to flat-out delete a block; I've been able to change blocks into other blocks but not just delete say, a diamond ore.)
I've made creepers that explode instantly (scary), flying creepers that explode instantly, pretty diabolical zombies with full diamond enchants, and my favorite: minecarts that display blocks in them (used to be pretty difficult to do, now it isn't)
Only thing I haven't gotten yet is how to set motion data for entities. I would love to be able to remotely spawn in a projectile like an arrow and have it fly forwards.
1
yep, ive been using that page, it is really helpful
1
My problem is adding a basically unusable trade (block id 34, a mechanical piston block) at the end of the villagers trading list. When I mouse over the piston block in the villager's trade menu, the game crashes.
EDIT: Don't f- up your custom villagers. You'll break the world.
Each trade needs to have a MaxUses value, apparently
EDIT: Don't f- up your custom villagers. You'll break the world.
Each trade needs to have a MaxUses value, apparently
1
Here's how to set motion on summoned entities (I'm betting someone else on the interwebz has already):
/summon Arrow ~ ~ ~ {Motion:[x.0, y.0, z.0]}
Notice the [] brackets.
The x, y, and z numbers are the distance/ velocity per tick the arrow travels, but they must always be inputted as decimals. (0.0, 1.0, 0.0) makes the arrow fly upwards for a few blocks.
It does not take a huge number to have an arrow fly a large distance, or any entity.
/summon Arrow ~ ~ ~ {Motion:[x.0, y.0, z.0]}
Notice the [] brackets.
The x, y, and z numbers are the distance/ velocity per tick the arrow travels, but they must always be inputted as decimals. (0.0, 1.0, 0.0) makes the arrow fly upwards for a few blocks.
It does not take a huge number to have an arrow fly a large distance, or any entity.
1
I Made a instant house in vanilla minecraft !!! NO Programs or mods used 100% in vanilla using the /summon command with falling sand entities http://www.youtube.com/watch?v=7fmC2AgcPyE
1
and to imagine just a week ago you would need mcedit for that
1
And now you can use /setblock
1
yep times are changing , now you can even change whats in a chest in the house without destroying the block though the /blockdata command
1
i dont have the snapshot but ender dragon with minecart on top!
1
I love this new command! But does anyone know if it's possible to give whatever you summon armor or weapons? Because I'm working on multiple adventure maps and I need armor and weapons on certain mobs.
1
Yup, it's possible!
http://www.minecraftwiki.net/wiki/Chunk_format#Entity_Format
Look under the Mobs section
It would be formatted like this:
/summon Zombie ~ ~ ~ {Equipment:[{id=276},{id=313},{id=312},{id=311},{id=310}]}
^ ^ ^ ^ ^
Item Feet Legs Chest Helmet (Order of the ids of the compoun tags)
That command spawns a diamond armor equipped zombie with a diamond sword. Change the id #'s to whatever you want
http://www.minecraftwiki.net/wiki/Chunk_format#Entity_Format
Look under the Mobs section
It would be formatted like this:
/summon Zombie ~ ~ ~ {Equipment:[{id=276},{id=313},{id=312},{id=311},{id=310}]}
^ ^ ^ ^ ^
Item Feet Legs Chest Helmet (Order of the ids of the compoun tags)
That command spawns a diamond armor equipped zombie with a diamond sword. Change the id #'s to whatever you want
1
Has anyone found out how to enchant armour, etc?
1
http://www.minecraftwiki.net/wiki/Player.dat_Format#Item_structure
This is the item tag structure. Look under enchantments.
Here's an example with /summon
/summon Item ~ ~ ~ {Item:{id:311,Count:1,tag:{ench:[{id:0,lvl:1}]}}}
This would summon a diamond chestplate with protection 1 on it.
You can change the enchantments under the ench[] list, and add more that one enchantment. Item names and Lore are also possible
/summon Item ~ ~ ~ {Item:{id:311,Count:1,tag:{display{Name:Battle Gear,Lore:[{It's ready for battle!}]}}}}
This is the item tag structure. Look under enchantments.
Here's an example with /summon
/summon Item ~ ~ ~ {Item:{id:311,Count:1,tag:{ench:[{id:0,lvl:1}]}}}
This would summon a diamond chestplate with protection 1 on it.
You can change the enchantments under the ench[] list, and add more that one enchantment. Item names and Lore are also possible
/summon Item ~ ~ ~ {Item:{id:311,Count:1,tag:{display{Name:Battle Gear,Lore:[{It's ready for battle!}]}}}}
1
this isn't really something special, its more of a bug, if you do the command
/summon PigZombie ~ ~ ~ {Riding: {Id: Giant}}
your zombie pigman will have no sword.
/summon PigZombie ~ ~ ~ {Riding: {Id: Giant}}
your zombie pigman will have no sword.
1
That's due to the fact that the game ONLY spawns the Mob, not the Equipment they are often seen with.
Something I did is:
/summon Giant X Y Z {Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding{id:Enderdragon,riding:id:Wolf}}}}}}}}}}}
Spawns a Giant on a Bunch of Ender Crystals on an Ender Dragon's back, riding a Wolf.
1. Tame wolf.
2. ???
3. Profit!
But you probably need to put it in a Command Block, so do /give @p 137.
Something I did is:
/summon Giant X Y Z {Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding:{id:EnderCrystal,Riding{id:Enderdragon,riding:id:Wolf}}}}}}}}}}}
Spawns a Giant on a Bunch of Ender Crystals on an Ender Dragon's back, riding a Wolf.
1. Tame wolf.
2. ???
3. Profit!
But you probably need to put it in a Command Block, so do /give @p 137.
1
he won't chase you either now thats a real Zistonian
how 'bout a name we need to give him a name maybe Zisteau?
/summon PigZombie ~ ~ ~ {ActiveEffects:[{Id:5,Duration:999999,Amplifier:2}],CustomNameVisible:1,CustomName:"Zisteau",Riding: {Id: Giant}}
how 'bout a name we need to give him a name maybe Zisteau?
/summon PigZombie ~ ~ ~ {ActiveEffects:[{Id:5,Duration:999999,Amplifier:2}],CustomNameVisible:1,CustomName:"Zisteau",Riding: {Id: Giant}}
1
Looking awesome so far guys, thank you for all the great links, and commands. And just a note, I'm going to turn this thread into a "summon command" help thread, not just sharing. I figure it will be even better this way.
I haven't done too much with it yet, but here's a quick one I did.
/summon Ghast ~ ~ ~ {Riding: {Id: Giant}}
Lol, it's like a hat for the giant. XD
I haven't done too much with it yet, but here's a quick one I did.
/summon Ghast ~ ~ ~ {Riding: {Id: Giant}}
Lol, it's like a hat for the giant. XD
1
How do you make a block/fallingSand entity replace a block?
1
I'm pretty sure, you have the falling sand block, spawn directly within the block you want to replace. And just don't change the time data thingy of it, from the default of the summon command. So normally, it would just disappear immediately, but this shouldn't, if it is inside a block.
1
You need two command blocks to do this, activated at the same time
/summon FallingSand ~ ~ ~ {TileID:blockID,Time:0,DropItem:0}
and
/summon FallingSand ~ ~ ~ {TileID:newBlock,Time:1,DropItem:0}
where the ~ ~ ~ is the coordinates of the block
blockID= the ID of the block you want to replace
newBlock= the block that will take the place of the old one
You could have another two command blocks that can reverse this effect, just by switching the two TileID's
/summon FallingSand ~ ~ ~ {TileID:blockID,Time:0,DropItem:0}
and
/summon FallingSand ~ ~ ~ {TileID:newBlock,Time:1,DropItem:0}
where the ~ ~ ~ is the coordinates of the block
blockID= the ID of the block you want to replace
newBlock= the block that will take the place of the old one
You could have another two command blocks that can reverse this effect, just by switching the two TileID's
1
Any ideas for minigames I could make featuring the /summon command?
1
Hmmm, maybe you could make a pvp map, where players have to try and trap their opponent, in falling sand. Have two large boxes, with pressure plates, that trigger falling on the other one, or something. XD
1
you could make a mob arena with custom-spawned mobs, like a zombie in full diamond armor and a diamond hoe (idk why, just sounds funny)
1
hey so i'm using a /summon PrimedTnt command for a "magic wall" on an adventure map of mine any1 know how to set a delay?
1
Yes, just use this: /summon PrimedTnt ~ ~ ~ {Fuse:30}
Then change the fuse to whatever you need it to be.
Then change the fuse to whatever you need it to be.
1
And those guys who hated 1.7 -.- THIS IS FREAKING EPIC!
1
agreed
1
Yeah, this is the best thing, since they added the command block.
view more replies ( 247 )