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 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
30
31 virtual ::Rarity getRarity(::ItemStackBase const& stack) const /*override*/;
32
33 virtual int getLevelDataForAuxValue(int auxValue) const /*override*/;
34
35 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar) const
36 /*override*/;
37
38 virtual ::BlockShape getBlockShape() const /*override*/;
39
40 virtual int getEnchantSlot() const /*override*/;
41
42 virtual ::SharedTypes::Legacy::ActorLocation getEquipLocation() const /*override*/;
43
44 virtual ::SharedTypes::Legacy::LevelSoundEvent getEquipSound() const /*override*/;
45
46 virtual ::InteractionResult
47 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
48 /*override*/;
49
50 virtual bool _calculatePlacePos(::ItemStackBase& entity, ::Actor& face, uchar& pos, ::BlockPos&) const /*override*/;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
57
58 MCAPI ::Rarity $getRarity(::ItemStackBase const& stack) const;
59
60 MCFOLD int $getLevelDataForAuxValue(int auxValue) const;
61
62 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar) const;
63
64 MCFOLD ::BlockShape $getBlockShape() const;
65
66 MCAPI int $getEnchantSlot() const;
67
68 MCFOLD ::SharedTypes::Legacy::ActorLocation $getEquipLocation() const;
69
70 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getEquipSound() const;
71
72 MCAPI ::InteractionResult
73 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
74
75 MCAPI bool $_calculatePlacePos(::ItemStackBase& entity, ::Actor& face, uchar& pos, ::BlockPos&) const;
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Container.h:34
Definition InteractionResult.h:5
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition SkullItem.h:25
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8