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

Enumerations

enum class  Type { Normal , Sticky }
 

Functions

eBlockFace Facing (const BlockState Block)
 
BlockState MovingPiston ()
 
constexpr BlockState MovingPiston (const eBlockFace Facing, const enum Type Type)
 
enum Type Type (const BlockState Block)
 

Enumeration Type Documentation

◆ Type

Enumerator
Normal 
Sticky 

Definition at line 12401 of file BlockStates.h.

Function Documentation

◆ Facing()

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

Definition at line 6996 of file BlockStates.cpp.

◆ MovingPiston() [1/2]

BlockState Block::MovingPiston::MovingPiston ( )

Definition at line 6992 of file BlockStates.cpp.

◆ MovingPiston() [2/2]

constexpr BlockState Block::MovingPiston::MovingPiston ( const eBlockFace  Facing,
const enum Type  Type 
)
constexpr

Definition at line 12406 of file BlockStates.h.

◆ Type()

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

Definition at line 6996 of file BlockStates.cpp.