Fixes the block opacity of MTEs by making the default "fully opaque" instead of "fully transparent." Previously, the default opacity was 0 for MTEs, which means it acts like air blocks. This PR changes the default to 255, which means "fully opaque," as per the javadoc in Block#getLightOpacity(IBlockState, IBlockAccess, BlockPos).
A consequence of this bug was that any MTE block can be placed on top of things like solar boilers or solar panel covers, and allowed them to stack on top of each other while all still having access to the sun to continue producing output. This is now fixed.
This PR also fixes strange opacity overrides in MetaTileEntityDrum and MetaTileEntityCrate which should not have been there.
What
Fixes the block opacity of MTEs by making the default "fully opaque" instead of "fully transparent." Previously, the default opacity was
0
for MTEs, which means it acts like air blocks. This PR changes the default to255
, which means "fully opaque," as per the javadoc inBlock#getLightOpacity(IBlockState, IBlockAccess, BlockPos)
.A consequence of this bug was that any MTE block can be placed on top of things like solar boilers or solar panel covers, and allowed them to stack on top of each other while all still having access to the sun to continue producing output. This is now fixed.
This PR also fixes strange opacity overrides in
MetaTileEntityDrum
andMetaTileEntityCrate
which should not have been there.Outcome
Fixes MTE block opacity.