The data tag is in the squiggly brackets followed immediately by a colon and after that, either something in speech marks ("") known as a "String" in Java and for other numbers, same but with no speech marks.
/summon Cow ~ ~ ~ {Riding:{id:"Giant"}}
Makes a cow riding a giant! Maybe you can change the attributes of mobs with this too.
A float tag and a double tag are basically decimals. These are used in things like Fireball summoning.
Long time, no hear :3 I found something that may be some use for this thread...
I figured out how out how to summon chests with items in them. /summon FallingSand ~ ~1 ~{TileID:54,Time:1,TileEntityData:{Items:[{id:316,Slot:0,Count:1},{id:364,Slot:1,Count:32}]}} Purple partsmay vary (316 is Gold Leggings and 364 are steak) "Time:1" is important and that is why it is red, if you want the chest summoned than the tag's digit should be 1 or higher. If you want the chest's items replaced than the tag's digits should be 0.9. Putting it at 0 will cause the items inside the chest to fly out in different directions. id: - Item ID (eg. 1 = stone, 2 = grass, 3 = dirt, etc.) Slot: - What item slot you want to place the item in. No item can be in the same slot. (0 is first slot) Count: - Amount you want stacked. (If put at 0, item will despawn as soon as you use it)
I didn't see this anywhere on the post so if you would like to add it, go ahead (:
I'm trying to make a customized version of Creeper Dungeon by Hypixel in 1.7.4.
I need it to switch from Creepers_Killed (totalKillCount) and You're_Deaths (totalDeathCount I tink)
on the sidebar frequently. I have the repeaters in a square (not important) and the redstone signals hit the command blocks,
and the command blocks (both) say /scoreboard objectives setdisplay Creepers_Killed/You're_Deaths so when CK (Creeps Killed) CB (Command Block) gets hit by redstone the sidebar will say CK and same with the You're Deaths. But it isn't working.
im making a parkour map and i want to make it to where when the player enters an area they will be teleported into the void thereby killing them and then they will be teleported somewhere else. i know how to teleport them into the void when they enter an area. i was just wondering how can i target that same player and teleport them somewhere else after he respawns.
Um, the points shop doesn't work... I have everything exactly how you have it and i get the "Player cannout be found" as the variable of [score_Energy_min=2] apparantly isn't accurate, even though its the same syyntax you used. I have an objective of "Energy" and you can tell by the sidebar. Any solution?
im making a parkour map and i want to make it to where when the player enters an area they will be teleported into the void thereby killing them and then they will be teleported somewhere else. i know how to teleport them into the void when they enter an area. i was just wondering how can i target that same player and teleport them somewhere else after he respawns.
You can do that by using the new /testfor @e, which tests for an entity in the area.
I am unable to currently use Minecraft, so I'll need in-depth tutorials on all the new commands, along with multiple examples. Thank you FireArceus64 for the Custom Potions. I will be adding it to the OP and give credit.
GGoldMile and Crafted_Gaming, if you are able to provide me with more in-depth descriptions, I will add these to the OP also. I'll also need some in-depth info on dataTags, if anyone could provide.
Does this include the 1.8 commands? I would like to make a protected respawning arena/dungeon/pvp arena using command blocks and the new commands.
Recently released commands have not yet been posted. Maybe try using the wiki, or find some a little more knowledgeable of the new commands than I am. Sorry I am unable to help.
The Meaning of Life, the Universe, and Everything.
Join Date:
9/16/2011
Posts:
63
Minecraft:
Soul_Lighter
Member Details
Is there a possibility that i can use a Command Block to instant grow my wheat field? Testing out different Semi-auto wheat field designs at a large scale.
I remember seeing somewhere (probably reddit) that you could use command blocks to stop people from entering certain areas with specific items (swords, flint and steel, tnt, the likes). How would I go about doing this?
I want to ask something that i'm trying to do and don't have any idea. It would be great if you can help me.
I have a PVP server which is a small server.
I want a button. When activated i want that button to give a potion effect to everyone except the one who pushed.
I tried commands like "effect [effect id] [effect duration] @a - @p" but it didn't worked.
I want to ask something that i'm trying to do and don't have any idea. It would be great if you can help me.
I have a PVP server which is a small server.
I want a button. When activated i want that button to give a potion effect to everyone except the one who pushed.
I tried commands like "effect [effect id] [effect duration] @a - @p" but it didn't worked.
I'm sure it is pretty simple,
Thanks in advance.
You cannot achieve this in one command, you will have to use at least two.
When the button is pushed the redstone signal should go to a command block with:
/effect @a [effect id] [effect duration]
Then into a second command with:
/effect @p[x=?,y=?,z=?,r=4] [effect id] 0
Replace the question marks with the coordinates of your button.
I remember seeing somewhere (probably reddit) that you could use command blocks to stop people from entering certain areas with specific items (swords, flint and steel, tnt, the likes). How would I go about doing this?
Probably the most reliable way of achieving this is with scoreboards.
Have a command block connected to a clock with the command:
/clear @p[x=?,y=?,z=?,r=?] [item] 0
Have a comparator run out of that command block and into a block (any solid block) with a redstone torch on the other side. Directly adjacent to this torch place to hoppers facing each other with an item inside. Put a comparator on the other side of the hopper and have that comparator run into a command block with the command:
/tp @p{x=?,y=?,z=?,r=?} X Y Z
Replace the first set of coordinates with the area you want to keep the player out of, and the second with where you want to tp the player to.
NOTE: This will only work in the newest snapshots as the /clear command will not work properly in 1.7.4.
Is there a possibility that i can use a Command Block to instant grow my wheat field? Testing out different Semi-auto wheat field designs at a large scale.
The latest snapshot (14w05b) includes a new command: /fill this will fill a specified area with a certain block.
Giving Items
For many versions mapmakers had to use dispensers and large amounts of redstone wiring to give a player equipment. Minecraft 1.4.2 changed everything.
/give works on a few basic arguments: Who you give the item to, what the item is, how many of the item to give, what damage value the item has and further datatags. Like this:
This will give the closest player one stone block. You don't have to target the closest player, @a will give ALL players one stone, @r will give a RANDOM player one stone. The next bit says "minecraft:stone" since a recent update you no longer have to use the numerical id's for items/blocks and it has been stated that numerical id's will not be supported in the future. For a list of items and their values, go HERE. Following that is the item count, you can make this number as large as you like. After the count is the damage value, some items aren't affected by damage values while others depend on it. Here's another /give example.
give @p minecraft:potion 64 16428
This command will give you a stack of "Splash potion of Harming". Potions are one of the most common items to be associated with damage values. For a more in-depth tutorial on custom potions, go HERE.
Following the damage value is where mapmakers/redstoners shine, data tags. I won't go into those too much other than give an example of what you can do with them.
give @p 279 1 0 {display:{Name:Destroyer,Lore:[I am Tank! Conqueror of Worlds]},ench:[{id:16,lvl:2},{id:17,lvl:5},{id:18,lvl:5},{id:34,lvl:10}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:1.0,AttributeName:generic.movementSpeed,Name:whee}]}
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Makes an invincible cow.
The data tag is in the squiggly brackets followed immediately by a colon and after that, either something in speech marks ("") known as a "String" in Java and for other numbers, same but with no speech marks.
/summon Cow ~ ~ ~ {Riding:{id:"Giant"}}
Makes a cow riding a giant! Maybe you can change the attributes of mobs with this too.
A float tag and a double tag are basically decimals. These are used in things like Fireball summoning.
/summon Fireball ~ ~ ~ {direction:[0.0,0.0,0.0]}
The 0.0 numbers are floats or doubles in Java
/summon Cow ~ ~ ~ {Riding:{id:"Cow", Riding:{id:"Cow", Riding:{id:"Cow"}}}}
Summons 4 cows on top of each other.
You see, the part in the Riding tag is the Data Tags for the mob it's on top of.
Edit: I am good with commands
I found something that may be some use for this thread...
I figured out how out how to summon chests with items in them.
/summon FallingSand ~ ~1 ~ {TileID:54,Time:1,TileEntityData:{Items:[{id:316,Slot:0,Count:1},{id:364,Slot:1,Count:32}]}}
Purple parts may vary (316 is Gold Leggings and 364 are steak)
"Time:1" is important and that is why it is red, if you want the chest summoned than the tag's digit should be 1 or higher. If you want the chest's items replaced than the tag's digits should be 0.9. Putting it at 0 will cause the items inside the chest to fly out in different directions.
id: - Item ID (eg. 1 = stone, 2 = grass, 3 = dirt, etc.)
Slot: - What item slot you want to place the item in. No item can be in the same slot. (0 is first slot)
Count: - Amount you want stacked. (If put at 0, item will despawn as soon as you use it)
I didn't see this anywhere on the post so if you would like to add it, go ahead (:
I need it to switch from Creepers_Killed (totalKillCount) and You're_Deaths (totalDeathCount I tink)
on the sidebar frequently. I have the repeaters in a square (not important) and the redstone signals hit the command blocks,
and the command blocks (both) say /scoreboard objectives setdisplay Creepers_Killed/You're_Deaths so when CK (Creeps Killed) CB (Command Block) gets hit by redstone the sidebar will say CK and same with the You're Deaths. But it isn't working.
You can do that by using the new /testfor @e, which tests for an entity in the area.
I am unable to currently use Minecraft, so I'll need in-depth tutorials on all the new commands, along with multiple examples. Thank you FireArceus64 for the Custom Potions. I will be adding it to the OP and give credit.
GGoldMile and Crafted_Gaming, if you are able to provide me with more in-depth descriptions, I will add these to the OP also. I'll also need some in-depth info on dataTags, if anyone could provide.
Thank you!
~Feare
Recently released commands have not yet been posted. Maybe try using the wiki, or find some a little more knowledgeable of the new commands than I am. Sorry I am unable to help.
Yep. /gamemode @a[x=0,y=0, z=0,r=0] 2
I want to ask something that i'm trying to do and don't have any idea. It would be great if you can help me.
I have a PVP server which is a small server.
I want a button. When activated i want that button to give a potion effect to everyone except the one who pushed.
I tried commands like "effect [effect id] [effect duration] @a - @p" but it didn't worked.
I'm sure it is pretty simple,
Thanks in advance.
You cannot achieve this in one command, you will have to use at least two.
When the button is pushed the redstone signal should go to a command block with:
Then into a second command with:
Replace the question marks with the coordinates of your button.
Probably the most reliable way of achieving this is with scoreboards.
Have a command block connected to a clock with the command:
Have a comparator run out of that command block and into a block (any solid block) with a redstone torch on the other side. Directly adjacent to this torch place to hoppers facing each other with an item inside. Put a comparator on the other side of the hopper and have that comparator run into a command block with the command:
/tp @p{x=?,y=?,z=?,r=?} X Y ZReplace the first set of coordinates with the area you want to keep the player out of, and the second with where you want to tp the player to.
NOTE: This will only work in the newest snapshots as the /clear command will not work properly in 1.7.4.
This cannot be achieved within vanilla mine craft at the moment (it is hinted it will be possible in 1.8).
But if you don't mind using a program, please refer to THIS.
The latest snapshot (14w05b) includes a new command: /fill this will fill a specified area with a certain block.
In your case:
very helpful for me and others
Thanks!
Giving Items
For many versions mapmakers had to use dispensers and large amounts of redstone wiring to give a player equipment. Minecraft 1.4.2 changed everything.
/give works on a few basic arguments: Who you give the item to, what the item is, how many of the item to give, what damage value the item has and further datatags. Like this:
Let's start simple:
This will give the closest player one stone block. You don't have to target the closest player, @a will give ALL players one stone, @r will give a RANDOM player one stone. The next bit says "minecraft:stone" since a recent update you no longer have to use the numerical id's for items/blocks and it has been stated that numerical id's will not be supported in the future. For a list of items and their values, go HERE. Following that is the item count, you can make this number as large as you like. After the count is the damage value, some items aren't affected by damage values while others depend on it. Here's another /give example.
This command will give you a stack of "Splash potion of Harming". Potions are one of the most common items to be associated with damage values. For a more in-depth tutorial on custom potions, go HERE.
Following the damage value is where mapmakers/redstoners shine, data tags. I won't go into those too much other than give an example of what you can do with them.
give @p 279 1 0 {display:{Name:Destroyer,Lore:[I am Tank! Conqueror of Worlds]},ench:[{id:16,lvl:2},{id:17,lvl:5},{id:18,lvl:5},{id:34,lvl:10}],AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:1.0,AttributeName:generic.movementSpeed,Name:whee}]}