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

Enumerations

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

Functions

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

◆ Hinge

Enumerator
Left 
Right 

Definition at line 4694 of file BlockStates.h.

Function Documentation

◆ CrimsonDoor() [1/2]

BlockState Block::CrimsonDoor::CrimsonDoor ( )

Definition at line 2759 of file BlockStates.cpp.

◆ CrimsonDoor() [2/2]

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

Definition at line 4699 of file BlockStates.h.

◆ Facing()

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

Definition at line 2763 of file BlockStates.cpp.

◆ Half()

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

Definition at line 2763 of file BlockStates.cpp.

◆ Hinge()

Definition at line 2763 of file BlockStates.cpp.

◆ Open()

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

Definition at line 2789 of file BlockStates.cpp.

◆ Powered()

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

Definition at line 2797 of file BlockStates.cpp.