LeviLamina
Loading...
Searching...
No Matches
LodestoneCompassItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/world/item/AbstractCompassItem.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class BlockSource;
14class Dimension;
16class ItemStack;
18class Mob;
19class Vec3;
20struct ActorUniqueID;
21namespace PositionTrackingDB { class TrackingRecord; }
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 110
29 virtual int getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const* item, bool) const /*override*/;
30
31 // vIndex: 120
32 virtual ::InteractionResult
33 _useOn(::ItemStack& item, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const /*override*/;
34
35 // vIndex: 0
36 virtual ~LodestoneCompassItem() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static ::LodestoneCompassComponent* _tryGetOrAddComponent(
44 ::std::variant<::ActorUniqueID, ::std::pair<::BlockPos, ::DimensionType>> const& calcId
45 );
46
47 MCAPI static bool linkCompassToLodestone(::ItemStack& item, ::BlockSource& region, ::BlockPos pos);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI int $getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const* item, bool) const;
60
61 MCAPI ::InteractionResult
62 $_useOn(::ItemStack& item, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCAPI static void** $vftable();
69 // NOLINTEND
70};
Definition AbstractCompassItem.h:17
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Dimension.h:83
Definition InteractionResult.h:5
Definition ItemStack.h:25
Definition LodestoneCompassComponent.h:18
Definition LodestoneCompassItem.h:24
Definition Mob.h:47
Definition TrackingRecord.h:14
Definition Vec3.h:10
Definition ActorUniqueID.h:5