Botcraft 1.21.4
Loading...
Searching...
No Matches
RecipeDataCraftingShapeless.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 347 /* > 1.12.2 */ && PROTOCOL_VERSION < 768 /* < 1.21.2 */
2#pragma once
3
7
8namespace ProtocolCraft
9{
10 class RecipeDataCraftingShapeless : public RecipeData
11 {
12 SERIALIZED_FIELD(Group, std::string);
13#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
14 SERIALIZED_FIELD(CookingBookCategory, VarInt);
15#endif
16 SERIALIZED_FIELD(Ingredients, std::vector<Ingredient>);
17 SERIALIZED_FIELD(Result, Slot);
18
20 };
21}
22#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)