LeviLamina
Loading...
Searching...
No Matches
PressurePlateBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BasePressurePlateBlock.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockSource;
12class Experiments;
13// clang-format on
14
16public:
17 // PressurePlateBlock inner types define
18 enum class Sensitivity : int {
19 Everything = 0,
20 Mobs = 1,
21 Players = 2,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, ::PressurePlateBlock::Sensitivity> mSensitivity;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual int getSignalStrength(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
34
35 virtual int getSignalForData(int data) const /*override*/;
36
37 virtual int getRedstoneSignal(int signal) const /*override*/;
38
39 virtual void _addHardCodedBlockComponents(::Experiments const& experiments) /*override*/;
40
41 virtual ~PressurePlateBlock() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI int $getSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
48
49 MCAPI int $getSignalForData(int data) const;
50
51 MCAPI int $getRedstoneSignal(int signal) const;
52
53 MCAPI void $_addHardCodedBlockComponents(::Experiments const& experiments);
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition BasePressurePlateBlock.h:22
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition Experiments.h:14
Definition PressurePlateBlock.h:15
static MCAPI void ** $vftable()