mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add 'sound-absorption' block material parameter
This commit is contained in:
parent
b355e4568d
commit
20155b88d0
14 changed files with 82 additions and 28 deletions
|
|
@ -147,6 +147,7 @@ struct BlockMaterial : Serializable {
|
|||
std::string placeSound;
|
||||
std::string breakSound;
|
||||
std::string hitSound;
|
||||
float soundAbsorption = 0.5f;
|
||||
|
||||
dv::value toTable() const; // for compatibility
|
||||
dv::value serialize() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue