LeviLamina
Loading...
Searching...
No Matches
RedstoneBlock.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/BlockLegacy.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class BlockSource;
14class Experiments;
15namespace BlockEvents { class BlockPlaceEvent; }
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 54
23 virtual bool
24 shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const
25 /*override*/;
26
27 // vIndex: 67
28 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
29
30 // vIndex: 44
31 virtual bool isSignalSource() const /*override*/;
32
33 // vIndex: 119
34 virtual bool canSpawnOn(::Actor*) const /*override*/;
35
36 // vIndex: 131
37 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
38
39 // vIndex: 0
40 virtual ~RedstoneBlock() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCFOLD void onPlace(::BlockEvents::BlockPlaceEvent& eventData) const;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCFOLD bool
59 $shouldConnectToRedstone(::BlockSource& region, ::BlockPos const& pos, ::Direction::Type direction) const;
60
61 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
62
63 MCFOLD bool $isSignalSource() const;
64
65 MCFOLD bool $canSpawnOn(::Actor*) const;
66
67 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition Actor.h:104
Definition BlockPlaceEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Experiments.h:14
Definition RedstoneBlock.h:18