The bug
When a beacon passes through bedrock, usually it retains its color. However, if you put a solid block around all sides, and then put bedrock directly on top, the beacon beam turns dark (grey/black). Passing it through colored glass does not change its color visibly, except the first colored glass it passes through turns it even darker (black).
How to reproduce
Put down a beacon pyramid (any mineral, level)
Place a beacon on it
Put a solid block around all of its sides, and bedrock on its top
Note: there was a time, in a super flat world, where it wasn't working, and now it is. Either I was doing something wrong, or it doesn't work 100 percent of the time.
Linked issues
is duplicated by 1
Attachments
Comments 5
Can confirm: http://imgur.com/a/LU0KC
Edit: happens with any block, just need bedrock on top and all sides covered http://imgur.com/a/fNRtq
I wont add that as code analysis because I am not quite sure which parts of this are intended.
The lighting for tile entities is received from the method net.minecraft.world.World.getCombinedLight(BlockPos, int)
. The problem is that this method is only returning the sky and neighboor block light. If it would use the light of the block itself as well (as beacons emit light) it might be more correct. But besides that the beacon beam lighting should probably always be the same and not based on the light level at the beacon block at all.
I said in my notes that it doesn't work every time. What do you mean, cannot reproduce? It works for my friends, as well.