From 9518a273570e8d38438c2a29aa10f987e7d44ce1 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 21 Dec 2020 13:54:04 +0000 Subject: 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 --- src/Registries/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Registries/CMakeLists.txt') diff --git a/src/Registries/CMakeLists.txt b/src/Registries/CMakeLists.txt index 906433f76..31102881d 100644 --- a/src/Registries/CMakeLists.txt +++ b/src/Registries/CMakeLists.txt @@ -1,9 +1,10 @@ target_sources( ${CMAKE_PROJECT_NAME} PRIVATE - Blocks.cpp + BlockStates.cpp - Blocks.h + BlockStates.h + BlockTypes.h Items.h Statistics.h ) \ No newline at end of file -- cgit v1.2.3