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

Enumerations

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

Functions

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)
 
BlockState SpruceDoor ()
 
constexpr BlockState SpruceDoor (const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
 

Enumeration Type Documentation

◆ Half

Enumerator
Upper 
Lower 

Definition at line 22245 of file BlockStates.h.

◆ Hinge

Enumerator
Left 
Right 

Definition at line 22250 of file BlockStates.h.

Function Documentation

◆ Facing()

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

Definition at line 10670 of file BlockStates.cpp.

◆ Half()

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

Definition at line 10670 of file BlockStates.cpp.

◆ Hinge()

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

Definition at line 10670 of file BlockStates.cpp.

◆ Open()

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

Definition at line 10696 of file BlockStates.cpp.

◆ Powered()

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

Definition at line 10704 of file BlockStates.cpp.

◆ SpruceDoor() [1/2]

BlockState Block::SpruceDoor::SpruceDoor ( )

Definition at line 10666 of file BlockStates.cpp.

◆ SpruceDoor() [2/2]

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

Definition at line 22255 of file BlockStates.h.