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/deps/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 // static functions
28 // NOLINTBEGIN
29 MCAPI static ::std::vector<::ItemData> fromItemRegistry(::ItemRegistryRef itemRegistry);
30 // NOLINTEND
31};
Definition ItemRegistryRef.h:41
Definition ItemData.h:15