Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI bool $isGlint(::ItemStackBase const& stack) const;
45
46 MCNAPI ::ItemStack& $use(::ItemStack& instance, ::Player& player, ::HandSlot handSlot) const;
47
48 MCNAPI bool $isThrowable() const;
49
50 MCNAPI ::Actor* $createProjectileActor(
51 ::BlockSource& region,
52 ::ItemStack const& stack,
53 ::Vec3 const& pos,
54 ::Vec3 const& direction
55 ) const;
56
57 MCNAPI 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 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition Actor.h:116
Definition BlockSource.h:72
Definition Container.h:36
Definition ExperiencePotionItem.h:20
MCAPI::Actor * $createProjectileActor(::BlockSource &region, ::ItemStack const &stack, ::Vec3 const &pos, ::Vec3 const &direction) const
MCAPI bool $isGlint(::ItemStackBase const &stack) const
static MCAPI void ** $vftable()
MCAPI bool $isThrowable() const
MCAPI::ItemStack & $use(::ItemStack &instance, ::Player &player, ::HandSlot handSlot) const
MCAPI bool $dispense(::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition Player.h:131
Definition Vec3.h:10