@minecraft/server-graphics
    Preparing search index...

    Function getPlayerLighting

    • Beta

      Parameters

      • biome: BiomeType
      • player: Player

      Returns BiomeLighting

      Retrieves the PlayerLighting component to control lighting for a particular player in Vibrant Visuals. This offers the same controls as BiomeLighting, but PlayerLighting controls will always take precedence over BiomeLighting.

      This function can't be called in restricted-execution mode.