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

Enumerations

enum class  Face { Floor , Wall , Ceiling }
 

Functions

enum Face Face (const BlockState Block)
 
eBlockFace Facing (const BlockState Block)
 
BlockState Lever ()
 
constexpr BlockState Lever (const enum Face Face, const eBlockFace Facing, const bool Powered)
 
bool Powered (const BlockState Block)
 

Enumeration Type Documentation

◆ Face

enum Block::Lever::Face
strong
Enumerator
Floor 
Wall 
Ceiling 

Definition at line 10712 of file BlockStates.h.

Function Documentation

◆ Face()

enum Face Block::Lever::Face ( const BlockState  Block)

Definition at line 5961 of file BlockStates.cpp.

◆ Facing()

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

Definition at line 5974 of file BlockStates.cpp.

◆ Lever() [1/2]

BlockState Block::Lever::Lever ( )

Definition at line 5961 of file BlockStates.cpp.

◆ Lever() [2/2]

constexpr BlockState Block::Lever::Lever ( const enum Face  Face,
const eBlockFace  Facing,
const bool  Powered 
)
constexpr

Definition at line 10718 of file BlockStates.h.

◆ Powered()

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

Definition at line 5984 of file BlockStates.cpp.