Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BambooItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/BlockItem.h"
7#include "mc/world/item/HandSlot.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
14class ItemStack;
15class Vec3;
16// clang-format on
17
18class BambooItem : public ::BlockItem {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual int getLevelDataForAuxValue(int auxValue) const /*override*/;
23
24 virtual ::InteractionResult _useOn(
25 ::ItemStack& instance,
26 ::Actor& actor,
27 ::BlockPos pos,
28 uchar face,
29 ::HandSlot handSlot,
30 ::Vec3 const& clickPos
31 ) const /*override*/;
32 // NOLINTEND
33
34public:
35 // virtual function thunks
36 // NOLINTBEGIN
37 MCNAPI int $getLevelDataForAuxValue(int auxValue) const;
38
39 MCNAPI ::InteractionResult $_useOn(
40 ::ItemStack& instance,
41 ::Actor& actor,
42 ::BlockPos pos,
43 uchar face,
44 ::HandSlot handSlot,
45 ::Vec3 const& clickPos
46 ) const;
47
48
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
Definition Actor.h:116
Definition BambooItem.h:18
MCAPI::InteractionResult $_useOn(::ItemStack &instance, ::Actor &actor, ::BlockPos pos, uchar face, ::HandSlot handSlot, ::Vec3 const &clickPos) const
MCAPI int $getLevelDataForAuxValue(int auxValue) const
static MCAPI void ** $vftable()
Definition BlockPos.h:14
Definition InteractionResult.h:5
Definition ItemStack.h:26
Definition Vec3.h:10