mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 06:39:07 +02:00
resource: do not require Biome to get color for all block types
Only grass, foliage and water have biome-dependent colors.
This commit is contained in:
parent
45171aa26a
commit
0a485343a0
3 changed files with 21 additions and 7 deletions
|
@ -91,7 +91,7 @@ impl BlockTypes {
|
|||
}
|
||||
|
||||
pub use biomes::{Biome, BiomeGrassColorModifier};
|
||||
pub use block_color::block_color;
|
||||
pub use block_color::{block_color, needs_biome};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct BiomeTypes {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue