Advanced Peripherals

Advanced Peripherals

29M Downloads

Environment turtle getBlockLightLevel always returns 9

FreekDS opened this issue ยท 2 comments

commented

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

  1. Place an environment turtle
  2. Enter the lua console by typing lua
  3. Get the peripheral by typing env = peripheral.find("environmentDetector")
  4. Check the light level by executing env.getBlockLightLevel() (returns 9 on my machine)
  5. Change the light level around the turtle by placing any light source near it
  6. 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

commented

I can't reproduce this.
image
With the torch on the left, the detector does return 9, with the torch on the right the detector does return 12.

commented

I have also tested it with turtle. On 0.7b problem was fixed already (I assume) and everything works correct.