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

Enumerations

enum class  Type { Normal , Sticky }
 

Functions

eBlockFace Facing (const BlockState Block)
 
BlockState PistonHead ()
 
constexpr BlockState PistonHead (const eBlockFace Facing, const bool Short, const enum Type Type)
 
bool Short (const BlockState Block)
 
enum Type Type (const BlockState Block)
 

Enumeration Type Documentation

◆ Type

Enumerator
Normal 
Sticky 

Definition at line 15428 of file BlockStates.h.

Function Documentation

◆ Facing()

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

Definition at line 8195 of file BlockStates.cpp.

◆ PistonHead() [1/2]

BlockState Block::PistonHead::PistonHead ( )

Definition at line 8191 of file BlockStates.cpp.

◆ PistonHead() [2/2]

constexpr BlockState Block::PistonHead::PistonHead ( const eBlockFace  Facing,
const bool  Short,
const enum Type  Type 
)
constexpr

Definition at line 15433 of file BlockStates.h.

◆ Short()

bool Block::PistonHead::Short ( const BlockState  Block)

Definition at line 8207 of file BlockStates.cpp.

◆ Type()

enum Type Block::PistonHead::Type ( const BlockState  Block)

Definition at line 8207 of file BlockStates.cpp.