diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-18 15:22:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-18 20:23:10 +0200 |
commit | 7425305154fb0005fde9f077cd30100c53d511a4 (patch) | |
tree | 0aeba36b1443daae94c38fe1a45075d1d31bd221 /src/Protocol/Palettes/Upgrade.h | |
parent | Move IsValidSocket out of global namespace (diff) | |
download | cuberite-7425305154fb0005fde9f077cd30100c53d511a4.tar cuberite-7425305154fb0005fde9f077cd30100c53d511a4.tar.gz cuberite-7425305154fb0005fde9f077cd30100c53d511a4.tar.bz2 cuberite-7425305154fb0005fde9f077cd30100c53d511a4.tar.lz cuberite-7425305154fb0005fde9f077cd30100c53d511a4.tar.xz cuberite-7425305154fb0005fde9f077cd30100c53d511a4.tar.zst cuberite-7425305154fb0005fde9f077cd30100c53d511a4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Palettes/Upgrade.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Protocol/Palettes/Upgrade.h b/src/Protocol/Palettes/Upgrade.h new file mode 100644 index 000000000..4408fa755 --- /dev/null +++ b/src/Protocol/Palettes/Upgrade.h @@ -0,0 +1,11 @@ +#pragma once + +#include "../../BlockType.h" +#include "../../Registries/Items.h" + +namespace PaletteUpgrade +{ + short FromBlock(BLOCKTYPE Block, NIBBLETYPE Meta); + Item FromItem(short Item, short Meta); + std::pair<short, short> ToItem(Item ID); +} |