Skip to main content

get_light_opacity

Function get_light_opacity 

Source
pub fn get_light_opacity(state: BlockStateId) -> u8
Expand description

Returns vanilla’s simple opacity for light propagation.

Vanilla clamps block light dampening to at least one while propagating through neighbors.