LeviLamina
Loading...
Searching...
No Matches
SnowballItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/ComponentItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockSource;
12class CompoundTag;
13class Container;
14class Item;
15class ItemDescriptor;
16class ItemStack;
17class ItemStackBase;
18class Vec3;
20namespace cereal { struct ReflectionCtx; }
21// clang-format on
22
24public:
25 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 107
32 virtual ::Item& setIconInfo(::std::string const& name, int index) /*override*/;
33
34 // vIndex: 108
35 virtual ::ResolvedItemIconInfo
36 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
37
38 // vIndex: 87
39 virtual ::std::string
40 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
41
42 // vIndex: 3
43 virtual ::SnowballItem& setDescriptionId(::std::string const& description) /*override*/;
44
45 // vIndex: 77
46 virtual ::Actor*
47 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
48 /*override*/;
49
50 // vIndex: 78
51 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
52 /*override*/;
53
54 // vIndex: 0
55 virtual ~SnowballItem() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI SnowballItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
74
75 MCFOLD ::ResolvedItemIconInfo
76 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
77
78 MCFOLD ::std::string
79 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
80
81 MCFOLD ::SnowballItem& $setDescriptionId(::std::string const& description);
82
83 MCAPI ::Actor*
84 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
85
86 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition Actor.h:103
Definition BlockSource.h:67
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition Container.h:30
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition SnowballItem.h:23
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5