1
Commands or command blocks
I need some help with commands and command blocks. I'm trying to get op stuff without mods. Is that possible in 1.8.1?
Create an account or sign in to comment.
3
1
Made this video a while back...
It uses all command blocks, and you can customize it however you want.
https://www.youtube.com/watch?v=QnyFrx2 ... PvaoDpkzpj
It uses all command blocks, and you can customize it however you want.
https://www.youtube.com/watch?v=QnyFrx2 ... PvaoDpkzpj
1
there is execute, which is for when you want to make a command around an entity (you can also check for a block around the entity in the same command using "detect" which is defined in the syntax example when you type a command wrong), and you can use two executes which then end in a command to check for the distance between entities, there is scoreboards which are scores testable in the @e[] thing, since some commands don't have data tags that allow you to check that with {}.
Another command is setblock, which places a block at a co-ordinate, fill which places an area of blocks, testforblock tests for a block at one co-ordinate (not sure if that allows the {} part), there is testforblocks which tests for multiple blocks like a structure. clone is another, which clones one area to another (there is two box-definer co-ords, then there is the third which I heard is the bottom northwest corner of the area you want to place the blocks). These are some of the most usefull commands to have at your disposal. I hope this helps?
Another command is setblock, which places a block at a co-ordinate, fill which places an area of blocks, testforblock tests for a block at one co-ordinate (not sure if that allows the {} part), there is testforblocks which tests for multiple blocks like a structure. clone is another, which clones one area to another (there is two box-definer co-ords, then there is the third which I heard is the bottom northwest corner of the area you want to place the blocks). These are some of the most usefull commands to have at your disposal. I hope this helps?
1
I know of many command block contraptions that run of redstone clocks. My favorite however, its one that turns the snowballs into grenades:
Here is it basically:
Have a clock running as fast as you can get it. Then put two command blocks off of the same side of the clock. One of them have this:
/testfor @e[Type=Snowball]
This will check the world to see if there is in fact an Snowball in existence. It IS case sensitive as well.
Then have a comparator running off of the testfor command block that has this:
/summon PrimedTnt ~ ~20 ~ {Fuse:20}
This will effectively spawn a ready-to-blow Tnt 20 blocks above the Command Block.
Finally, off of a different branch of the clock, have another Command Block:
/tp @e[Type=PrimedTnt] @e[Type=Snowball]
This will teleport the TNT to the snowball before it explodes!!
Alternatively watch this video: https://www.youtube.com/watch?v=le-UjFVDHhA
Here is it basically:
Have a clock running as fast as you can get it. Then put two command blocks off of the same side of the clock. One of them have this:
/testfor @e[Type=Snowball]
This will check the world to see if there is in fact an Snowball in existence. It IS case sensitive as well.
Then have a comparator running off of the testfor command block that has this:
/summon PrimedTnt ~ ~20 ~ {Fuse:20}
This will effectively spawn a ready-to-blow Tnt 20 blocks above the Command Block.
Finally, off of a different branch of the clock, have another Command Block:
/tp @e[Type=PrimedTnt] @e[Type=Snowball]
This will teleport the TNT to the snowball before it explodes!!
Alternatively watch this video: https://www.youtube.com/watch?v=le-UjFVDHhA