Lodestone.Level
Loading...
Searching...
No Matches
projects
Libraries
Level
include
Lodestone.Level
block
blocks
TranslucentBlock.h
Go to the documentation of this file.
1
//
2
// Created by DexrnZacAttack on 1/22/26 using zPc-i2.
3
//
4
#ifndef LODESTONE_TRANSLUCENTBLOCK_H
5
#define LODESTONE_TRANSLUCENTBLOCK_H
6
#include "
Lodestone.Level/block/Block.h
"
7
8
namespace
lodestone::level::block::blocks
{
9
// transculent
10
// welcome back notch
11
class
TranslucentBlock
:
public
lodestone::level::block::Block
{
12
public
:
13
constexpr
TranslucentBlock
(
const
lodestone::common::registry::Identifier
*
id
,
14
const
lodestone::level::material::Material
&
material
,
const
properties::definition::ObjectDefinition
*definition)
15
:
Block
(id,
material
, definition) {
16
};
17
18
constexpr
bool
isTransparent
()
const override
{
19
return
true
;
20
}
21
};
22
}
23
24
#endif
// LODESTONE_TRANSLUCENTBLOCK_H
Block.h
lodestone::common::registry::Identifier
lodestone::level::block::Block
Definition
Block.h:18
lodestone::level::block::Block::Block
constexpr Block(const common::registry::Identifier *id, const material::Material &material, const properties::definition::ObjectDefinition *definition)
Definition
Block.h:20
lodestone::level::block::blocks::TranslucentBlock::isTransparent
constexpr bool isTransparent() const override
Definition
TranslucentBlock.h:18
lodestone::level::block::blocks::TranslucentBlock::TranslucentBlock
constexpr TranslucentBlock(const lodestone::common::registry::Identifier *id, const lodestone::level::material::Material &material, const properties::definition::ObjectDefinition *definition)
Definition
TranslucentBlock.h:13
lodestone::level::material::Material
Definition
Material.h:11
lodestone::level::properties::definition::ObjectDefinition
Definition
ObjectDefinition.h:11
lodestone::level::block::blocks
Definition
AirBlock.h:8
lodestone::level::material
Definition
Material.cpp:6
Generated by
1.15.0