/beam
The /beam command lets you generate dynamic lines between points or entities, bringing powerful visual effects into your world.
Beams can take many forms—ranging from 3D models to 2D textures (such as guardian beams), or even particle-based effects—giving you full creative control over both style and function.
Player/World
This lets you edit who the beam renders for.
Selecting world will make it visible by all. Selecting player will only display the beam to those listed in the target selector.
Type
This is the type of beam that you're creating
Type
Select an type for a description.
Options
These are the various options you can type in to edit beams
Option
Select an option for a description.
Area
These are the 2 positions/entities that the beam is created from
/beam players @a[distance=..20] particle create exampleBeam pos ~ ~5 ~ pos 20 50 20
​
Pos: These are an area of coordinates and are static points the beam will render at. ~ ~ ~ {tilda's} can be set to make it at the position of where the command is executed.
​
/beam players @a[distance=..20] particle create exampleBeam2 entity @n[type=pig] ~ ~ ~ entity @s ~ ~5 ~
​
Entity: This lets you choose an entity to act as the other end. it will smoothly follow this entity around rather than being anchored to a spot. Upon the entity dying the beam will stop at where they entity was when it died. It also supports an offset from where the entity is. For their default position just put ~ ~ ~ {tilda's}.
​
/beam players @a[distance=..20] particle create exampleBeam3 pos ~ ~5 ~ entity @s ~ ~5 ~
​
Extra: Both of these can also be combined in the same beam
Settings
Settings which can be added in the creation command to customize the appearance of the beam
Settings
Select an setting for a description.
/beam player/world [target] <type> [option] [id] <area1> <area2> (settings)
Syntax:
/beam players @a[distance=..20] particle create exampleBeam pos ~ ~5 ~ pos 20 50 20
/beam world texture create exampleBeam3 pos ~ ~5 ~ entity @s ~ ~5 ~ minecraft:item/coal
/beam world particle edit exampleBeam scrolling true