LeviLamina
Loading...
Searching...
No Matches
ItemData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/registry/ItemVersion.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class HashedString;
12class ItemRegistryRef;
13// clang-format on
14
15struct ItemData {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 48, ::HashedString> mName;
20 ::ll::TypedStorage<2, 2, short> mId;
21 ::ll::TypedStorage<1, 1, bool> mIsComponentBased;
22 ::ll::TypedStorage<4, 4, ::ItemVersion> mItemVersion;
23 ::ll::TypedStorage<8, 24, ::CompoundTag> mComponentData;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ItemData& operator=(ItemData const&);
29 ItemData(ItemData const&);
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ItemData(::ItemData&&);
35
36 MCAPI ~ItemData();
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static ::std::vector<::ItemData> fromItemRegistry(::ItemRegistryRef itemRegistry);
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(::ItemData&&);
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56};
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition ItemRegistryRef.h:29
Definition ItemData.h:15