LeviLamina
Loading...
Searching...
No Matches
IceBombItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ChemistryItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockSource;
12class Container;
13class HashedString;
14class ItemStack;
15class Player;
16class Vec3;
17// clang-format on
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 76
24 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
25
26 // vIndex: 20
27 virtual bool isThrowable() const /*override*/;
28
29 // vIndex: 77
30 virtual ::Actor*
31 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
32 /*override*/;
33
34 // vIndex: 78
35 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
36 /*override*/;
37
38 // vIndex: 94
39 virtual ::HashedString const& getCooldownType() const /*override*/;
40
41 // vIndex: 95
42 virtual int getCooldownTime() const /*override*/;
43
44 // vIndex: 0
45 virtual ~IceBombItem() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCAPI static ::HashedString const& ICE_BOMB_COOLDOWN();
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
58
59 MCFOLD bool $isThrowable() const;
60
61 MCAPI ::Actor*
62 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
63
64 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
65
66 MCAPI ::HashedString const& $getCooldownType() const;
67
68 MCFOLD int $getCooldownTime() const;
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition Actor.h:103
Definition BlockSource.h:67
Definition ChemistryItem.h:13
Definition Container.h:30
Definition HashedString.h:5
Definition IceBombItem.h:19
static MCAPI void ** $vftable()
Definition ItemStack.h:25
Definition Player.h:119
Definition Vec3.h:10