Cuberite
A lightweight, fast and extensible game server for Minecraft
Upgrade.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "ChunkDef.h"
4 #include "BlockState.h"
5 #include "Registries/Items.h"
6 
7 namespace PaletteUpgrade
8 {
10  Item FromItem(short Item, short Damage);
11  std::pair<short, short> ToItem(Item ID);
12 }
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
Definition: ChunkDef.h:44
unsigned char BLOCKTYPE
The datatype used by blockdata.
Definition: ChunkDef.h:41
Item
Definition: Items.h:4
Item FromItem(const short Item, const short Damage)
Definition: Upgrade.cpp:1708
std::pair< short, short > ToItem(const Item ID)
Definition: Upgrade.cpp:2519
BlockState FromBlock(const BLOCKTYPE Block, const NIBBLETYPE Meta)
Definition: Upgrade.cpp:8
Represents the state of a single block (previously known as "block meta").
Definition: BlockState.h:20