1
0
cuberite-2a/src/Protocol/Palettes/Palette_1_15.h
Tiger Wang 9518a27357
Prepare for 1.15+ (#4856)
+ Add type-safe container for states
* Split registry Blocks into BlockTypes, BlockStates so the block types enumeration can be #included without too much penalty
* Ensure Registry uses type-safe container
2020-12-21 13:54:04 +00:00

14 lines
239 B
C++

#pragma once
#include "BlockState.h"
#include "Registries/Items.h"
#include "Registries/Statistics.h"
namespace Palette_1_15
{
UInt32 From(BlockState Block);
UInt32 From(Item ID);
UInt32 From(Statistic ID);
Item ToItem(UInt32 ID);
}