1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to add light to a Position. Like Bedrock's light_block

Discussion in 'Development' started by OguzhanUmutlu, Jan 9, 2021.

  1. OguzhanUmutlu

    OguzhanUmutlu Witch

    Messages:
    63
    GitHub:
    OguzhanUmutlu
    How to add light to a Position. Like Bedrock's light_block
     
  2. EndermannbugZJFC

    EndermannbugZJFC Slime

    Messages:
    84
    GitHub:
    endermanbugzjfc
    PHP:
    Level->setBlockLightAt(int $xint $yint $zint $level/* 0 - 15 */)
    (Not sure if it works or not, try)
     
    ItsInspire likes this.
  3. OguzhanUmutlu

    OguzhanUmutlu Witch

    Messages:
    63
    GitHub:
    OguzhanUmutlu
    thx
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.