Lodestone.Level
Loading...
Searching...
No Matches
AirBlock.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 1/22/26 using zPc-i2.
3//
4#ifndef LODESTONE_AIRBLOCK_H
5#define LODESTONE_AIRBLOCK_H
7
9 class AirBlock : public TranslucentBlock {
10 public:
13: TranslucentBlock(id, material, definition) {
14 };
15
16 constexpr bool heightmapShouldIgnore() const override {
17 return true;
18 };
19
20 bool hasCollision() const override {
21 return false;
22 }
23 };
24}
25
26#endif // LODESTONE_AIRBLOCK_H
constexpr bool heightmapShouldIgnore() const override
Definition AirBlock.h:16
bool hasCollision() const override
Definition AirBlock.h:20
constexpr AirBlock(const common::registry::Identifier *id, const material::Material &material, const properties::definition::ObjectDefinition *definition)
Definition AirBlock.h:11
constexpr TranslucentBlock(const lodestone::common::registry::Identifier *id, const lodestone::level::material::Material &material, const properties::definition::ObjectDefinition *definition)
Definition TranslucentBlock.h:13
Definition Material.h:11
Definition AirBlock.h:8
Definition Material.cpp:6