Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundInitializeBorderPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
2#pragma once
3
5
6namespace ProtocolCraft
7{
8 class ClientboundInitializeBorderPacket : public BaseMessage<ClientboundInitializeBorderPacket>
9 {
10 public:
11 static constexpr std::string_view packet_name = "Initialize Border";
12
13 SERIALIZED_FIELD(NewCenterX, double);
14 SERIALIZED_FIELD(NewCenterZ, double);
15 SERIALIZED_FIELD(OldSize, double);
16 SERIALIZED_FIELD(NewSize, double);
18 SERIALIZED_FIELD(NewAbsoluteMaxSize, VarInt);
19 SERIALIZED_FIELD(WarningBlocks, VarInt);
20 SERIALIZED_FIELD(WarningTime, VarInt);
21
23 };
24} //ProtocolCraft
25#endif
SERIALIZED_FIELD(NewAbsoluteMaxSize, VarInt)