Skip to main content

set_block_tint

Function set_block_tint 

Source
pub fn set_block_tint(dimension: &str, pos: BlockPos, color: Option<u32>)
Expand description

Tints the block at pos in dimension on this client — the faces of its model with a tint index — 0xRRGGBB; None clears it. The mod sends what to tint (its own packet); the tint lasts till cleared or the game closes.