Botcraft 1.21.4
Loading...
Searching...
No Matches
DataComponentTypeFoodProperties.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
5
6#include <vector>
7
8namespace ProtocolCraft
9{
10 namespace Components
11 {
13 {
15 SERIALIZED_FIELD(Saturation, float);
16 SERIALIZED_FIELD(CanAlwaysEat, bool);
17 SERIALIZED_FIELD(EatSeconds, float);
18 SERIALIZED_FIELD(Effects, std::vector<PossibleEffect>);
19
21 };
22 }
23}
24#endif
SERIALIZED_FIELD(Effects, std::vector< PossibleEffect >)