Skip to content
LeviMC
English
AutoLightDark
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/HandSlot.h"
8#include "mc/world/item/Item.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class BlockPos;
14class BlockSource;
15class CompoundTag;
16class Container;
18class ItemDescriptor;
19class ItemStack;
20class ItemStackBase;
21class Vec3;
23// clang-format on
24
25class BoatItem : public ::Item {
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, int> mWoodType;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool isLiquidClipItem() const /*override*/;
36
37 virtual bool isValidAuxValue(int auxValue) const /*override*/;
38
39 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int, bool) const /*override*/;
40
41 virtual ::std::string
42 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
43
44 virtual bool isStackedByData() const /*override*/;
45
46 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
47 /*override*/;
48
49 virtual ::InteractionResult _useOn(
50 ::ItemStack& item,
51 ::Actor& spawningActor,
52 ::BlockPos pos,
53 uchar face,
54 ::HandSlot handSlot,
55 ::Vec3 const& clickPos
56 ) const /*override*/;
57
58 virtual ::ActorType _getActorType() const;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI bool $isLiquidClipItem() const;
65
66 MCNAPI bool $isValidAuxValue(int auxValue) const;
67
68 MCNAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int, bool) const;
69
70 MCNAPI ::std::string
71 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
72
73 MCNAPI bool $isStackedByData() const;
74
75 MCNAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
76
77 MCNAPI ::InteractionResult $_useOn(
78 ::ItemStack& item,
79 ::Actor& spawningActor,
80 ::BlockPos pos,
81 uchar face,
82 ::HandSlot handSlot,
83 ::Vec3 const& clickPos
84 ) const;
85
86 MCNAPI ::ActorType $_getActorType() const;
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition Actor.h:116
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition BoatItem.h:25
MCAPI::InteractionResult $_useOn(::ItemStack &item, ::Actor &spawningActor, ::BlockPos pos, uchar face, ::HandSlot handSlot, ::Vec3 const &clickPos) const
MCAPI::ActorType $_getActorType() const
MCAPI bool $isStackedByData() const
MCAPI bool $isValidAuxValue(int auxValue) const
static MCAPI void ** $vftable()
MCAPI bool $dispense(::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &itemDescriptor, ::CompoundTag const *userData) const
MCAPI::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const &, int, bool) const
MCAPI bool $isLiquidClipItem() const
Definition CompoundTag.h:18
Definition Container.h:36
Definition InteractionResult.h:5
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8