LeviLamina
Loading...
Searching...
No Matches
FireChargeItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/HandSlot.h"
7#include "mc/world/item/Item.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class BlockSource;
14class Container;
16class ItemStack;
17class ItemStackBase;
18class Vec3;
19// clang-format on
20
21class FireChargeItem : public ::Item {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::Actor*
26 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
27 /*override*/;
28
29 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
30 /*override*/;
31
32 virtual bool isDestructive(int) const /*override*/;
33
34 virtual ::InteractionResult _useOn(
35 ::ItemStack& instance,
36 ::Actor& entity,
37 ::BlockPos pos,
38 uchar face,
39 ::HandSlot handSlot,
40 ::Vec3 const& clickPos
41 ) const /*override*/;
42
43 virtual bool _calculatePlacePos(::ItemStackBase&, ::Actor& actor, uchar& face, ::BlockPos& pos) const /*override*/;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI ::Actor*
50 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
51
52 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
53
54 MCFOLD bool $isDestructive(int) const;
55
56 MCAPI ::InteractionResult $_useOn(
57 ::ItemStack& instance,
58 ::Actor& entity,
59 ::BlockPos pos,
60 uchar face,
61 ::HandSlot handSlot,
62 ::Vec3 const& clickPos
63 ) const;
64
65 MCAPI bool $_calculatePlacePos(::ItemStackBase&, ::Actor& actor, uchar& face, ::BlockPos& pos) const;
66
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition Actor.h:113
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Container.h:35
Definition FireChargeItem.h:21
Definition InteractionResult.h:5
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Vec3.h:10