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 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mInitEvent;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 EggItem();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 76
33 virtual ::ItemStack& use(::ItemStack& instance, ::Player& player) const /*override*/;
34
35 // vIndex: 20
36 virtual bool isThrowable() const /*override*/;
37
38 // vIndex: 77
39 virtual ::Actor*
40 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
41 /*override*/;
42
43 // vIndex: 78
44 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
45 /*override*/;
46
47 // vIndex: 0
48 virtual ~EggItem() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI EggItem(::std::string const& name, int id, ::std::string initEvent);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::std::string const& name, int id, ::std::string initEvent);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::ItemStack& $use(::ItemStack& instance, ::Player& player) const;
67
68 MCFOLD bool $isThrowable() const;
69
70 MCAPI ::Actor*
71 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
72
73 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition Actor.h:103
Definition BlockSource.h:67
Definition Container.h:30
Definition EggItem.h:18
static MCAPI void ** $vftable()
Definition ItemStack.h:25
Definition Item.h:65
Definition Player.h:119
Definition Vec3.h:10