Botcraft 1.21.5
Loading...
Searching...
No Matches
BlockPredicate.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
7
8#include <optional>
9
10namespace ProtocolCraft
11{
12 namespace Components
13 {
15 {
16 SERIALIZED_FIELD(Blocks, std::optional<HolderSet>);
17 SERIALIZED_FIELD(Properties, std::optional<StatePropertiesPredicate>);
18 SERIALIZED_FIELD(Nbt, std::optional<NBT::UnnamedValue>);
19
21 };
22 }
23}
24#endif
SERIALIZED_FIELD(Blocks, std::optional< HolderSet >)
SERIALIZED_FIELD(Nbt, std::optional< NBT::UnnamedValue >)
SERIALIZED_FIELD(Properties, std::optional< StatePropertiesPredicate >)