How can I use setblock to place a ladder, furnace, door etc. facing a certain direction?
It all depends on the "Damage" value set after the block id:
Furnace:
/setblock ~ ~1 ~ furnace 0
0 = North
3 = South
5 = East
4 = West
Hopper:
/setblock ~ ~1 ~ hopper 2
2 = North
3 = South
4 = West
5 = East
6 = Down
Ladder:
/setblock ~2 ~ ~ ladder 1
1 = North
3 = South
5 = East
4 = West
NOTE: The ladder cannot be next to a block with updates! This means that it is not possible to place multiple ladders above and below each other.
For the door, you will need to run 2 commands.
Door:
/setblock ~-2 ~ ~ wooden_door 0
/setblock ~-2 ~1 ~2 wooden_door 8
Once you run these, there should be a full door. You may need to mess around with the damage values though.
Now that you have a full door, you can modify its direction by changing the damage value of the first command.
1 = North
2 = East
3 = South
7 = West
I will update the main post with this information now.
What is the command to get a six-sided piston head block in 1.8? Either with a command block, server console or in chat. I REALLY need them to make crates!
I spent about an hour Googling and testing and can't figure ANYTHING out. I really need help! Anyone know the exact command?
What is the command to get a six-sided piston head block in 1.8? Either with a command block, server console or in chat. I REALLY need them to make crates!
I spent about an hour Googling and testing and can't figure ANYTHING out. I really need help! Anyone know the exact command?
That crate is actually from a server plugin. If you tell me what you intend on using it for, however, maybe we can find an alternative.
No, literally it would be a six-sided piston head block just for decoration. I'd put it on the pier like crates of goods, or something. Just decoration.
No, literally it would be a six-sided piston head block just for decoration. I'd put it on the pier like crates of goods, or something. Just decoration.
Ahh, I see, fair enough. Well, unfortunately this isn't possible.
I was told to come here to ask my question. I have this mini-game idea, but it involves pick a certain number of random people for one side. I thought of using multiple command blocks, but I believe it would pick people from the other side. I hope this is was understandable, and I really need help. Thank you for reading!
I was told to come here to ask my question. I have this mini-game idea, but it involves pick a certain number of random people for one side. I thought of using multiple command blocks, but I believe it would pick people from the other side. I hope this is was understandable, and I really need help. Thank you for reading!
Apologies for the delayed reply.
I've been testing this out using the counter [c=0] and team selector [t=XXX] but nothing seems to have turned up. I'm not sure why, but it just doesn't want to work. Maybe using this you can find a way. Or possible add 1 scoreboard point to random people on a team and test for people with that point.
/scoreboard players add @a[c=3,t=Red] Select 1 This adds 1 "Select" point to 3 people on the Red team. Note that the counter selects people who are closest first, unless using a negative number which targets the furthest away. Another way to make it random would be removing the [c=0] and changing @a to @r, but this command would then have to run multiple times.
/tp @a[t=Red,score_Select_min=1] 0 0 0 Teleports anyone on the Red team with 1 "Select" point to designated coordinates.
This helped me a lot! Thanks! Also, would you be able to create a pdf or something to use offline? That would be narley! Just a suggestion
I'm glad to have helped. I would be more than happy to create a PDF for offline use! I'm sure it'd come in very handy!Give me some time, and I'l see what I can do =)
Hi there! I'm trying to use a command block as a teleporter on a vanilla multiplayer server, but for some reason I just cannot get it to work. I've been using "tp @p x y z" and "/tp @p x y z" and even tried @a and my username, but still nothing. :< It keeps saying "The entity UUID is in an invalid format" each time I try. I know where I'm teleporting to and it's not as if I'm teleporting into a wall, so I honestly don't know what to do to get it to work. If you could help, I would really really really appreciate it!
what command would I use to activate a redstone signal if a mob dies? My idea is that when my boss mob dies it starts a chain of command blocks to be activated how can I do this?
what command would I use to activate a redstone signal if a mob dies? My idea is that when my boss mob dies it starts a chain of command blocks to be activated how can I do this?
Simples.
Firstly, your summon command should look something like this:
/summon Pig ~ ~1 ~ {CustomName:"Fred"}
If you aren't using name, don't fret - just use all the dataTags you wish to use.
To detect the death, run a redstone loop on this:
/testfor @e[type=Pig] {CustomName:"Fred"}
Link up a comparator to an inverter and there you go. When the mob dies, comparator switches off and the pulse goes where you want it. Easy.
Is there a way to change villager textures through command blocks? I'm wanting to make villagers look different if you step on a pressure plate that activates the command block when you walk into a certain village for my RPG map. Oh yes, how can I make zombies, skeletons, creepers, etc. drop certain items for my leveling system?
Is there a way to change villager textures through command blocks? I'm wanting to make villagers look different if you step on a pressure plate that activates the command block when you walk into a certain village for my RPG map. Oh yes, how can I make zombies, skeletons, creepers, etc. drop certain items for my leveling system?
It is not possible to change textures via command blocks.
Now, in order to make mobs drop certain items, it requires dataTags. Due to it being quite an in-depth command, I'd suggest you use MCStacker - it generates summon commands, and can include worn armours (including colour), buffs, debuffs, names, and drops + drop chances. Use that to generate your command - it is far easier and saves a LOT of time.
If you were to write your own command, this is what you would be writing:
That would spawn a zombie, holding an iron pickaxe that is called the "Bloody Pickaxe", and has a drop chance of 60% - hence why it is easier to the summon generator. And that is the basic command, not including mob names and extra items.
It is not possible to change textures via command blocks.
Now, in order to make mobs drop certain items, it requires dataTags. Due to it being quite an in-depth command, I'd suggest you use MCStacker - it generates summon commands, and can include worn armours (including colour), buffs, debuffs, names, and drops + drop chances. Use that to generate your command - it is far easier and saves a LOT of time.
If you were to write your own command, this is what you would be writing:
That would spawn a zombie, holding an iron pickaxe that is called the "Bloody Pickaxe", and has a drop chance of 60% - hence why it is easier to the summon generator. And that is the basic command, not including mob names and extra items.
Adios,
~Feare
Thanks man!
Rollback Post to RevisionRollBack
• CPU: Intel Core i3 4150 @3.5GHz
• Mobo: ASRock H97M Anniversary
• Ram: Kingston Fury HyperX Black 8GB(2x4) @1866MHz
plz plz can somebody help me i have a problem with the mob health bar when i've placed the command block and the put the right information in it and the redstone is done there isn't a health bar above the mobs meby you need to put information in to the commandblock above the redstone block? plz?
thijsnielsquaz1, if that isn't working for you, try the video tutorial by Dragnoz, found here. That may be a better guide for you to follow.
Also this is my YouTube channel: https://www.youtube.com/user/TrueMenfa
It all depends on the "Damage" value set after the block id:
3 = South
5 = East
4 = West
Hopper: 2 = North
3 = South
4 = West
5 = East
6 = Down
Ladder: 1 = North
3 = South
5 = East
4 = West
NOTE: The ladder cannot be next to a block with updates! This means that it is not possible to place multiple ladders above and below each other.
For the door, you will need to run 2 commands.
Door:
Once you run these, there should be a full door. You may need to mess around with the damage values though.
Now that you have a full door, you can modify its direction by changing the damage value of the first command.
1 = North
2 = East
3 = South
7 = West
I will update the main post with this information now.
~Feare
Also this is my YouTube channel: https://www.youtube.com/user/TrueMenfa
I spent about an hour Googling and testing and can't figure ANYTHING out. I really need help! Anyone know the exact command?
That crate is actually from a server plugin. If you tell me what you intend on using it for, however, maybe we can find an alternative.
I intend on using it as literally a crate lol.
I'll look for the plugin and when I update my server to Spigot 1.8 I'll try to get it to work.
So just for storing things then? A fancy chest?
No, literally it would be a six-sided piston head block just for decoration. I'd put it on the pier like crates of goods, or something. Just decoration.
Ahh, I see, fair enough. Well, unfortunately this isn't possible.
I'm very glad you find it useful =)
Apologies for the delayed reply.
I've been testing this out using the counter [c=0] and team selector [t=XXX] but nothing seems to have turned up. I'm not sure why, but it just doesn't want to work. Maybe using this you can find a way. Or possible add 1 scoreboard point to random people on a team and test for people with that point.
/scoreboard players add @a[c=3,t=Red] Select 1 This adds 1 "Select" point to 3 people on the Red team. Note that the counter selects people who are closest first, unless using a negative number which targets the furthest away. Another way to make it random would be removing the [c=0] and changing @a to @r, but this command would then have to run multiple times.
/tp @a[t=Red,score_Select_min=1] 0 0 0 Teleports anyone on the Red team with 1 "Select" point to designated coordinates.
This has not been tested.
I'm glad to have helped. I would be more than happy to create a PDF for offline use! I'm sure it'd come in very handy!Give me some time, and I'l see what I can do =)
~Feare
Simples.
Firstly, your summon command should look something like this:
/summon Pig ~ ~1 ~ {CustomName:"Fred"}
If you aren't using name, don't fret - just use all the dataTags you wish to use.
To detect the death, run a redstone loop on this:
/testfor @e[type=Pig] {CustomName:"Fred"}
Link up a comparator to an inverter and there you go. When the mob dies, comparator switches off and the pulse goes where you want it. Easy.
~Feare
• CPU: Intel Core i3 4150 @3.5GHz
• Mobo: ASRock H97M Anniversary
• Ram: Kingston Fury HyperX Black 8GB(2x4) @1866MHz
• GPU: Gigabyte GeForce GTX 960 G1 Gaming 2GB GDDR5
• PSU: EVGA 500W 80+ Certified
• HDD: Western Digital Caviar Blue 1TB
• HDD: Western Digital Caviar Blue 160GB
• Case: Lian Li PC-50
• Monitor: Acer P221w 22" 1680x1050 60Hz
• Headset: Kingston Fury HyperX Clouds
• Mouse: Razer Deathadder 3.5G 3500DPI
• Keyboard: Cooler Master Storm Quickfire Rapid w/ Cherry MX Blues
It is not possible to change textures via command blocks.
Now, in order to make mobs drop certain items, it requires dataTags. Due to it being quite an in-depth command, I'd suggest you use MCStacker - it generates summon commands, and can include worn armours (including colour), buffs, debuffs, names, and drops + drop chances. Use that to generate your command - it is far easier and saves a LOT of time.
If you were to write your own command, this is what you would be writing:
/summon Zombie ~ ~1 ~ {Equipment:[{id:iron_pickaxe,Count:1,tag:{display:{Name:Bloody Pickaxe}}},{},{},{},{}],DropChances:[0.6F,0.085F,0.085F,0.085F,0.085F]}
That would spawn a zombie, holding an iron pickaxe that is called the "Bloody Pickaxe", and has a drop chance of 60% - hence why it is easier to the summon generator. And that is the basic command, not including mob names and extra items.
Adios,
~Feare
Thanks man!
• CPU: Intel Core i3 4150 @3.5GHz
• Mobo: ASRock H97M Anniversary
• Ram: Kingston Fury HyperX Black 8GB(2x4) @1866MHz
• GPU: Gigabyte GeForce GTX 960 G1 Gaming 2GB GDDR5
• PSU: EVGA 500W 80+ Certified
• HDD: Western Digital Caviar Blue 1TB
• HDD: Western Digital Caviar Blue 160GB
• Case: Lian Li PC-50
• Monitor: Acer P221w 22" 1680x1050 60Hz
• Headset: Kingston Fury HyperX Clouds
• Mouse: Razer Deathadder 3.5G 3500DPI
• Keyboard: Cooler Master Storm Quickfire Rapid w/ Cherry MX Blues
thijsnielsquaz1, if that isn't working for you, try the video tutorial by Dragnoz, found here. That may be a better guide for you to follow.
~Feare