Topic category: Advanced modding
I am creating a procedure to determine if the light level of a block is less than 8, so i will place a torch to avoid mob spawning...
but it seems like the method returns the light value that the block is projecting.... e.g. get light level of a torch block is 14, and the block directly above it is 0.
what is the correct way of achieving this goal?