Cuberite
A lightweight, fast and extensible game server for Minecraft
Enumerations | Functions
Block::IronDoor 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 IronDoor ()
 
constexpr BlockState IronDoor (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::IronDoor::Half
strong
Enumerator
Upper 
Lower 

Definition at line 9664 of file BlockStates.h.

◆ Hinge

Enumerator
Left 
Right 

Definition at line 9669 of file BlockStates.h.

Function Documentation

◆ Facing()

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

Definition at line 5263 of file BlockStates.cpp.

◆ Half()

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

Definition at line 5263 of file BlockStates.cpp.

◆ Hinge()

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

Definition at line 5263 of file BlockStates.cpp.

◆ IronDoor() [1/2]

BlockState Block::IronDoor::IronDoor ( )

Definition at line 5259 of file BlockStates.cpp.

◆ IronDoor() [2/2]

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

Definition at line 9674 of file BlockStates.h.

◆ Open()

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

Definition at line 5289 of file BlockStates.cpp.

◆ Powered()

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

Definition at line 5297 of file BlockStates.cpp.