Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
PaletteUpgrade Namespace Reference

Functions

BlockState FromBlock (const BLOCKTYPE Block, const NIBBLETYPE Meta)
 
Item FromItem (const short Item, const short Damage)
 
std::pair< short, short > ToItem (const Item ID)
 

Function Documentation

◆ FromBlock()

BlockState PaletteUpgrade::FromBlock ( const BLOCKTYPE  Block,
const NIBBLETYPE  Meta 
)

Definition at line 8 of file Upgrade.cpp.

◆ FromItem()

Item PaletteUpgrade::FromItem ( const short  Item,
const short  Damage 
)

Definition at line 1708 of file Upgrade.cpp.

◆ ToItem()

std::pair< short, short > PaletteUpgrade::ToItem ( const Item  ID)

Definition at line 2519 of file Upgrade.cpp.