mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
resource: make seagrass opaque
See changelog for rationale.
This commit is contained in:
parent
b8a5d1580b
commit
7686996fd3
4 changed files with 12 additions and 5 deletions
|
@ -49,6 +49,13 @@
|
||||||
|
|
||||||
This should have no noticable effect on the usage of MinedMap, but avoids
|
This should have no noticable effect on the usage of MinedMap, but avoids
|
||||||
an external build dependency on CMake.
|
an external build dependency on CMake.
|
||||||
|
- Small (1-block) seagrass is now visible on the map
|
||||||
|
|
||||||
|
1-block seagrass in 1-block deep water would previously result in the ground
|
||||||
|
to be shown instead of water, as MinedMap currently doesn't handle the
|
||||||
|
"waterlogged" block status. As 1-block seagrass is relatively big compared to
|
||||||
|
other "small" plants, just considering it opaque seems like a good enough
|
||||||
|
solution that avoids having to implement advanced block status flags.
|
||||||
|
|
||||||
## [2.4.0] - 2025-01-11
|
## [2.4.0] - 2025-01-11
|
||||||
|
|
||||||
|
|
|
@ -8692,8 +8692,8 @@ pub const BLOCK_TYPES: &[(&str, ConstBlockType)] = &[
|
||||||
"seagrass",
|
"seagrass",
|
||||||
ConstBlockType {
|
ConstBlockType {
|
||||||
block_color: BlockColor {
|
block_color: BlockColor {
|
||||||
flags: make_bitflags!(BlockFlag::{}),
|
flags: make_bitflags!(BlockFlag::{Opaque}),
|
||||||
color: Color([0, 0, 0]),
|
color: Color([50, 126, 8]),
|
||||||
},
|
},
|
||||||
sign_material: None,
|
sign_material: None,
|
||||||
},
|
},
|
||||||
|
|
|
@ -1781,7 +1781,7 @@
|
||||||
"sculk_vein": {},
|
"sculk_vein": {},
|
||||||
"sea_lantern": {},
|
"sea_lantern": {},
|
||||||
"sea_pickle": {},
|
"sea_pickle": {},
|
||||||
"seagrass": null,
|
"seagrass": {},
|
||||||
"short_grass": null,
|
"short_grass": null,
|
||||||
"shroomlight": {},
|
"shroomlight": {},
|
||||||
"shulker_box": {},
|
"shulker_box": {},
|
||||||
|
|
|
@ -25,7 +25,7 @@ use crate::{
|
||||||
///
|
///
|
||||||
/// Increase when the generation of processed regions from region data changes
|
/// Increase when the generation of processed regions from region data changes
|
||||||
/// (usually because of updated resource data)
|
/// (usually because of updated resource data)
|
||||||
pub const REGION_FILE_META_VERSION: FileMetaVersion = FileMetaVersion(4);
|
pub const REGION_FILE_META_VERSION: FileMetaVersion = FileMetaVersion(5);
|
||||||
|
|
||||||
/// MinedMap map tile data version number
|
/// MinedMap map tile data version number
|
||||||
///
|
///
|
||||||
|
@ -37,7 +37,7 @@ pub const MAP_FILE_META_VERSION: FileMetaVersion = FileMetaVersion(0);
|
||||||
///
|
///
|
||||||
/// Increase when the generation of lightmap tiles from region data changes
|
/// Increase when the generation of lightmap tiles from region data changes
|
||||||
/// (usually because of updated resource data)
|
/// (usually because of updated resource data)
|
||||||
pub const LIGHTMAP_FILE_META_VERSION: FileMetaVersion = FileMetaVersion(3);
|
pub const LIGHTMAP_FILE_META_VERSION: FileMetaVersion = FileMetaVersion(4);
|
||||||
|
|
||||||
/// MinedMap mipmap data version number
|
/// MinedMap mipmap data version number
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Reference in a new issue