Cuberite
A lightweight, fast and extensible game server for Minecraft
Enumerations | Functions
Block::AcaciaDoor Namespace Reference

Enumerations

enum class  Half { Upper , Lower }
 
enum class  Hinge { Left , Right }
 

Functions

BlockState AcaciaDoor ()
 
constexpr BlockState AcaciaDoor (const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
 
eBlockFace Facing (const BlockState Block)
 
enum Half Half (const BlockState Block)
 
enum Hinge Hinge (const BlockState Block)
 
bool Open (const BlockState Block)
 
bool Powered (const BlockState Block)
 

Enumeration Type Documentation

◆ Half

Enumerator
Upper 
Lower 

Definition at line 66 of file BlockStates.h.

◆ Hinge

Enumerator
Left 
Right 

Definition at line 71 of file BlockStates.h.

Function Documentation

◆ AcaciaDoor() [1/2]

BlockState Block::AcaciaDoor::AcaciaDoor ( )

Definition at line 41 of file BlockStates.cpp.

◆ AcaciaDoor() [2/2]

constexpr BlockState Block::AcaciaDoor::AcaciaDoor ( const eBlockFace  Facing,
const enum Half  Half,
const enum Hinge  Hinge,
const bool  Open,
const bool  Powered 
)
constexpr

Definition at line 76 of file BlockStates.h.

◆ Facing()

eBlockFace Block::AcaciaDoor::Facing ( const BlockState  Block)

Definition at line 45 of file BlockStates.cpp.

◆ Half()

enum Half Block::AcaciaDoor::Half ( const BlockState  Block)

Definition at line 45 of file BlockStates.cpp.

◆ Hinge()

enum Hinge Block::AcaciaDoor::Hinge ( const BlockState  Block)

Definition at line 45 of file BlockStates.cpp.

◆ Open()

bool Block::AcaciaDoor::Open ( const BlockState  Block)

Definition at line 71 of file BlockStates.cpp.

◆ Powered()

bool Block::AcaciaDoor::Powered ( const BlockState  Block)

Definition at line 79 of file BlockStates.cpp.