Beacon blocks can function as light sources, emitting a light level 15. Like other light sources, they melt snow and ice. in Bedrock edition, beacons can also be waterlogged and conduct redstone power at the same time. When activated, beacon blocks provide two unique functions:

1. A landmark beam reaching into the sky, which can be visible far away.

2. Powers, which give players status effects within a certain range.

Pyramids are the structures required to activate beacons. There are four possible pyramid heights. More pyramid levels make more powers available in a wider affected vicinity. The type of mineral block used to build the pyramid is entirely cosmetic and has no functional effect.

The color of the beam may be changed by placing blocks of stained glass (or stained glass panes) anywhere above the beacon block. The beam changes colors according to the colors of glass placed above it. The color values are the same as those for the corresponding dye. This also works using hardened stained glass and hardened stained glass panes.

Several different block types can be mixed without affecting functionally. If the pyramid is damaged so that the beacon deactivates, the previously set-powers resume their effects upon reactivation when the pyramid is repaired. This applies to piston-altered pyramids as well.

More Info: minecraft.fandom.com