Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ComponentItemData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Value.h"
7#include "mc/deps/shared_types/item/CreativeItemCategory.h"
8#include "mc/deps/shared_types/item/EnchantSlot.h"
9#include "mc/deps/shared_types/legacy/item/UseAnimation.h"
10
11// auto generated forward declare list
12// clang-format off
13class HashedString;
14// clang-format on
15
16namespace SharedTypes::Legacy {
17
18struct ComponentItemData {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mBlockType;
23 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString>> mTags;
24 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mCreativeGroup;
25 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mHoverTextColorFormat;
26 ::ll::TypedStorage<4, 8, ::std::optional<float>> mSpeed;
27 ::ll::TypedStorage<4, 8, ::std::optional<int>> mMaxUseDuration;
28 ::ll::TypedStorage<4, 8, ::std::optional<int>> mDamage;
29 ::ll::TypedStorage<4, 8, ::std::optional<int>> mEnchantValue;
30 ::ll::TypedStorage<4, 8, ::std::optional<int>> mFrameCount;
31 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::CreativeItemCategory>> mCreativeCategory;
32 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::Legacy::UseAnimation>> mUseAnim;
33 ::ll::TypedStorage<4, 8, ::std::optional<::SharedTypes::EnchantSlot>> mEnchantSlot;
34 ::ll::TypedStorage<1, 2, ::std::optional<uchar>> mMaxStackSize;
35 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsStackedByData;
36 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mHandEquipped;
37 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsLiquidClipped;
38 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mIsGlint;
39 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAllowOffhand;
40 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mCanDestroyInCreative;
41 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAnimatesInToolbar;
42 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mShouldDespawn;
43 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mRequiresInteract;
44 ::ll::TypedStorage<8, 24, ::std::optional<::Json::Value>> mItemJsonData;
45 ::ll::TypedStorage<8, 24, ::std::optional<::Json::Value>> mEvents;
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
50 ComponentItemData();
51
52public:
53 // member functions
54 // NOLINTBEGIN
56
57 MCNAPI ::SharedTypes::Legacy::ComponentItemData& operator=(::SharedTypes::Legacy::ComponentItemData&&);
58
59 MCNAPI ::SharedTypes::Legacy::ComponentItemData& operator=(::SharedTypes::Legacy::ComponentItemData const&);
60
62
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCNAPI void $dtor();
76 // NOLINTEND
77};
78
79} // namespace SharedTypes::Legacy
Definition HashedString.h:5
Definition ComponentItemData.h:18
MCAPI bool operator==(::SharedTypes::Legacy::ComponentItemData const &) const
MCAPI void * $ctor(::SharedTypes::Legacy::ComponentItemData const &)
MCAPI ComponentItemData(::SharedTypes::Legacy::ComponentItemData const &)
MCAPI::SharedTypes::Legacy::ComponentItemData & operator=(::SharedTypes::Legacy::ComponentItemData &&)
MCAPI::SharedTypes::Legacy::ComponentItemData & operator=(::SharedTypes::Legacy::ComponentItemData const &)