diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-12-21 14:54:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 14:54:04 +0100 |
commit | 9518a273570e8d38438c2a29aa10f987e7d44ce1 (patch) | |
tree | 11806582f5e27bad01ae96705f75f431ec3e9caf /src/Protocol/Palettes/Upgrade.h | |
parent | Improve Enderman targeting (diff) | |
download | cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.gz cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.bz2 cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.lz cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.xz cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.zst cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Palettes/Upgrade.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Protocol/Palettes/Upgrade.h b/src/Protocol/Palettes/Upgrade.h index 4d75009ee..f0aa87095 100644 --- a/src/Protocol/Palettes/Upgrade.h +++ b/src/Protocol/Palettes/Upgrade.h @@ -1,11 +1,12 @@ #pragma once -#include "../../BlockType.h" -#include "../../Registries/Items.h" +#include "ChunkDef.h" +#include "BlockState.h" +#include "Registries/Items.h" namespace PaletteUpgrade { - short FromBlock(BLOCKTYPE Block, NIBBLETYPE Meta); + BlockState FromBlock(BLOCKTYPE Block, NIBBLETYPE Meta); Item FromItem(short Item, short Damage); std::pair<short, short> ToItem(Item ID); } |