LeviLamina
Loading...
Searching...
No Matches
BoatItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorType.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 CompoundTag;
15class Container;
17class ItemDescriptor;
18class ItemStack;
19class ItemStackBase;
20class Vec3;
22// clang-format on
23
24class BoatItem : public ::Item {
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<4, 4, int> mWoodType;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 48
35 virtual bool isLiquidClipItem() const /*override*/;
36
37 // vIndex: 60
38 virtual bool isValidAuxValue(int auxValue) const /*override*/;
39
40 // vIndex: 108
41 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int, bool) const /*override*/;
42
43 // vIndex: 87
44 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
45
46 // vIndex: 34
47 virtual bool isStackedByData() const /*override*/;
48
49 // vIndex: 78
50 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
51 /*override*/;
52
53 // vIndex: 120
54 virtual ::InteractionResult
55 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
56 /*override*/;
57
58 // vIndex: 121
59 virtual ::ActorType _getActorType() const;
60
61 // vIndex: 0
62 virtual ~BoatItem() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCFOLD bool $isLiquidClipItem() const;
69
70 MCFOLD bool $isValidAuxValue(int auxValue) const;
71
72 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
73
74 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
75
76 MCFOLD bool $isStackedByData() const;
77
78 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
79
80 MCAPI ::InteractionResult
81 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
82
83 MCFOLD ::ActorType $_getActorType() const;
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCAPI static void** $vftable();
90 // NOLINTEND
91};
Definition Actor.h:103
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoatItem.h:24
Definition CompoundTag.h:13
Definition Container.h:30
Definition InteractionResult.h:5
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8