Botcraft 1.21.10
Loading...
Searching...
No Matches
ClientboundSetDefaultSpawnPositionPacket.hpp
Go to the documentation of this file.
1#pragma once
2
4#if PROTOCOL_VERSION < 773 /* < 1.21.9 */
6#else
8#endif
9
10namespace ProtocolCraft
11{
12 class ClientboundSetDefaultSpawnPositionPacket : public BasePacket<ClientboundSetDefaultSpawnPositionPacket>
13 {
14 public:
15 static constexpr std::string_view packet_name = "Set Default Spawn Position";
16
17#if PROTOCOL_VERSION < 773 /* < 1.21.9 */
19#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
20 SERIALIZED_FIELD(Angle, float);
21#endif
22#else
24#endif
25
27 };
28} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(RespawnData, LevelDataRespawnData)