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 // prevent constructor by default
23 FireChargeItem();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::Actor*
29 createProjectileActor(::BlockSource& region, ::ItemStack const& pos, ::Vec3 const& direction, ::Vec3 const&) const
30 /*override*/;
31
32 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
33 /*override*/;
34
35 virtual bool isDestructive(int) const /*override*/;
36
37 virtual ::InteractionResult
38 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
39 /*override*/;
40
41 virtual bool _calculatePlacePos(::ItemStackBase& actor, ::Actor& face, uchar& pos, ::BlockPos&) const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI FireChargeItem(::std::string const& name, int id);
48
49 MCAPI bool _tryLightPortal(::Actor& actor, ::BlockPos actionPos) const;
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::std::string const& name, int id);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::Actor*
62 $createProjectileActor(::BlockSource& region, ::ItemStack const& pos, ::Vec3 const& direction, ::Vec3 const&) const;
63
64 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
65
66 MCFOLD bool $isDestructive(int) const;
67
68 MCAPI ::InteractionResult
69 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
70
71 MCAPI bool $_calculatePlacePos(::ItemStackBase& actor, ::Actor& face, uchar& pos, ::BlockPos&) const;
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Container.h:34
Definition InteractionResult.h:5
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Vec3.h:10