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/Palette_1_14.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 'src/Protocol/Palettes/Palette_1_14.h')
-rw-r--r-- | src/Protocol/Palettes/Palette_1_14.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Protocol/Palettes/Palette_1_14.h b/src/Protocol/Palettes/Palette_1_14.h index 1bb5ffa85..037d9b4c1 100644 --- a/src/Protocol/Palettes/Palette_1_14.h +++ b/src/Protocol/Palettes/Palette_1_14.h @@ -1,12 +1,13 @@ #pragma once -#include "../../Registries/Items.h" -#include "../../Registries/Statistics.h" +#include "BlockState.h" +#include "Registries/Items.h" +#include "Registries/Statistics.h" namespace Palette_1_14 { - UInt32 FromBlock(short ID); - UInt32 FromItem(Item ID); + UInt32 From(BlockState Block); + UInt32 From(Item ID); UInt32 From(Statistic ID); Item ToItem(UInt32 ID); } |