Botcraft 1.21.4
Loading...
Searching...
No Matches
DataComponentTypeEquippable.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
8
9#include <optional>
10
11namespace ProtocolCraft
12{
13 namespace Components
14 {
16 {
19 SERIALIZED_FIELD(Model, std::optional<Identifier>);
20 SERIALIZED_FIELD(CameraOverlay, std::optional<Identifier>);
21 SERIALIZED_FIELD(AllowedEntities, std::optional<HolderSet>);
22 SERIALIZED_FIELD(Dispensable, bool);
23 SERIALIZED_FIELD(Swappable, bool);
24 SERIALIZED_FIELD(DamageOnHurt, bool);
25
27 };
28 }
29}
30#endif
SERIALIZED_FIELD(CameraOverlay, std::optional< Identifier >)
SERIALIZED_FIELD(AllowedEntities, std::optional< HolderSet >)
SERIALIZED_FIELD(EquipSound, Holder< SoundEvent >)
SERIALIZED_FIELD(Model, std::optional< Identifier >)