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
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Block;
14class BlockLegacy;
15class BlockPos;
16class BlockSource;
17class Experiments;
18class Player;
19namespace BlockEvents { class BlockPlaceEvent; }
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: 150
39 virtual void updateSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
40
41 // vIndex: 139
42 virtual bool use(::Player& player, ::BlockPos const& pos, uchar) const /*override*/;
43
44 // vIndex: 54
45 virtual bool
46 shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const
47 /*override*/;
48
49 // vIndex: 138
50 virtual bool isInteractiveBlock() const /*override*/;
51
52 // vIndex: 44
53 virtual bool isSignalSource() const /*override*/;
54
55 // vIndex: 118
56 virtual int getVariant(::Block const& block) const /*override*/;
57
58 // vIndex: 57
59 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
60 /*override*/;
61
62 // vIndex: 23
63 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
64
65 // vIndex: 131
66 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
67
68 // vIndex: 0
69 virtual ~DaylightDetectorBlock() /*override*/ = default;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCFOLD void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
88
89 MCFOLD void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
90
91 MCAPI void $updateSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
92
93 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar) const;
94
95 MCFOLD bool
96 $shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const;
97
98 MCFOLD bool $isInteractiveBlock() const;
99
100 MCFOLD bool $isSignalSource() const;
101
102 MCFOLD int $getVariant(::Block const& block) const;
103
104 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
105
106 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
107
108 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCAPI static void** $vftable();
115 // NOLINTEND
116};
Definition ActorBlockBase.h:6
Definition Actor.h:104
Definition BlockPlaceEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition DaylightDetectorBlock.h:22
Definition Experiments.h:14
Definition Player.h:119