LeviLamina
Loading...
Searching...
No Matches
BlockQueuedTickingComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/DefinitionTrigger.h"
7#include "mc/world/level/block/components/IBlockComponent.h"
8
9// auto generated forward declare list
10// clang-format off
11class Random;
12namespace BlockEvents { class BlockQueuedTickEvent; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, bool> mLooping;
20 ::ll::TypedStorage<4, 4, uint> mDelayIntervalMinTicks;
21 ::ll::TypedStorage<4, 4, uint> mDelayIntervalMaxTicks;
22 ::ll::TypedStorage<8, 56, ::DefinitionTrigger> mOnTimeDown;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~BlockQueuedTickingComponent() = default;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI int getRandomTickDelay(::Random& random) const;
35
36 MCAPI void onEvent(::BlockEvents::BlockQueuedTickEvent const& eventData) const;
37 // NOLINTEND
38
39public:
40 // vftables
41 // NOLINTBEGIN
42 MCNAPI static void** $vftable();
43 // NOLINTEND
44};
Definition BlockQueuedTickEvent.h:18
Definition Random.h:10
Definition BlockQueuedTickingComponent.h:15
static MCAPI void ** $vftable()
Definition IBlockComponent.h:5