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
19class IceBombItem : public ::ChemistryItem {
20public:
21 // prevent constructor by default
22 IceBombItem();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
28
29 virtual bool isThrowable() const /*override*/;
30
31 virtual ::Actor*
32 createProjectileActor(::BlockSource& region, ::ItemStack const& pos, ::Vec3 const& direction, ::Vec3 const&) const
33 /*override*/;
34
35 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
36 /*override*/;
37
38 virtual ::HashedString const& getCooldownCategory() const /*override*/;
39
40 virtual int getCooldownDuration() const /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI IceBombItem(::std::string const& nameId, int id);
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCAPI static ::HashedString const& COOLDOWN_CATEGORY();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::std::string const& nameId, int id);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
65
66 MCFOLD bool $isThrowable() const;
67
68 MCAPI ::Actor*
69 $createProjectileActor(::BlockSource& region, ::ItemStack const& pos, ::Vec3 const& direction, ::Vec3 const&) const;
70
71 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
72
73 MCAPI ::HashedString const& $getCooldownCategory() const;
74
75 MCFOLD int $getCooldownDuration() const;
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
Definition Actor.h:125
Definition BlockSource.h:73
Definition ChemistryItem.h:13
Definition Container.h:34
Definition HashedString.h:5
Definition ItemStack.h:35
Definition Player.h:137
Definition Vec3.h:10