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

Enumerations

enum class  Mode { Compare , Subtract }
 

Functions

BlockState Comparator ()
 
constexpr BlockState Comparator (const eBlockFace Facing, const enum Mode Mode, const bool Powered)
 
eBlockFace Facing (const BlockState Block)
 
enum Mode Mode (const BlockState Block)
 
bool Powered (const BlockState Block)
 

Enumeration Type Documentation

◆ Mode

Enumerator
Compare 
Subtract 

Definition at line 4496 of file BlockStates.h.

Function Documentation

◆ Comparator() [1/2]

BlockState Block::Comparator::Comparator ( )

Definition at line 2606 of file BlockStates.cpp.

◆ Comparator() [2/2]

constexpr BlockState Block::Comparator::Comparator ( const eBlockFace  Facing,
const enum Mode  Mode,
const bool  Powered 
)
constexpr

Definition at line 4501 of file BlockStates.h.

◆ Facing()

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

Definition at line 2610 of file BlockStates.cpp.

◆ Mode()

enum Mode Block::Comparator::Mode ( const BlockState  Block)

Definition at line 2610 of file BlockStates.cpp.

◆ Powered()

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

Definition at line 2628 of file BlockStates.cpp.