mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
Revert "remove 'translucent' block property (will be reverted later)"
This reverts commit 7aacadc926.
This commit is contained in:
parent
7a3a4476ea
commit
5793c52ac6
4 changed files with 7 additions and 1 deletions
|
|
@ -140,6 +140,7 @@ void Block::cloneTo(Block& dst) {
|
|||
dst.inventorySize = inventorySize;
|
||||
dst.tickInterval = tickInterval;
|
||||
dst.overlayTexture = overlayTexture;
|
||||
dst.translucent = translucent;
|
||||
if (particles) {
|
||||
dst.particles = std::make_unique<ParticlesPreset>(*particles);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,6 +172,9 @@ public:
|
|||
/// @brief Turns off block item generation
|
||||
bool hidden = false;
|
||||
|
||||
/// @brief Block has semi-transparent texture
|
||||
bool translucent = false;
|
||||
|
||||
/// @brief Set of block physical hitboxes
|
||||
std::vector<AABB> hitboxes;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue