Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundRecipeBookAddPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
3
6
7#include <vector>
8
9namespace ProtocolCraft
10{
11 class ClientboundRecipeBookAddPacket : public BaseMessage<ClientboundRecipeBookAddPacket>
12 {
13 public:
14 static constexpr std::string_view packet_name = "Recipe Book Add";
15
16 SERIALIZED_FIELD(Entries, std::vector<RecipeBookAddEntry>);
17 SERIALIZED_FIELD(Replace, bool);
18
20 };
21} //ProtocolCraft
22#endif
SERIALIZED_FIELD(Entries, std::vector< RecipeBookAddEntry >)