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