LeviLamina
Loading...
Searching...
No Matches
MinecartItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/item/MinecartType.h"
7#include "mc/world/item/Item.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class BlockSource;
14class Container;
16class ItemStack;
17class Vec3;
18// clang-format on
19
20class MinecartItem : public ::Item {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, ::MinecartType> mCartType;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 78
31 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
32 /*override*/;
33
34 // vIndex: 47
35 virtual bool isDestructive(int) const /*override*/;
36
37 // vIndex: 120
38 virtual ::InteractionResult
39 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
40 /*override*/;
41
42 // vIndex: 0
43 virtual ~MinecartItem() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
56
57 MCAPI bool $isDestructive(int) const;
58
59 MCAPI ::InteractionResult
60 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Container.h:30
Definition InteractionResult.h:5
Definition ItemStack.h:25
Definition Item.h:65
Definition MinecartItem.h:20
Definition Vec3.h:10