Botcraft 26.2
Loading...
Searching...
No Matches
RecipeDisplayEntry.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
3
7
8#include <optional>
9#include <vector>
10
11namespace ProtocolCraft
12{
14 {
17 SERIALIZED_FIELD(Group, VarInt); // technically an optional varint but encoded as i == 0 -> empty, i > 0 -> i - 1
19 SERIALIZED_FIELD(CraftingRequirements, std::optional<std::vector<Ingredient>>);
20
22 };
23}
24#endif
SERIALIZED_FIELD(Category, VarInt)
SERIALIZED_FIELD(Display, RecipeDisplay)
SERIALIZED_FIELD(CraftingRequirements, std::optional< std::vector< Ingredient > >)