LeviLamina
Loading...
Searching...
No Matches
FlintAndSteelItem.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 BlockPos;
12class BlockSource;
13class Container;
15class ItemStack;
16class ItemStackBase;
17class Mob;
18class Vec3;
19// clang-format on
20
21class FlintAndSteelItem : public ::Item {
22public:
23 // prevent constructor by default
24 FlintAndSteelItem();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
30
31 virtual int getEnchantSlot() const /*override*/;
32
33 virtual bool dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar) const
34 /*override*/;
35
36 virtual bool isDestructive(int) const /*override*/;
37
38 virtual ::InteractionResult
39 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
40 /*override*/;
41
42 virtual bool _calculatePlacePos(::ItemStackBase& face, ::Actor& pos, uchar&, ::BlockPos&) const /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI FlintAndSteelItem(::std::string const& name, int id);
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::std::string const& name, int id);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCFOLD void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
61
62 MCFOLD int $getEnchantSlot() const;
63
64 MCAPI bool $dispense(::BlockSource& region, ::Container& container, int slot, ::Vec3 const& pos, uchar) const;
65
66 MCFOLD bool $isDestructive(int) const;
67
68 MCAPI ::InteractionResult
69 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
70
71 MCAPI bool $_calculatePlacePos(::ItemStackBase& face, ::Actor& pos, uchar&, ::BlockPos&) const;
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Container.h:34
Definition InteractionResult.h:5
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Mob.h:57
Definition Vec3.h:10