Botcraft 26.2
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#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
9#endif
10
11#include <optional>
12
13namespace ProtocolCraft
14{
15 namespace Components
16 {
18 {
19 SERIALIZED_FIELD(Blocks, std::optional<HolderSet>);
20 SERIALIZED_FIELD(Properties, std::optional<StatePropertiesPredicate>);
21 SERIALIZED_FIELD(Nbt, std::optional<NBT::UnnamedValue>);
22#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
24#endif
25
27 };
28 }
29}
30#endif
SERIALIZED_FIELD(Blocks, std::optional< HolderSet >)
SERIALIZED_FIELD(Components, DataComponentMatchers)
SERIALIZED_FIELD(Nbt, std::optional< NBT::UnnamedValue >)
SERIALIZED_FIELD(Properties, std::optional< StatePropertiesPredicate >)