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

Enumerations

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

Functions

BlockState BirchDoor ()
 
constexpr BlockState BirchDoor (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 1423 of file BlockStates.h.

◆ Hinge

Enumerator
Left 
Right 

Definition at line 1428 of file BlockStates.h.

Function Documentation

◆ BirchDoor() [1/2]

BlockState Block::BirchDoor::BirchDoor ( )

Definition at line 829 of file BlockStates.cpp.

◆ BirchDoor() [2/2]

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

Definition at line 1433 of file BlockStates.h.

◆ Facing()

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

Definition at line 833 of file BlockStates.cpp.

◆ Half()

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

Definition at line 833 of file BlockStates.cpp.

◆ Hinge()

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

Definition at line 833 of file BlockStates.cpp.

◆ Open()

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

Definition at line 859 of file BlockStates.cpp.

◆ Powered()

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

Definition at line 867 of file BlockStates.cpp.