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

Enumerations

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

Functions

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

Enumeration Type Documentation

◆ Shape

Enumerator
NorthSouth 
EastWest 
AscendingEast 
AscendingWest 
AscendingNorth 
AscendingSouth 

Definition at line 16916 of file BlockStates.h.

Function Documentation

◆ Powered()

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

Definition at line 8844 of file BlockStates.cpp.

◆ PoweredRail() [1/2]

BlockState Block::PoweredRail::PoweredRail ( )

Definition at line 8840 of file BlockStates.cpp.

◆ PoweredRail() [2/2]

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

Definition at line 16925 of file BlockStates.h.

◆ Shape()

Definition at line 8844 of file BlockStates.cpp.