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

Enumerations

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

Functions

BlockState DetectorRail ()
 
constexpr BlockState DetectorRail (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 6407 of file BlockStates.h.

Function Documentation

◆ DetectorRail() [1/2]

BlockState Block::DetectorRail::DetectorRail ( )

Definition at line 3939 of file BlockStates.cpp.

◆ DetectorRail() [2/2]

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

Definition at line 6416 of file BlockStates.h.

◆ Powered()

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

Definition at line 3943 of file BlockStates.cpp.

◆ Shape()

Definition at line 3943 of file BlockStates.cpp.