Environment turtle getBlockLightLevel always returns 9
FreekDS opened this issue ยท 2 comments
Descripe
When using an environment turtle, the method getBlockLightLevel()
does not work as intended.
It always returns 9 and the returned value cannot be manipulated by placing light sources around the turtle.
This issue was found by playing the Valhelsia 3 modpack (v3.3.3)
Steps to reproduce
- Place an environment turtle
- Enter the lua console by typing
lua
- Get the peripheral by typing
env = peripheral.find("environmentDetector")
- Check the light level by executing
env.getBlockLightLevel()
(returns 9 on my machine) - Change the light level around the turtle by placing any light source near it
- Re-execute step 4, which gives same light level as before
Version
0.6r
Minecraft, Forge and maybe other related mods versions
forge-36.1.25 Minecraft 1.16
Screenshots or Videos
No response
Crashlog/log
No response