Hello there! Do you happen to have been looking for some neat concepts? If the answer is yes, then you came to the right thread. This thread includes all the concepts that I would like to share to you, and would come useful in many, many ways. I apologize if you have heard of the concept before; I do not claim these concepts as my own, just a thread to share them to those who haven't.
If you have any thoughts or concerns, feel free to rely below. I will try my best to answer any questions you may have as soon as possible. The reason I am posting instead of just making a video is due to my computer not being powerful enough to run both the game and a recorder simultaneously, I apologize for the inconvenience.
Block placement at a player's coordinates
You may already know that the
/setblock
does not support block placement relevant to a player's coordinates.
Thus, you cannot place a block based on a player's coordinates; very unfortunate. However, there are alternative methods to accomplish the same task.
The most common method you see many people use deals with various command blocks testing for the approximate coordinates of a player. This certain process uses many command blocks, and may be inaccurate if you want precise results. Command blocks are used for every other coordinate, and use the
/testfor
command in search for the nearest player within a set distance. If a command block has found a player, a desired output is received. The inefficiency of this method is that you would need a command block for every other coordinate that you wish to track. If you want to track an area that is 16x16 and the desired ratio is 1:4, which refers to one commandblock every four coordinates, you will need to place approximately 64 command blocks each with a different command. The more the desired precision, the more the command blocks.
A variant of this method deals with a 1:1 ratio of commandlbock per coordinate. Meaning, you would need exactly 16 command blocks for detecting the player's exact coordinates in a 4x4 space. 16 is a lot of command blocks, and the quantity of command blocks will accumulate for every result you wish to have. It is also good to consider that for every command block, requires a different command from the last. You may just copy and paste it, but you must change the number manually, thus producing a time wasting and tedious process.
The methods above are very inefficient, and is time consuming when it comes to placing every commandblock and it's result for every single coordinate. This method, on the contrary, requires less space and much less time.
The method
This method uses various redstone blocks, activator rails, zombie pigmen, and a command block minecart.
Blocks
An area of redstone blocks are under an area of activator rails. These are the blocks that will activate the command block minecart. The top platform is where the player will be standing, and the bottom platform will hold the entity doing that will keep track of the player's coordinates. Here is an image to picture what I am saying if I'm unclear:
Entities
The entities named are use the tag 'riding'; in other words, they are stacked on top of each other. The order is as follows:
A command block minecart riding a zombie pigman, riding another zombie pigman.
You know how zombie pigmen will become aggressive after harming another, right? They will try to get as close to you as much as possible. This will be the our tracker. The second pigman above the bottom pigman is just there to gain extra height for the command block minecart, this allows the pigman to have a 2 high space to walk on. The above pigman in invulnerable so that it doesn't suffocate. The command block minecart may contain the command
/setblock
, or any other desired command. The way the command block is activated is that it somehow 'snaps' to the above activator rails, being executed every time it moves.
For summoning the entity which creates a fire trail that follows you around.
-Activator
-Deactivator
-A stick
Potential
You can create many different things from this method. These are not all the possible creations you can do, just a few. Remember, the only limit here is your imagination.
Create a fire snake, like the one in the world download
Create a custom mob, using addition minecarts with custom tiles and offsets
Create falling blocks that fall upon the player walking on them
Create disappearing blocks that disappear upon being walked on
Create a board that the player can paint on
Create fire armor that upon wearing, you leave a fire trail
Stronger Lightning flash
Have you every been roaming in the Minecraft world in a thunderstorm, and hear thunder? The flash you get lights up the sky pretty well, but do you happen to think that the flash could be stronger? You may be familiar with the combination of night vision and blindness, and if you are not, then take a look at this:
View without any effects:
View with Night Vision:
View with Blindness:
View with BOTH:
Neat, huh?
We will be taking advantage of this effect to create stronger lightning flash and artificial lightning that you can control to 'strike' whenever you like. Also, this method works at any weather setting, so if you want rain without the sky getting extremely dark, then this will work very well to your liking.
The method
This method makes use of the combination of blindness and night vision, as well as redstone and command blocks with the
/playsound
command.
Blocks
You basically need a sequence of blocks. A single pulse is needed and runs through various command blocks that give the desired 'flash' effect to the players and another that removes them. The interval between the two is 1-2 redstone ticks, depends on how long you want it. Before the effect is applied, you need to play the thunder sound 4 ticks before. Make sure that the pulse runs through various pairs of applying and removing, I would recommend 4 pairs, but that is completely up to you. Once you run a pulse, the sequence you should receive should be something similar to this:
You would need two command blocks per step to apply the blindness and night vision as well as remove both.
Entities
There is no entities required for this method, hurrah!
Commands
Apply Night Vision:
/effect @p 16 30
Apply Blindness:
/effect @p 15 30
Remove Night Vision:
/effect @p 16 0
Remove Blindness:
/effect @p 15 0
Precautions
There are people who will have fog turned off, thus minimizing the effect's potential. They would only see the sky turn white, but that isn't too bad.
World Download
Here is a world download to experience this for yourself, or just mess around if you'd like.
The download includes
-A deserted building
-Surrounding Foilage
-Golden Apple of Precipitation
-Golden Armor of Lightning
-Beacon
-Artificial Lightning
Potential
Make lightning more dramatic
Create a controllable scenery by controlling the lightning
Create artificial lightning that won't burn down the map
If you are having a lightning bolt hit the ground at a specific location, you can summon a fire charge at the ground so that it will explode an spawn fire. And with fire charges, you can customize how big the explosion is very easily.
If you are having a lightning bolt hit the ground at a specific location, you can summon a fire charge at the ground so that it will explode an spawn fire. And with fire charges, you can customize how big the explosion is very easily.
If you are having a lightning bolt hit the ground at a specific location, you can summon a fire charge at the ground so that it will explode an spawn fire. And with fire charges, you can customize how big the explosion is very easily.
Very clever indeed! Say, can I add your comment in the main post, with credit of course?
Of course, I didn't write the whole code by myself. The best way to simplify this and keep the desired tags would be to summon the entity using this command:
I executed a command from the command block that has the same code. As I pressed the button, I was in survival mode. Once the pigman spawned, it started to run towards me, doing lots of damage.
If you have any thoughts or concerns, feel free to rely below. I will try my best to answer any questions you may have as soon as possible. The reason I am posting instead of just making a video is due to my computer not being powerful enough to run both the game and a recorder simultaneously, I apologize for the inconvenience.
Block placement at a player's coordinates
You may already know that the does not support block placement relevant to a player's coordinates.
Thus, you cannot place a block based on a player's coordinates; very unfortunate. However, there are alternative methods to accomplish the same task.
The most common method you see many people use deals with various command blocks testing for the approximate coordinates of a player. This certain process uses many command blocks, and may be inaccurate if you want precise results. Command blocks are used for every other coordinate, and use the command in search for the nearest player within a set distance. If a command block has found a player, a desired output is received. The inefficiency of this method is that you would need a command block for every other coordinate that you wish to track. If you want to track an area that is 16x16 and the desired ratio is 1:4, which refers to one commandblock every four coordinates, you will need to place approximately 64 command blocks each with a different command. The more the desired precision, the more the command blocks.
A variant of this method deals with a 1:1 ratio of commandlbock per coordinate. Meaning, you would need exactly 16 command blocks for detecting the player's exact coordinates in a 4x4 space. 16 is a lot of command blocks, and the quantity of command blocks will accumulate for every result you wish to have. It is also good to consider that for every command block, requires a different command from the last. You may just copy and paste it, but you must change the number manually, thus producing a time wasting and tedious process.
The methods above are very inefficient, and is time consuming when it comes to placing every commandblock and it's result for every single coordinate. This method, on the contrary, requires less space and much less time.
The method
This method uses various redstone blocks, activator rails, zombie pigmen, and a command block minecart.
Blocks
An area of redstone blocks are under an area of activator rails. These are the blocks that will activate the command block minecart. The top platform is where the player will be standing, and the bottom platform will hold the entity doing that will keep track of the player's coordinates. Here is an image to picture what I am saying if I'm unclear:
Entities
The entities named are use the tag 'riding'; in other words, they are stacked on top of each other. The order is as follows:
A command block minecart riding a zombie pigman, riding another zombie pigman.
You know how zombie pigmen will become aggressive after harming another, right? They will try to get as close to you as much as possible. This will be the our tracker. The second pigman above the bottom pigman is just there to gain extra height for the command block minecart, this allows the pigman to have a 2 high space to walk on. The above pigman in invulnerable so that it doesn't suffocate. The command block minecart may contain the command , or any other desired command. The way the command block is activated is that it somehow 'snaps' to the above activator rails, being executed every time it moves.
Commands
Spawns the entity above:
Spawns the entity above with custom data:
Precautions
Be careful when summoning the invulnerable pigman! It won't die unless tossed into the void!
World Download
Here is a world download to experience this for yourself, or just mess around if you'd like.
Download Here
The download includes
-The zombie pigman/minecart entity
-A commandblock minecart with the command (open at your own risk, it is A LOT!):
-Activator
-Deactivator
-A stick
Potential
You can create many different things from this method. These are not all the possible creations you can do, just a few. Remember, the only limit here is your imagination.
Stronger Lightning flash
Have you every been roaming in the Minecraft world in a thunderstorm, and hear thunder? The flash you get lights up the sky pretty well, but do you happen to think that the flash could be stronger? You may be familiar with the combination of night vision and blindness, and if you are not, then take a look at this:
View without any effects:
View with Night Vision:
View with Blindness:
View with BOTH:
Neat, huh?
We will be taking advantage of this effect to create stronger lightning flash and artificial lightning that you can control to 'strike' whenever you like. Also, this method works at any weather setting, so if you want rain without the sky getting extremely dark, then this will work very well to your liking.
The method
This method makes use of the combination of blindness and night vision, as well as redstone and command blocks with the command.
Blocks
You basically need a sequence of blocks. A single pulse is needed and runs through various command blocks that give the desired 'flash' effect to the players and another that removes them. The interval between the two is 1-2 redstone ticks, depends on how long you want it. Before the effect is applied, you need to play the thunder sound 4 ticks before. Make sure that the pulse runs through various pairs of applying and removing, I would recommend 4 pairs, but that is completely up to you. Once you run a pulse, the sequence you should receive should be something similar to this:
Play sound : 4 Redstone ticks : Flash : 2 Redstone ticks : Remove Flash : 2 Redstone ticks : Flash : 2 Redstone ticks : Remove Flash : 1 Redstone tick : Flash : 1 redstone tick : Remove Flash : 1 Redstone tick : Flash : 1 redstone tick : Remove Flash
Here is a visual aid:
You would need two command blocks per step to apply the blindness and night vision as well as remove both.
Entities
There is no entities required for this method, hurrah!
Commands
Apply Night Vision:
Apply Blindness:
Remove Night Vision:
Remove Blindness:
Precautions
There are people who will have fog turned off, thus minimizing the effect's potential. They would only see the sky turn white, but that isn't too bad.
World Download
Here is a world download to experience this for yourself, or just mess around if you'd like.
Download Here
The download includes
-A deserted building
-Surrounding Foilage
-Golden Apple of Precipitation
-Golden Armor of Lightning
-Beacon
-Artificial Lightning
Potential
/sethome and /home in Vanilla Minecraft
Coming Soon!
Very clever indeed! Say, can I add your comment in the main post, with credit of course?
Of course
That command is wayyyyyy longer than it needs to be.
This seems to work just fine.
EDIT: Or not, I'm probably going to have to set a couple more NBTs.
Of course, I didn't write the whole code by myself. The best way to simplify this and keep the desired tags would be to summon the entity using this command:
You would write this unless you want suffocating pigmen.
No, that's not the problem. They don't seem to be following me.
You would have to set the tag 'Anger' to 1 when spawning the pigman, and also make sure to be in gamemode 0.
Tried that already, it doesn't work either.
Worked fine when I tried it.
I executed a command from the command block that has the same code. As I pressed the button, I was in survival mode. Once the pigman spawned, it started to run towards me, doing lots of damage.
You can always substitute the pigman with many other mobs, such as a cave spider, or a slime.