The Meaning of Life, the Universe, and Everything.
Location:
Playing Minecraft
Join Date:
3/4/2016
Posts:
86
Member Details
Greetings to the Minecraft forum community. As you may have guessed from the title I am now taking requests. Anything that you have ever wanted just leave a reply and I will get back to you ASAP.
Please include the following in your posts:
Version: (yes I would be happy to do 1.13)
Main function: (what it actually is supposed to do)
Example: (an understandable example of how it could be applied)
I will try to make these as compact as possible and I will do my best!
GENERATION 9006: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment
If Facebook, Myspace, and Twitter were all destroyed, 90% of teens would
go insane. If you're one of the 10% that would be laughing at them,
copy & paste this into your signature and hope it happens.
Is there a way to condense a repeating command block and chain command block line into a function?
Let me explain, i'm currently working on a project and right now my command lines are just 3 towers (screenshot attached)
The commands inside are:
/execute @e[name=testfor1] ~ ~ ~ testforblock ~ ~ ~ rail
(in the repeating command block)
/execute @e[name=testfor1] ~ ~ ~ /summon armor_stand ~ ~ ~ {CustomName:"rail",NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,NoBasePlate:1}
(in the chain command block)
Really quick summary of what i'm trying to do, I am summoning 95 "testfor" armor stands and teleporting them forward to testfor if the block they're on is a block i want them to be on, if it is, then it summons another armorstand right on top of that block, and a separate command block chain to execute as the new armor stand to changes those blocks to glass.
Now in my project I am summoning a LOT of armor stands, their names being testfor1, testfor2, testfor3... so on, all the way up to testfor95. and I need a tower for each of the 27 separate block I want to do, so the bolded part of the second command will change to the block name, example, string, redstone, tallgrass.
The 3 towers i have made so far only go up to testfor19 each, and only cover 3 out of the 27 blocks i want to do, and i've lost motivation to place thousands of command blocks, so is there a way to compact this into a function?
The Meaning of Life, the Universe, and Everything.
Location:
Playing Minecraft
Join Date:
3/4/2016
Posts:
86
Member Details
Well first off thanks to the handy dandy new 1.13 command system /execute has testfor built in so you can simplify all these commands to just two commands.
/execute at @e[tag=A] if blocks 1 2 3 1 2 3 ~ ~-1 ~ all run fill ~ ~-1 ~ ~ ~-1 ~ minecraft:glass
where 123 are the coordinates of a "sample block" that is the type you want to replace.
Alternatively, you could just use one armor stand and just put:
/execute at @e[tag=A] run fill ~ ~ ~ ~ ~94 ~ minecraft:glass replace minecraft:slime_block
Where slime block is whatever block you would like to replace with glass
No matter which way you use you will still have to teleport them forward somehow. You could compact it to a function but with only two or three command blocks it doesn't really matter much.
P.S. this for requests for like creations, gimmicks and other useful tools.
GENERATION 9006: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment
If Facebook, Myspace, and Twitter were all destroyed, 90% of teens would
go insane. If you're one of the 10% that would be laughing at them,
copy & paste this into your signature and hope it happens.
I have been searching on how to do this for over 2 hours now and either I am not understanding it or I am just not finding a good explenation for it. Posted in the forum before I saw your post so this is basically a copy and paste from the post. Version is 1.10 and modpack is Direwolf20 for 1.10 (not sure you needed that but thought I would include it)
I have a game going with my kids. They die a lot and I want them to just be able to step on a preasure plate and get back their favorite items so I don't have to keep doing this. I have learned how to use the give command in a command block even with most mod pack items but I hit a wall when it involved giving an item from a modpack that has many of the same items with the same id's. Say Tinkerer's contruct to use as an example. My girl love the purple crossbow This is the Manyullyn Crossbow id# 7013. Now when I put in the command /give @p tconstruct:crossbow I get the most basic one that is worthless. Now when I mouse over I do see at the end of the description something that says 6 NBT tags so from what I have gathered I need to add something to this command to specify that crossbow but I have no clue what or how I would figure it out based on the item I want it to spawn. Any help for a Dad and his kids would be much appreciated
Greetings to the Minecraft forum community. As you may have guessed from the title I am now taking requests. Anything that you have ever wanted just leave a reply and I will get back to you ASAP.
Please include the following in your posts:
Version: (yes I would be happy to do 1.13)
Main function: (what it actually is supposed to do)
Example: (an understandable example of how it could be applied)
I will try to make these as compact as possible and I will do my best!
GENERATION 9006: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment
If Facebook, Myspace, and Twitter were all destroyed, 90% of teens would
go insane. If you're one of the 10% that would be laughing at them,
copy & paste this into your signature and hope it happens.
Is there a way to condense a repeating command block and chain command block line into a function?
Let me explain, i'm currently working on a project and right now my command lines are just 3 towers (screenshot attached)
The commands inside are:
Really quick summary of what i'm trying to do, I am summoning 95 "testfor" armor stands and teleporting them forward to testfor if the block they're on is a block i want them to be on, if it is, then it summons another armorstand right on top of that block, and a separate command block chain to execute as the new armor stand to changes those blocks to glass.
Now in my project I am summoning a LOT of armor stands, their names being testfor1, testfor2, testfor3... so on, all the way up to testfor95. and I need a tower for each of the 27 separate block I want to do, so the bolded part of the second command will change to the block name, example, string, redstone, tallgrass.
The 3 towers i have made so far only go up to testfor19 each, and only cover 3 out of the 27 blocks i want to do, and i've lost motivation to place thousands of command blocks, so is there a way to compact this into a function?
Well first off thanks to the handy dandy new 1.13 command system /execute has testfor built in so you can simplify all these commands to just two commands.
where 123 are the coordinates of a "sample block" that is the type you want to replace.
Alternatively, you could just use one armor stand and just put:
Where slime block is whatever block you would like to replace with glass
No matter which way you use you will still have to teleport them forward somehow. You could compact it to a function but with only two or three command blocks it doesn't really matter much.
P.S. this for requests for like creations, gimmicks and other useful tools.
GENERATION 9006: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment
If Facebook, Myspace, and Twitter were all destroyed, 90% of teens would
go insane. If you're one of the 10% that would be laughing at them,
copy & paste this into your signature and hope it happens.
Hello,
I have been searching on how to do this for over 2 hours now and either I am not understanding it or I am just not finding a good explenation for it. Posted in the forum before I saw your post so this is basically a copy and paste from the post. Version is 1.10 and modpack is Direwolf20 for 1.10 (not sure you needed that but thought I would include it)
I have a game going with my kids. They die a lot and I want them to just be able to step on a preasure plate and get back their favorite items so I don't have to keep doing this. I have learned how to use the give command in a command block even with most mod pack items but I hit a wall when it involved giving an item from a modpack that has many of the same items with the same id's. Say Tinkerer's contruct to use as an example. My girl love the purple crossbow This is the Manyullyn Crossbow id# 7013. Now when I put in the command /give @p tconstruct:crossbow I get the most basic one that is worthless. Now when I mouse over I do see at the end of the description something that says 6 NBT tags so from what I have gathered I need to add something to this command to specify that crossbow but I have no clue what or how I would figure it out based on the item I want it to spawn. Any help for a Dad and his kids would be much appreciated
Mal