LeviLamina
Loading...
Searching...
No Matches
SkullItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
8#include "mc/world/item/BlockItem.h"
9#include "mc/world/item/Rarity.h"
10#include "mc/world/level/block/BlockShape.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
15class BlockPos;
16class BlockSource;
17class Container;
19class ItemStack;
20class ItemStackBase;
21class Vec3;
23// clang-format on
24
25class SkullItem : public ::BlockItem {
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 108
30 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
31
32 // vIndex: 43
33 virtual ::Rarity getRarity(::ItemStackBase const& stack) const /*override*/;
34
35 // vIndex: 33
36 virtual int getLevelDataForAuxValue(int auxValue) const /*override*/;
37
38 // vIndex: 78
39 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
40 /*override*/;
41
42 // vIndex: 30
43 virtual ::BlockShape getBlockShape() const /*override*/;
44
45 // vIndex: 54
46 virtual int getEnchantSlot() const /*override*/;
47
48 // vIndex: 101
49 virtual ::SharedTypes::Legacy::ActorLocation getEquipLocation() const /*override*/;
50
51 // vIndex: 102
52 virtual ::SharedTypes::Legacy::LevelSoundEvent getEquipSound() const /*override*/;
53
54 // vIndex: 120
55 virtual ::InteractionResult
56 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
57 /*override*/;
58
59 // vIndex: 118
60 virtual bool _calculatePlacePos(::ItemStackBase&, ::Actor& entity, uchar& face, ::BlockPos& pos) const /*override*/;
61
62 // vIndex: 0
63 virtual ~SkullItem() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
76
77 MCAPI ::Rarity $getRarity(::ItemStackBase const& stack) const;
78
79 MCFOLD int $getLevelDataForAuxValue(int auxValue) const;
80
81 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
82
83 MCFOLD ::BlockShape $getBlockShape() const;
84
85 MCAPI int $getEnchantSlot() const;
86
87 MCFOLD ::SharedTypes::Legacy::ActorLocation $getEquipLocation() const;
88
89 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getEquipSound() const;
90
91 MCAPI ::InteractionResult
92 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
93
94 MCAPI bool $_calculatePlacePos(::ItemStackBase&, ::Actor& entity, uchar& face, ::BlockPos& pos) const;
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
Definition Actor.h:104
Definition BlockItem.h:23
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Container.h:30
Definition InteractionResult.h:5
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition SkullItem.h:25
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8