LeviLamina
Loading...
Searching...
No Matches
SlabBlockItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/BlockItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Block;
12class BlockPos;
13class HashedString;
15class ItemStack;
16class ItemStackBase;
17class Vec3;
18// clang-format on
19
20class SlabBlockItem : public ::BlockItem {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 48, ::HashedString> mDoubleSlabId;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 120
31 virtual ::InteractionResult
32 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
33 /*override*/;
34
35 // vIndex: 118
36 virtual bool _calculatePlacePos(::ItemStackBase& instance, ::Actor& actor, uchar& face, ::BlockPos& pos) const
37 /*override*/;
38
39 // vIndex: 0
40 virtual ~SlabBlockItem() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI SlabBlockItem(::std::string const& name, int id, ::HashedString const& doubleSlabId);
47
48 MCAPI bool _canConvertToDoubleBlock(::ItemStackBase& instance, ::Actor& face, uchar& block, ::Block const&) const;
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::std::string const& name, int id, ::HashedString const& doubleSlabId);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::InteractionResult
67 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
68
69 MCAPI bool $_calculatePlacePos(::ItemStackBase& instance, ::Actor& actor, uchar& face, ::BlockPos& pos) const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition Actor.h:104
Definition BlockItem.h:23
Definition BlockPos.h:18
Definition Block.h:36
Definition HashedString.h:5
Definition InteractionResult.h:5
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition SlabBlockItem.h:20
Definition Vec3.h:10