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/HandSlot.h"
7#include "mc/world/item/Item.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockSource;
13class Container;
14class ItemStack;
15class ItemStackBase;
16class Player;
17class Vec3;
18// clang-format on
19
20class ExperiencePotionItem : public ::Item {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual bool isGlint(::ItemStackBase const& stack) const /*override*/;
25
26 virtual ::ItemStack& use(::ItemStack& instance, ::Player& player, ::HandSlot handSlot) const /*override*/;
27
28 virtual bool isThrowable() const /*override*/;
29
30 virtual ::Actor* createProjectileActor(
31 ::BlockSource& region,
32 ::ItemStack const& stack,
33 ::Vec3 const& pos,
34 ::Vec3 const& direction
35 ) const /*override*/;
36
37 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
38 /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCFOLD bool $isGlint(::ItemStackBase const& stack) const;
45
46 MCAPI ::ItemStack& $use(::ItemStack& instance, ::Player& player, ::HandSlot handSlot) const;
47
48 MCFOLD bool $isThrowable() const;
49
50 MCAPI ::Actor* $createProjectileActor(
51 ::BlockSource& region,
52 ::ItemStack const& stack,
53 ::Vec3 const& pos,
54 ::Vec3 const& direction
55 ) const;
56
57 MCFOLD bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCAPI static void** $vftable();
66 // NOLINTEND
67};
Definition Actor.h:113
Definition BlockSource.h:71
Definition Container.h:35
Definition ExperiencePotionItem.h:20
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Player.h:129
Definition Vec3.h:10