Skip to content
LeviMC
English
AutoLightDark
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#include "mc/world/item/HandSlot.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockSource;
13class Container;
14class HashedString;
15class ItemStack;
16class Player;
17class Vec3;
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::ItemStack& use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const /*override*/;
25
26 virtual bool isThrowable() const /*override*/;
27
28 virtual ::Actor*
29 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) 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 ::HashedString const& getCooldownCategory() const /*override*/;
36
37 virtual int getCooldownDuration() const /*override*/;
38 // NOLINTEND
39
40public:
41 // static variables
42 // NOLINTBEGIN
43 MCNAPI static ::HashedString const& COOLDOWN_CATEGORY();
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCNAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
50
51 MCNAPI bool $isThrowable() const;
52
53 MCNAPI ::Actor*
54 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
55
56 MCNAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
57
58 MCNAPI ::HashedString const& $getCooldownCategory() const;
59
60 MCNAPI int $getCooldownDuration() const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition Actor.h:116
Definition BlockSource.h:72
Definition ChemistryItem.h:13
Definition Container.h:36
Definition HashedString.h:5
Definition IceBombItem.h:20
MCAPI bool $isThrowable() const
MCAPI::Actor * $createProjectileActor(::BlockSource &region, ::ItemStack const &, ::Vec3 const &pos, ::Vec3 const &direction) const
MCAPI::ItemStack & $use(::ItemStack &item, ::Player &player, ::HandSlot handSlot) const
MCAPI::HashedString const & $getCooldownCategory() const
static MCAPI ::HashedString const & COOLDOWN_CATEGORY()
static MCAPI void ** $vftable()
MCAPI int $getCooldownDuration() const
MCAPI bool $dispense(::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
Definition ItemStack.h:26
Definition Player.h:131
Definition Vec3.h:10