LeviLamina
Loading...
Searching...
No Matches
SaddleItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockSource;
12class Container;
13class ItemStack;
14class Vec3;
15// clang-format on
16
17class SaddleItem : public ::Item {
18public:
19 // prevent constructor by default
20 SaddleItem();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar) const
26 /*override*/;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI SaddleItem(::std::string const& nameId, short id);
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static bool _tryEquipSaddleViaComponents(::Actor& actor, ::ItemStack const& saddle);
39
40 MCAPI static bool _tryEquipSaddleViaEvents(::Actor& actor);
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(::std::string const& nameId, short id);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar) const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCAPI static void** $vftable();
61 // NOLINTEND
62};
Definition Actor.h:125
Definition BlockSource.h:73
Definition Container.h:34
Definition ItemStack.h:35
Definition Vec3.h:10