09-08-2013, 09:08 PM
Hello,
I searched how to get chunk enlightenment in order to make mobs spawn right, but founded it nowhere.
Even Sugarcane and Pumpkins seems not to need light to grow.
As you mentioned earlier that it was something tricky (I understood that enlightenment calculation was mad on separated thread), I do prefer to be carefull and ask before doing.
Do you think I could replace
by :
?
Thanks
I searched how to get chunk enlightenment in order to make mobs spawn right, but founded it nowhere.
Even Sugarcane and Pumpkins seems not to need light to grow.
As you mentioned earlier that it was something tricky (I understood that enlightenment calculation was mad on separated thread), I do prefer to be carefull and ask before doing.
Do you think I could replace
Code:
bool cChunk::UnboundedRelGetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta) const
Code:
bool cChunk::UnboundedRelGetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta, NIBBLETYPE & a_BlockLight, NIBBLETYPE & a_BlockSkyLight) const
Thanks