Botcraft 26.3
Loading...
Searching...
No Matches
RecipeDisplay.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
3
6
7#include <memory>
8
9namespace ProtocolCraft
10{
21
22 class RecipeDisplayData;
23
33}
34#endif
SERIALIZED_DYNAMIC_FIELD(RecipeDisplay, Type, Data, RecipeDisplayData, RecipeDisplay::CreateRecipeDisplayData, Internal::DiffType< RecipeDisplayDataType, VarInt >)
static std::shared_ptr< RecipeDisplayData > CreateRecipeDisplayData(const RecipeDisplayDataType type)
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...
Definition Templates.hpp:72