LeviLamina
Loading...
Searching...
No Matches
DaylightDetectorBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Direction.h"
7#include "mc/world/level/block/ActorBlockBase.h"
8#include "mc/world/level/block/BlockSupportType.h"
9#include "mc/world/level/block/BlockType.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
17class Experiments;
18namespace BlockEvents { class BlockPlaceEvent; }
19namespace BlockEvents { class BlockPlayerInteractEvent; }
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<1, 1, bool> mIsInverted;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 67
33 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
34
35 // vIndex: 132
36 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
37
38 // vIndex: 147
39 virtual void updateSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
40
41 // vIndex: 54
42 virtual bool
43 shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const
44 /*override*/;
45
46 // vIndex: 136
47 virtual bool isInteractiveBlock() const /*override*/;
48
49 // vIndex: 44
50 virtual bool isSignalSource() const /*override*/;
51
52 // vIndex: 118
53 virtual int getVariant(::Block const& block) const /*override*/;
54
55 // vIndex: 57
56 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
57 /*override*/;
58
59 // vIndex: 22
60 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
61
62 // vIndex: 131
63 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
64
65 // vIndex: 0
66 virtual ~DaylightDetectorBlock() /*override*/ = default;
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCFOLD void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
73
74 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
81
82 MCFOLD void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
83
84 MCAPI void $updateSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
85
86 MCFOLD bool
87 $shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const;
88
89 MCFOLD bool $isInteractiveBlock() const;
90
91 MCFOLD bool $isSignalSource() const;
92
93 MCFOLD int $getVariant(::Block const& block) const;
94
95 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
96
97 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
98
99 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCNAPI static void** $vftable();
106 // NOLINTEND
107};
Definition ActorBlockBase.h:6
Definition Actor.h:102
Definition BlockPlaceEvent.h:16
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition DaylightDetectorBlock.h:22
static MCAPI void ** $vftable()
Definition Experiments.h:14