Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LeavesBlockItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/BlockItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class CompoundTag;
12class ILevel;
13class ItemDescriptor;
14class ItemStackBase;
15// clang-format on
16
17class LeavesBlockItem : public ::BlockItem {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Block const*> m_parentBlock;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual int getLevelDataForAuxValue(int auxValue) const /*override*/;
28
29 virtual ::std::string
30 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
31
32 virtual void fixupCommon(::ItemStackBase& stack) const /*override*/;
33
34 virtual void fixupCommon(::ItemStackBase& stack, ::ILevel& level) const /*override*/;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40 MCNAPI int $getLevelDataForAuxValue(int auxValue) const;
41
42 MCNAPI ::std::string
43 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
44
45 MCNAPI void $fixupCommon(::ItemStackBase& stack) const;
46
47 MCNAPI void $fixupCommon(::ItemStackBase& stack, ::ILevel& level) const;
48
49
50 // NOLINTEND
51};
Definition Block.h:42
Definition CompoundTag.h:18
Definition ILevel.h:223
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition LeavesBlockItem.h:17
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &itemDescriptor, ::CompoundTag const *userData) const
MCAPI int $getLevelDataForAuxValue(int auxValue) const
MCAPI void $fixupCommon(::ItemStackBase &stack, ::ILevel &level) const
MCAPI void $fixupCommon(::ItemStackBase &stack) const