LeviLamina
Loading...
Searching...
No Matches
EggItem.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 BlockSource;
12class Container;
13class ItemStack;
14class Player;
15class Vec3;
16// clang-format on
17
18class EggItem : public ::Item {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 76
23 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
24
25 // vIndex: 20
26 virtual bool isThrowable() const /*override*/;
27
28 // vIndex: 77
29 virtual ::Actor*
30 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
31 /*override*/;
32
33 // vIndex: 78
34 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
35 /*override*/;
36
37 // vIndex: 0
38 virtual ~EggItem() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44
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 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCAPI static void** $vftable();
64 // NOLINTEND
65};
Definition Actor.h:104
Definition BlockSource.h:67
Definition Container.h:30
Definition EggItem.h:18
Definition ItemStack.h:25
Definition Item.h:65
Definition Player.h:119
Definition Vec3.h:10