In Minecraft 1.12.2/1.11.2, the Laser Beams Command Block introduces craftable Laser Beams. Laser Beams may be directed in any direction. They come to a halt when they strike a block or reach the maximum of 10 blocks. In any sequence, place any of the 5 suitable objects (Tnt, Tnt Minecart, Fireballs, Flint And Steel, and/or Lava) into the dispenser. If any of the things in the dispenser are in your inventory, laser beams detect them.
Three modes are available:
Detect – Does nothing but make a noise.
Clear – Remove it from your inventory by clearing it.
Kill – The player is killed. Drop an iron ingot for detect, a gold ingot for clear, and a nether block for kill to switch modes. (Detection is enabled by default).
If you click the main sign, you’ll be given the materials you’ll need to make a laser beam, as well as one that has already been made for you. To produce a laser beam, you must set the egg on a dispenser. Laser beams can travel a maximum of 10 blocks before colliding with a block. You receive the egg back if you shatter a laser by shattering the dispenser. They also operate in all directions.
How to install:
- To add any one-command creation to your world, first give yourself a command block with /give @p minecraft:command_block.
- You have to place 2 command blocks on top of each other. Paste the 1st command in the bottom one and the 2nd command in the upper one.
- Once you pasted all the commands, you have to activate with a redstone block just the command block at the bottom.