LeviLamina
Loading...
Searching...
No Matches
CalibratedSculkSensorBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Flip.h"
7#include "mc/world/level/block/SculkSensorBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class BlockSource;
14class CircuitSystem;
15// clang-format on
16
17class CalibratedSculkSensorBlock : public ::SculkSensorBlock {
18public:
19 // prevent constructor by default
20 CalibratedSculkSensorBlock();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
26
27 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
28
29 virtual int getVariant(::Block const& block) const /*override*/;
30
31 virtual void setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI CalibratedSculkSensorBlock(::std::string const& nameId, int id);
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static bool
44 _wouldBePoweredByCircuit(::CircuitSystem& circuitSystem, ::BlockPos const& pos, uchar connectionDirection);
45
46 MCAPI static int getInputStrength(::BlockSource const& region, ::BlockPos const& pos);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::std::string const& nameId, int id);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
59
60 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
61
62 MCAPI int $getVariant(::Block const& block) const;
63
64 MCAPI void $setupRedstoneComponent(::BlockSource& region, ::BlockPos const& pos) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition CircuitSystem.h:16