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;
13class Material;
14// clang-format on
15
16class PressurePlateBlock : public ::BasePressurePlateBlock {
17public:
18 // PressurePlateBlock inner types define
19 enum class Sensitivity : int {
20 Everything = 0,
21 Mobs = 1,
22 Players = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<4, 4, ::PressurePlateBlock::Sensitivity> mSensitivity;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 PressurePlateBlock();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual int getSignalStrength(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 virtual int getSignalForData(int data) const /*override*/;
41
42 virtual int getRedstoneSignal(int signal) const /*override*/;
43
44 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI PressurePlateBlock(
51 ::std::string const& nameId,
52 int id,
53 ::Material const& material,
54 ::PressurePlateBlock::Sensitivity sensitivity
55 );
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(
62 ::std::string const& nameId,
63 int id,
64 ::Material const& material,
65 ::PressurePlateBlock::Sensitivity sensitivity
66 );
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI int $getSignalStrength(::BlockSource& region, ::BlockPos const& pos) const;
73
74 MCAPI int $getSignalForData(int data) const;
75
76 MCAPI int $getRedstoneSignal(int signal) const;
77
78 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
static MCAPI void ** $vftable()
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Experiments.h:14
Definition Material.h:8