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

Enumerations

enum class  Shape {
  NorthSouth , EastWest , AscendingEast , AscendingWest ,
  AscendingNorth , AscendingSouth
}
 

Functions

BlockState ActivatorRail ()
 
constexpr BlockState ActivatorRail (const bool Powered, const enum Shape Shape)
 
bool Powered (const BlockState Block)
 
enum Shape Shape (const BlockState Block)
 

Enumeration Type Documentation

◆ Shape

Enumerator
NorthSouth 
EastWest 
AscendingEast 
AscendingWest 
AscendingNorth 
AscendingSouth 

Definition at line 619 of file BlockStates.h.

Function Documentation

◆ ActivatorRail() [1/2]

BlockState Block::ActivatorRail::ActivatorRail ( )

Definition at line 402 of file BlockStates.cpp.

◆ ActivatorRail() [2/2]

constexpr BlockState Block::ActivatorRail::ActivatorRail ( const bool  Powered,
const enum Shape  Shape 
)
constexpr

Definition at line 628 of file BlockStates.h.

◆ Powered()

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

Definition at line 406 of file BlockStates.cpp.

◆ Shape()

Definition at line 406 of file BlockStates.cpp.