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 // prevent constructor by default
33 BoatItem();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual bool isLiquidClipItem() const /*override*/;
39
40 virtual bool isValidAuxValue(int auxValue) const /*override*/;
41
42 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int, bool) const /*override*/;
43
44 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
45
46 virtual bool isStackedByData() const /*override*/;
47
48 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
49 /*override*/;
50
51 virtual ::InteractionResult
52 _useOn(::ItemStack& item, ::Actor& spawningActor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
53 /*override*/;
54
55 virtual ::ActorType _getActorType() const;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI BoatItem(::std::string const& name, int id, int woodType);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::std::string const& name, int id, int woodType);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD bool $isLiquidClipItem() const;
74
75 MCFOLD bool $isValidAuxValue(int auxValue) const;
76
77 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
78
79 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
80
81 MCFOLD bool $isStackedByData() const;
82
83 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
84
85 MCAPI ::InteractionResult
86 $_useOn(::ItemStack& item, ::Actor& spawningActor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
87
88 MCFOLD ::ActorType $_getActorType() const;
89
90
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCAPI static void** $vftable();
97 // NOLINTEND
98};
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition CompoundTag.h:23
Definition Container.h:34
Definition InteractionResult.h:5
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8