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/BlockLegacy.h"
9#include "mc/world/level/block/BlockSupportType.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: 66
33 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
34
35 // vIndex: 131
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: 53
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: 43
50 virtual bool isSignalSource() const /*override*/;
51
52 // vIndex: 117
53 virtual int getVariant(::Block const& block) const /*override*/;
54
55 // vIndex: 56
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: 130
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 MCNAPI void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
73
74 MCNAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCNAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
81
82 MCNAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
83
84 MCNAPI void $updateSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
85
86 MCNAPI bool
87 $shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const;
88
89 MCNAPI bool $isInteractiveBlock() const;
90
91 MCNAPI bool $isSignalSource() const;
92
93 MCNAPI int $getVariant(::Block const& block) const;
94
95 MCNAPI bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
96
97 MCNAPI bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
98
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCNAPI static void** $vftable();
106 // NOLINTEND
107};
Definition ActorBlockBase.h:6
Definition Actor.h:103
Definition BlockPlaceEvent.h:16
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition DaylightDetectorBlock.h:22
MCAPI bool $canProvideSupport(::Block const &, uchar face, ::BlockSupportType) const
MCAPI void $_addHardCodedBlockComponents(::Experiments const &)
MCAPI void $onRemove(::BlockSource &region, ::BlockPos const &pos) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $shouldConnectToRedstone(::BlockSource &region, ::BlockPos const &pos, ::Direction::Type direction) const
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI bool $isInteractiveBlock() const
MCAPI int $getVariant(::Block const &block) const
static MCAPI void ** $vftable()
MCAPI bool $checkIsPathable(::Actor &entity, ::BlockPos const &lastPathPos, ::BlockPos const &pathPos) const
MCAPI bool $isSignalSource() const
MCAPI void $updateSignalStrength(::BlockSource &region, ::BlockPos const &pos) const
MCAPI void $setupRedstoneComponent(::BlockSource &region, ::BlockPos const &pos) const
Definition Experiments.h:14