LeviLamina
Loading...
Searching...
No Matches
DetectorRailBlock.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/BaseRailBlock.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
Block
;
13
class
BlockPos
;
14
class
BlockSource
;
15
namespace
BlockEvents {
class
BlockQueuedTickEvent
; }
16
namespace
BlockEvents {
class
BlockRedstoneUpdateEvent
; }
17
// clang-format on
18
19
class
DetectorRailBlock
:
public
::BaseRailBlock {
20
public
:
21
// virtual functions
22
// NOLINTBEGIN
23
virtual
int
getVariant(
::Block
const
& block)
const
/*override*/
;
24
25
virtual
void
setupRedstoneComponent(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
26
27
virtual
void
tick(
::BlockEvents::BlockQueuedTickEvent
& eventData)
const
/*override*/
;
28
29
virtual
void
entityInside(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
& entity)
const
/*override*/
;
30
31
virtual
bool
32
shouldConnectToRedstone(
::BlockSource
& region,
::BlockPos
const
& pos, ::Direction::Type direction)
const
33
/*override*/
;
34
35
virtual
bool
hasComparatorSignal()
const
/*override*/
;
36
37
virtual
int
getComparatorSignal(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& block, uchar dir)
const
38
/*override*/
;
39
40
virtual
bool
isSignalSource()
const
/*override*/
;
41
// NOLINTEND
42
43
public
:
44
// member functions
45
// NOLINTBEGIN
46
MCAPI
void
_checkPressed(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
47
48
MCFOLD
void
_onRedstoneUpdateDetectorRail(
::BlockEvents::BlockRedstoneUpdateEvent
&)
const
;
49
// NOLINTEND
50
51
public
:
52
// virtual function thunks
53
// NOLINTBEGIN
54
MCFOLD
int
$getVariant(
::Block
const
& block)
const
;
55
56
MCAPI
void
$setupRedstoneComponent(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
57
58
MCAPI
void
$tick(
::BlockEvents::BlockQueuedTickEvent
& eventData)
const
;
59
60
MCAPI
void
$entityInside(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
& entity)
const
;
61
62
MCFOLD
bool
63
$shouldConnectToRedstone(
::BlockSource
& region,
::BlockPos
const
& pos, ::Direction::Type direction)
const
;
64
65
MCFOLD
bool
$hasComparatorSignal()
const
;
66
67
MCAPI
int
$getComparatorSignal(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& block, uchar dir)
const
;
68
69
MCFOLD
bool
$isSignalSource()
const
;
70
71
72
// NOLINTEND
73
74
public
:
75
// vftables
76
// NOLINTBEGIN
77
MCAPI
static
void
**
$vftable
();
78
// NOLINTEND
79
};
Actor
Definition
Actor.h:113
BaseRailBlock::$vftable
static MCAPI void ** $vftable()
BlockEvents::BlockQueuedTickEvent
Definition
BlockQueuedTickEvent.h:16
BlockEvents::BlockRedstoneUpdateEvent
Definition
BlockRedstoneUpdateEvent.h:15
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Block
Definition
Block.h:41
DetectorRailBlock
Definition
DetectorRailBlock.h:19
src
mc
world
level
block
DetectorRailBlock.h
Generated on
for LeviLamina by
1.16.1