Cuberite
A lightweight, fast and extensible game server for Minecraft
Enumerations | Functions
Block::OakDoor 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)
 
BlockState OakDoor ()
 
constexpr BlockState OakDoor (const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
 
bool Open (const BlockState Block)
 
bool Powered (const BlockState Block)
 

Enumeration Type Documentation

◆ Half

enum Block::OakDoor::Half
strong
Enumerator
Upper 
Lower 

Definition at line 14382 of file BlockStates.h.

◆ Hinge

enum Block::OakDoor::Hinge
strong
Enumerator
Left 
Right 

Definition at line 14387 of file BlockStates.h.

Function Documentation

◆ Facing()

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

Definition at line 7390 of file BlockStates.cpp.

◆ Half()

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

Definition at line 7390 of file BlockStates.cpp.

◆ Hinge()

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

Definition at line 7390 of file BlockStates.cpp.

◆ OakDoor() [1/2]

BlockState Block::OakDoor::OakDoor ( )

Definition at line 7386 of file BlockStates.cpp.

◆ OakDoor() [2/2]

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

Definition at line 14392 of file BlockStates.h.

◆ Open()

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

Definition at line 7416 of file BlockStates.cpp.

◆ Powered()

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

Definition at line 7424 of file BlockStates.cpp.