LeviLamina
Loading...
Searching...
No Matches
SculkShriekerBlockActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/events/gameevents/VibrationListener.h"
7
#include "mc/world/level/block/actor/BlockActor.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
BlockPos
;
13
class
BlockSource
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
ILevel
;
17
class
Player
;
18
class
SaveContext
;
19
// clang-format on
20
21
class
SculkShriekerBlockActor
:
public
::BlockActor
{
22
public
:
23
// SculkShriekerBlockActor inner types declare
24
// clang-format off
25
struct
QueuedResponse
;
26
// clang-format on
27
28
// SculkShriekerBlockActor inner types define
29
struct
QueuedResponse
{
30
public
:
31
// member variables
32
// NOLINTBEGIN
33
::ll::UntypedStorage<4, 4>
mUnk55c338;
34
// NOLINTEND
35
36
public
:
37
// prevent constructor by default
38
QueuedResponse
& operator=(
QueuedResponse
const
&);
39
QueuedResponse
(
QueuedResponse
const
&);
40
QueuedResponse
();
41
};
42
43
public
:
44
// member variables
45
// NOLINTBEGIN
46
::ll::TypedStorage<8, 200, ::VibrationListener> mVibrationListener;
47
::ll::TypedStorage<8, 80, ::std::optional<::gsl::final_action<::std::function<void()>>>> mListenerRegistration;
48
::ll::TypedStorage<4, 8, ::std::optional<::SculkShriekerBlockActor::QueuedResponse>> mQueuedResponse;
49
// NOLINTEND
50
51
public
:
52
// prevent constructor by default
53
SculkShriekerBlockActor
();
54
55
public
:
56
// virtual functions
57
// NOLINTBEGIN
58
// vIndex: 8
59
virtual
void
tick(
::BlockSource
& region)
/*override*/
;
60
61
// vIndex: 14
62
virtual
void
onRemoved(
::BlockSource
& region)
/*override*/
;
63
64
// vIndex: 1
65
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
66
67
// vIndex: 2
68
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
69
70
// vIndex: 0
71
virtual
~SculkShriekerBlockActor
()
/*override*/
=
default
;
72
// NOLINTEND
73
74
public
:
75
// member functions
76
// NOLINTBEGIN
77
MCNAPI
explicit
SculkShriekerBlockActor
(
::BlockPos
const
& pos);
78
79
MCNAPI
void
tryRespond
(
::BlockSource
& region,
::BlockPos
const
& pos);
80
81
MCNAPI
bool
tryShriek
(
::BlockSource
& region,
::BlockPos
pos,
::Player
& provokingPlayer);
82
// NOLINTEND
83
84
public
:
85
// static functions
86
// NOLINTBEGIN
87
MCNAPI
static
bool
_canRespond
(
::BlockSource
const
& region,
::BlockPos
const
& pos);
88
89
MCNAPI static ::Player*
tryGetPlayerInHierarchy
(
::Actor
* actor);
90
// NOLINTEND
91
92
public
:
93
// constructor thunks
94
// NOLINTBEGIN
95
MCNAPI
void
*
$ctor
(
::BlockPos
const
& pos);
96
// NOLINTEND
97
98
public
:
99
// virtual function thunks
100
// NOLINTBEGIN
101
MCNAPI
void
$tick
(
::BlockSource
& region);
102
103
MCNAPI
void
$onRemoved
(
::BlockSource
& region);
104
105
MCNAPI
void
$load
(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
106
107
MCNAPI
bool
$save
(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
108
// NOLINTEND
109
110
public
:
111
// vftables
112
// NOLINTBEGIN
113
MCNAPI
static
void
**
$vftable
();
114
// NOLINTEND
115
};
Actor
Definition
Actor.h:103
BlockActor
Definition
BlockActor.h:32
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:205
Player
Definition
Player.h:119
SaveContext
Definition
SaveContext.h:5
SculkShriekerBlockActor
Definition
SculkShriekerBlockActor.h:21
SculkShriekerBlockActor::tryShriek
MCAPI bool tryShriek(::BlockSource ®ion, ::BlockPos pos, ::Player &provokingPlayer)
SculkShriekerBlockActor::SculkShriekerBlockActor
MCAPI SculkShriekerBlockActor(::BlockPos const &pos)
SculkShriekerBlockActor::$ctor
MCAPI void * $ctor(::BlockPos const &pos)
SculkShriekerBlockActor::$onRemoved
MCAPI void $onRemoved(::BlockSource ®ion)
SculkShriekerBlockActor::tryGetPlayerInHierarchy
static MCAPI ::Player * tryGetPlayerInHierarchy(::Actor *actor)
SculkShriekerBlockActor::$load
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
SculkShriekerBlockActor::_canRespond
static MCAPI bool _canRespond(::BlockSource const ®ion, ::BlockPos const &pos)
SculkShriekerBlockActor::$vftable
static MCAPI void ** $vftable()
SculkShriekerBlockActor::tryRespond
MCAPI void tryRespond(::BlockSource ®ion, ::BlockPos const &pos)
SculkShriekerBlockActor::$tick
MCAPI void $tick(::BlockSource ®ion)
SculkShriekerBlockActor::$save
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
SculkShriekerBlockActor::QueuedResponse
Definition
SculkShriekerBlockActor.h:29
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
block
actor
SculkShriekerBlockActor.h
Generated on Fri Jun 13 2025 05:05:13 for LeviLamina by
1.12.0