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