1#if PROTOCOL_VERSION > 347 && PROTOCOL_VERSION < 768
8#if PROTOCOL_VERSION > 765
14#if PROTOCOL_VERSION > 765
15 enum class RecipeDataType
20 CraftingSpecialArmordye,
21 CraftingSpecialBookcloning,
22 CraftingSpecialMapcloning,
23 CraftingSpecialMapextending,
24 CraftingSpecialFireworkRocket,
25 CraftingSpecialFireworkStar,
26 CraftingSpecialFireworkStarFade,
27 CraftingSpecialTippedarrow,
28 CraftingSpecialBannerduplicate,
29 CraftingSpecialShielddecoration,
30 CraftingSpecialShulkerboxcoloring,
31 CraftingSpecialSuspiciousstew,
32 CraftingSpecialRepairitem,
47 class Recipe :
public NetworkType
50#if PROTOCOL_VERSION < 766
63 virtual ~Recipe()
override;
65#if PROTOCOL_VERSION < 766
66 Recipe& SetType(
const Identifier& type_);
68 Recipe& SetType(
const RecipeDataType type_);
72#if PROTOCOL_VERSION > 765
73 std::string_view GetName()
const;
#define SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Name,...)
Define a field that will be automatically integrated in Read/Write and Json serialization We start by...
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)