summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Palettes/Palette_1_13_1.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-12-21 14:54:04 +0100
committerGitHub <noreply@github.com>2020-12-21 14:54:04 +0100
commit9518a273570e8d38438c2a29aa10f987e7d44ce1 (patch)
tree11806582f5e27bad01ae96705f75f431ec3e9caf /src/Protocol/Palettes/Palette_1_13_1.h
parentImprove Enderman targeting (diff)
downloadcuberite-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_13_1.h')
-rw-r--r--src/Protocol/Palettes/Palette_1_13_1.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Protocol/Palettes/Palette_1_13_1.h b/src/Protocol/Palettes/Palette_1_13_1.h
index 2e01fef49..02085aa2b 100644
--- a/src/Protocol/Palettes/Palette_1_13_1.h
+++ b/src/Protocol/Palettes/Palette_1_13_1.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_13_1
{
- UInt32 FromBlock(short ID);
- UInt32 FromItem(Item ID);
+ UInt32 From(BlockState Block);
+ UInt32 From(Item ID);
UInt32 From(Statistic ID);
Item ToItem(UInt32 ID);
}