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/Item.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockPos;
12class BlockSource;
13class Container;
15class ItemStack;
16class ItemStackBase;
17class Vec3;
18// clang-format on
19
20class FireChargeItem : public ::Item {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 77
25 virtual ::Actor*
26 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
27 /*override*/;
28
29 // vIndex: 78
30 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
31 /*override*/;
32
33 // vIndex: 47
34 virtual bool isDestructive(int) const /*override*/;
35
36 // vIndex: 120
37 virtual ::InteractionResult
38 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
39 /*override*/;
40
41 // vIndex: 118
42 virtual bool _calculatePlacePos(::ItemStackBase&, ::Actor& actor, uchar& face, ::BlockPos& pos) const /*override*/;
43
44 // vIndex: 0
45 virtual ~FireChargeItem() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI bool _tryLightPortal(::Actor& actor, ::BlockPos actionPos) const;
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::Actor*
58 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
59
60 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
61
62 MCFOLD bool $isDestructive(int) const;
63
64 MCAPI ::InteractionResult
65 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
66
67 MCAPI bool $_calculatePlacePos(::ItemStackBase&, ::Actor& actor, uchar& face, ::BlockPos& pos) const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition Actor.h:103
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Container.h:30
Definition FireChargeItem.h:20
static MCAPI void ** $vftable()
Definition InteractionResult.h:5
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Vec3.h:10