Botcraft
1.21.5
Loading...
Searching...
No Matches
BeehiveBlockEntityOccupant.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
2
#pragma once
3
#include "
protocolCraft/NetworkType.hpp
"
4
#include "
protocolCraft/Types/Components/DataComponentTypeCustomData.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
namespace
Components
9
{
10
class
BeehiveBlockEntityOccupant
:
public
NetworkType
11
{
12
SERIALIZED_FIELD
(
EntityData
,
DataComponentTypeCustomData
);
13
SERIALIZED_FIELD
(TicksInHive,
VarInt
);
14
SERIALIZED_FIELD
(MinTicksInHive,
VarInt
);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
19
}
20
#endif
DataComponentTypeCustomData.hpp
NetworkType.hpp
ProtocolCraft::Components::BeehiveBlockEntityOccupant
Definition
BeehiveBlockEntityOccupant.hpp:11
ProtocolCraft::Components::BeehiveBlockEntityOccupant::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
BeehiveBlockEntityOccupant.hpp:16
ProtocolCraft::Components::BeehiveBlockEntityOccupant::SERIALIZED_FIELD
SERIALIZED_FIELD(TicksInHive, VarInt)
ProtocolCraft::Components::BeehiveBlockEntityOccupant::SERIALIZED_FIELD
SERIALIZED_FIELD(EntityData, DataComponentTypeCustomData)
ProtocolCraft::Components::BeehiveBlockEntityOccupant::SERIALIZED_FIELD
SERIALIZED_FIELD(MinTicksInHive, VarInt)
ProtocolCraft::Components::DataComponentTypeCustomData
Definition
DataComponentTypeCustomData.hpp:11
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft::Components::DataComponentTypes::EntityData
@ EntityData
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Types
Components
Subtypes
BeehiveBlockEntityOccupant.hpp
Generated by
1.9.8