Solved Custom Light Levels

Discussion in 'Plugin Development' started by BlueMustache, Aug 5, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    BlueMustache

    Hellooooo Bukkit Community,
    My question of the day goes something like this.
    I want to be able to modify the amount of light a block gives off.
    Say, change fire, so it only emits that of a redstone torch.
    I would like to do this with the Bukkit api, but NMS is fine.
    Also, don't tell me that this is impossible.
    I have seen MCEdit filters run on chunks, that fully illuminate, or fully darken.
    I assume this will be tricky, but I can take it.

    Please help.
    Thanks,
    -Blue
     
  2. Offline

    _LB

    Back in Minecraft Beta 1,3/1.4 there was a popular plugin called Flashlight that would light up the world where you looked. Unfortunately Bukkit "fixed" the bug that made it possible, and I don't know if there is still any way to do it. Try looking into ProtocolLib to see, but I think light levels are sent once with the entire chunk data and then left to the client to update lighting, meaning client that right click on your light sources can make them default to vanilla standards.
     
  3. Offline

    BlueMustache

    _LB
    Great point.
    Those thoughts crossed my mind.
    Also, sadly I'm better at NMS than ProtocolLib :).
     
  4. Offline

    xTigerRebornx

  5. Offline

    BlueMustache

Thread Status:
Not open for further replies.

Share This Page