Block Attributes
opacity
This attribute defines how much light is blocked going through the block. 255 means all light is blocked, 0 means no light is blocked (all light is going through the block).
Examples
// Default value
opacity = 255;
// Default value button, chest, pressure plate, step, torch, pane, ladder, fence, crossTexture, trapDoor, door, fenceGate, wall, wheat opacity = 0;
// Default value fluid
opacity = 3;
opacity = 123;
opacity = 255;
// Default value button, chest, pressure plate, step, torch, pane, ladder, fence, crossTexture, trapDoor, door, fenceGate, wall, wheat opacity = 0;
// Default value fluid
opacity = 3;
opacity = 123;