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 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 107
28 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
29
30 // vIndex: 108
31 virtual ::ResolvedItemIconInfo
32 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
33
34 // vIndex: 87
35 virtual ::std::string
36 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
37
38 // vIndex: 3
39 virtual ::SnowballItem& setDescriptionId(::std::string const& descriptionId) /*override*/;
40
41 // vIndex: 77
42 virtual ::Actor*
43 createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const
44 /*override*/;
45
46 // vIndex: 78
47 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const
48 /*override*/;
49
50 // vIndex: 0
51 virtual ~SnowballItem() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI SnowballItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
76
77 MCFOLD ::ResolvedItemIconInfo
78 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
79
80 MCFOLD ::std::string
81 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
82
83 MCFOLD ::SnowballItem& $setDescriptionId(::std::string const& descriptionId);
84
85 MCAPI ::Actor*
86 $createProjectileActor(::BlockSource& region, ::ItemStack const&, ::Vec3 const& pos, ::Vec3 const& direction) const;
87
88 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar face) const;
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCAPI static void** $vftable();
95 // NOLINTEND
96};
Definition Actor.h:104
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
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5