Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PassengerOfBlockArguments.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/level/BlockPos.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12// clang-format on
13
15public:
16 // PassengerOfBlockArguments inner types define
17 enum class EmoteType : uchar {
18 Standing = 0,
19 Riding = 1,
20 Laying = 2,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
27 ::ll::TypedStorage<4, 12, ::Vec3> mOffset;
28 ::ll::TypedStorage<4, 4, float> mRotation;
29 ::ll::TypedStorage<4, 4, float> mRotationLimit;
30 ::ll::TypedStorage<1, 1, ::PassengerOfBlockArguments::EmoteType> mEmote;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI void addAdditionalSaveData(::CompoundTag& tag) const;
37
38 MCNAPI void readAdditionalSaveData(::CompoundTag const& tag);
39 // NOLINTEND
40
41public:
42 // static variables
43 // NOLINTBEGIN
44 MCNAPI static ::std::string_view const& ARGUMENTS_ID();
45
46 MCNAPI static ::std::string_view const& BLOCK_POS_ID();
47
48 MCNAPI static ::std::string_view const& EMOTE_ID();
49
50 MCNAPI static ::std::string_view const& OFFSET_ID();
51
52 MCNAPI static ::std::string_view const& ROTATION_ID();
53
54 MCNAPI static ::std::string_view const& ROTATION_LIMIT_ID();
55 // NOLINTEND
56};
Definition CompoundTag.h:18
Definition PassengerOfBlockArguments.h:14
static MCAPI ::std::string_view const & EMOTE_ID()
static MCAPI ::std::string_view const & ROTATION_LIMIT_ID()
MCAPI void readAdditionalSaveData(::CompoundTag const &tag)
static MCAPI ::std::string_view const & OFFSET_ID()
static MCAPI ::std::string_view const & ARGUMENTS_ID()
static MCAPI ::std::string_view const & ROTATION_ID()
static MCAPI ::std::string_view const & BLOCK_POS_ID()
MCAPI void addAdditionalSaveData(::CompoundTag &tag) const