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 // virtual functions
22 // NOLINTBEGIN
23 virtual bool isGlint(::ItemStackBase const& stack) const /*override*/;
24
25 virtual ::ItemStack& use(::ItemStack& instance, ::Player& player) const /*override*/;
26
27 virtual bool isThrowable() const /*override*/;
28
29 virtual ::Actor* createProjectileActor(
30 ::BlockSource& region,
31 ::ItemStack const& stack,
32 ::Vec3 const& pos,
33 ::Vec3 const& direction
34 ) const /*override*/;
35
36 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
37 /*override*/;
38
39 virtual ~ExperiencePotionItem() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCFOLD bool $isGlint(::ItemStackBase const& stack) const;
46
47 MCAPI ::ItemStack& $use(::ItemStack& instance, ::Player& player) const;
48
49 MCFOLD bool $isThrowable() const;
50
51 MCAPI ::Actor* $createProjectileActor(
52 ::BlockSource& region,
53 ::ItemStack const& stack,
54 ::Vec3 const& pos,
55 ::Vec3 const& direction
56 ) const;
57
58 MCFOLD bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition Actor.h:105
Definition BlockSource.h:68
Definition Container.h:33
Definition ExperiencePotionItem.h:19
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Player.h:125
Definition Vec3.h:10