Solved Changing block type

Discussion in 'Plugin Development' started by Megolas, Oct 9, 2012.

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

    Megolas

    Hello,
    I was wondering - is there a way to update a massive amount of blocks types without lagging?
    I thought of cancelling the lighting update each change and make it update in the end, but I have no clue how to disable lighting updates. Any ideas?
    Thanks
     
  2. you need to use reflection to hook into the craftbukkit core and chance the blocks by your self, then relight the affected chunks, mayby the resources section is something to search how you do the reflection to chunk access
     
  3. Offline

    Icyene

  4. @Megaloas Well, you can use NMS code (@digi and bergerkiller can tell you how) but that will only update sky light, not block light...

    Icyene No need to tag me 9 times...
     
Thread Status:
Not open for further replies.

Share This Page