Build a coastal lighthouse tower that sweeps a dense, glowing cone of golden light particles in a full circle across the night sky in vanilla Minecraft.
Aurora & Sky LightsOceanHoly & LightYellowWhiteRedDecorationMap MakingCinematicItem displaysSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
Traditional Minecraft beacons shoot a flat vertical beam straight into the clouds, leaving the surrounding area untouched. This command setup builds a classic red-and-white coastal lighthouse that projects a sweeping, volumetric cone of light horizontally across the night sky.
An invisible rotating marker inside the glass lantern room drives both a glowing gold core and a multi-layered particle beam. As the beam turns, it expands outward from a bright white focal point into a wide golden dust cloud that illuminates the darkness.
/time set midnight/fill ~-2 ~ ~-2 ~2 ~2 ~2 minecraft:cobblestone/fill ~-1 ~3 ~-1 ~1 ~5 ~1 minecraft:white_concrete/fill ~-1 ~6 ~-1 ~1 ~8 ~1 minecraft:red_concrete/fill ~-1 ~9 ~-1 ~1 ~11 ~1 minecraft:white_concrete/fill ~-2 ~12 ~-2 ~2 ~12 ~2 minecraft:polished_andesite/fill ~-1 ~13 ~-1 ~1 ~15 ~1 minecraft:glass/setblock ~ ~14 ~ minecraft:sea_lantern/fill ~-2 ~16 ~-2 ~2 ~16 ~2 minecraft:red_nether_bricks/summon minecraft:item_display ~ ~14.5 ~ {Tags:["c9_beacon"],billboard:"disabled",brightness:{sky:15,block:15},item:{id:"minecraft:gold_block",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[0f,0f,0f]}}/execute as @e[tag=c9_beacon] at @s run tp @s ~ ~ ~ ~3 ~/execute at @e[tag=c9_beacon] run particle minecraft:flash ~ ~ ~ 0 0 0 0 1 force/execute at @e[tag=c9_beacon] run particle minecraft:end_rod ^ ^ ^1.5 0.1 0.1 0.1 0.02 3 force/execute at @e[tag=c9_beacon] run particle minecraft:dust_color_transition{from_color:[1.0,1.0,0.8],to_color:[1.0,0.8,0.2],scale:1.5} ^ ^ ^3 0.25 0.25 0.25 0 8 force/execute at @e[tag=c9_beacon] run particle minecraft:dust_color_transition{from_color:[1.0,0.95,0.5],to_color:[1.0,0.7,0.1],scale:2.2} ^ ^ ^5 0.45 0.45 0.45 0 12 force/execute at @e[tag=c9_beacon] run particle minecraft:dust_color_transition{from_color:[1.0,0.9,0.4],to_color:[1.0,0.6,0.0],scale:2.8} ^ ^ ^7.5 0.7 0.7 0.7 0 18 force/execute at @e[tag=c9_beacon] run particle minecraft:dust_color_transition{from_color:[1.0,0.85,0.3],to_color:[0.9,0.5,0.0],scale:3.4} ^ ^ ^10.5 1.0 1.0 1.0 0 25 force/execute at @e[tag=c9_beacon] run particle minecraft:dust_color_transition{from_color:[1.0,0.8,0.2],to_color:[0.8,0.4,0.0],scale:4.0} ^ ^ ^14 1.4 1.4 1.4 0 35 force/execute at @e[tag=c9_beacon] run particle minecraft:end_rod ^ ^ ^6 0.5 0.5 0.5 0.01 2 force/execute at @e[tag=c9_beacon] run particle minecraft:end_rod ^ ^ ^11 1.0 1.0 1.0 0.01 3 force/execute at @e[tag=c9_beacon] run particle minecraft:wax_on ^ ^ ^8 0.8 0.8 0.8 0 2 forcesetup #10 Summons a bright <code>item_display</code> entity showing a gold block inside the glass lantern room. Its <code>brightness</code> is locked to 15 so it glows even at midnight, acting as the physical rotating lens.loop #1 Rotates the <code>c9_beacon</code> display entity by 3 degrees of yaw every tick. At 20 ticks per second, the lighthouse completes a full 360-degree sweep every 6 seconds.loop #4 Uses local coordinates (<code>^ ^ ^3</code> through <code>^ ^ ^14</code> in the following commands) to place particles along the entity's line of sight. As the distance increases, both the particle spread and the dust scale grow larger to form a cone shape.Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A red-and-white Minecraft lighthouse stands near the water at night, emitting a rotating cone of yellow and white light particles from its glass lantern top.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To highlight players or mobs caught in the lighthouse beam, add a repeating command block with /execute at @e[tag=c9_beacon] positioned ^ ^ ^10 run effect give @a[distance=..4] minecraft:glowing 2 0 true so anyone swept by the light cone glows briefly in the dark.
/kill @e[tag=c9_beacon]/fill ~-2 ~ ~-2 ~2 ~16 ~2 minecraft:airYes. In the first loop command, change <code>~3 ~</code> to a higher number like <code>~6 ~</code> to double the rotation speed, or change the pitch value when summoning the entity to tilt the beam downward toward the ground or sea.
Make sure your client Video Settings have Particles set to All, and ensure the particle commands end with the <code>force</code> keyword, which renders particles up to 512 blocks away instead of the default 32 blocks.
▶Kaleidoscopic Diamond Prism Sky VaultAurora & Sky LightsExpert24 cmds
▶Phosphorescent Plankton Sky TideAurora & Sky LightsHard21 cmds
▶Prismatic Circumhorizontal Fire RainbowAurora & Sky LightsMedium24 cmds
▶Bioluminescent Jellyfish Cloud MigrationAurora & Sky LightsHard24 cmds
▶Cathedral Stained-Glass Sunbeam StormAurora & Sky LightsHard23 cmds
▶Celestial Harp String AuroraAurora & Sky LightsHard23 cmds