Enum VanillaTint
pub enum VanillaTint {
Constant(u32),
ConstantSplit {
hand: u32,
world: u32,
},
Grass,
GrassBlock,
DoubleTallGrass,
SugarCane,
Foliage,
DryFoliage,
Water,
WaterParticles,
Redstone,
Stem,
}Expand description
One of vanilla’s tint sources (BlockTintSources), as the game colours its own blocks with it.
Variants§
Constant(u32)
constant(color): one ARGB colour everywhere.
ConstantSplit
constant(colorInHand, colorInWorld): hand without a world, world in it (the lily pad).
Fields
Grass
grass(): the biome’s grass colour.
GrassBlock
grassBlock(): the biome’s grass colour, but none on its particles.
DoubleTallGrass
doubleTallGrass(): grass colour, the upper half’s taken at the lower half.
SugarCane
sugarCane(): grass colour in the world, none without one.
Foliage
foliage(): the biome’s foliage colour.
DryFoliage
dryFoliage(): the biome’s dry foliage colour.
Water
water(): the biome’s water colour in the world, none without one.
WaterParticles
waterParticles(): no colour in the world; the water colour on particles.
Redstone
redstone(): the colour of the state’s power (0 to 15).
Stem
stem(): the colour of the state’s age (0 to 7).
Trait Implementations§
§impl Clone for VanillaTint
impl Clone for VanillaTint
§fn clone(&self) -> VanillaTint
fn clone(&self) -> VanillaTint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more