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/deps/core/string/HashedString.h"
7#include "mc/nbt/CompoundTag.h"
8#include "mc/world/item/registry/ItemVersion.h"
9
10// auto generated forward declare list
11// clang-format off
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 ItemData();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ItemData(::ItemData&&);
36
37 MCAPI ~ItemData();
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static ::std::vector<::ItemData> fromItemRegistry(::ItemRegistryRef itemRegistry);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(::ItemData&&);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57};
Definition ItemRegistryRef.h:31
Definition ItemData.h:15