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 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
24
25 virtual bool isThrowable() const /*override*/;
26
27 virtual ::Actor*
28 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
29 /*override*/;
30
31 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
32 /*override*/;
33
34 virtual ::HashedString const& getCooldownCategory() const /*override*/;
35
36 virtual int getCooldownDuration() const /*override*/;
37
38 virtual ~IceBombItem() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // static variables
43 // NOLINTBEGIN
44 MCAPI static ::HashedString const& COOLDOWN_CATEGORY();
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
51
52 MCFOLD bool $isThrowable() const;
53
54 MCAPI ::Actor*
55 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
56
57 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
58
59 MCAPI ::HashedString const& $getCooldownCategory() const;
60
61 MCFOLD int $getCooldownDuration() const;
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCAPI static void** $vftable();
70 // NOLINTEND
71};
Definition Actor.h:105
Definition BlockSource.h:68
Definition ChemistryItem.h:13
Definition Container.h:33
Definition HashedString.h:5
Definition IceBombItem.h:19
Definition ItemStack.h:26
Definition Player.h:125
Definition Vec3.h:10